julien (Donnerstag, 5. März 2009, 07:49): > python -c "import sys; print sys.path" > ['', '/usr/lib/python25.zip', '/usr/lib/python2.5', > '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', > '/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages', > '/usr/lib/python2.5/site-packages/Numeric', > '/usr/lib/python2.5/site-packages/PIL', > '/usr/lib/python2.5/site-packages/gtk-2.0', > '/usr/local/lib/python2.5/site-packages'] > > lib instead of lib64... Weird, python and dblatex assume different lib directories... Just curious: which distribution is this? What's your processor? Where did you get the dblatex package from? > What can I do now? The simple solution is to create a link from one of the directories to the dbtexmf directory, e.g. /usr/local/lib/python2.5/site-packages/dbtexmf -> /usr/lib64/python2.5/site-packages/dbtexmf But IMHO it's better to set and export the appropriate environment variable to tell python where to search for modules: bash$ export PYTHONPATH=/usr/lib64/python2.5/site-packages (assuming that PYTHONPATH is empy), verify it: bash$ python -c "import sys; print sys.path" Then make sure that this variable is always set when you login, e.g. by adding to ~/.bash_profile, ~/.bash_login, or ~/.profile (assuming your login shell is bash): if [ -d /usr/lib64/python2.5/site-packages ]; then if [ -z "$PYTHONPATH" ]; then PYTHONPATH=/usr/lib64/python2.5/site-packages else PYTHONPATH="$PYTHONPATH:/usr/lib64/python2.5/site-packages" fi export PYTHONPATH fi If (you are using openSUSE and) there's a directory /etc/profile.d you can add a file dblatex.sh containing the above code to /etc/profile.d/ instead. Bye, Ulf
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Gimp-docs mailing list Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs