[xml] install libxml2-python into home directory



Hi,
I'm trying to install the libxml2 python module into my home directory because I don't have permission to write in any of the system directories. I've been able to build the module, but I can't figure out how to alter the install directory.

python setup.py install
...some very normal looking output...
running install_lib
copying build/lib.aix-5.2-2.4/libxml2.py -> /usr/common/usg/python/2.4/lib/python2.4/site-packages
error: /usr/common/usg/python/2.4/lib/python2.4/site-packages/libxml2.py: Permission denied

Is there something in setup.py that is analogous to configure's --prefix?

After this is installed, will I need to set anything like a python equivalent to LD_LIBRARY_PATH?

Thanks for your help and patience.
-Brian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]