Hello,

Not sure what exactly is going on. However, is it possible that you are a regular user on this machine while installation under /prog/ requires administrator's access? If so, can you try a different installation directory instead? For instance,

./configure --prefix=/Users/your_user_name/tmp/apbs-1.3

Let us know how it goes.

Thanks,

Yong


On Wed, Nov 24, 2010 at 6:29 AM, <german.erlenkamp@pharmazie.uni-halle.de> wrote:
Hi,

I want to compile APBS-1.3.

I followed the instructions in the INSTALL-file

       ./configure --prefix=/prog/apbs1.3

This worked fine. After this I wanted to start 'make && make install'
but I receive this errot-message during the 'make install'

TEST FAILED: /prog/apbs-1.3-source//lib64/python2.6/site-packages/ does
NOT support .pth files
error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

       /prog/apbs-1.3-source//lib64/python2.6/site-packages/

and your PYTHONPATH environment variable currently contains:

       '/prog/apbs-1.3-source//lib/python2.6/site-packages'

Here are some of your options for correcting the problem:

       * You can choose a different installation directory, i.e., one
         that is on PYTHONPATH or supports .pth files

       * You can add the installation directory to the PYTHONPATH
         environment variable.  (It must then also be on PYTHONPATH
         whenever you run Python and want to use the package(s) you
         are installing.)

       * You can set up the installation directory to support
         ".pth" files by using one of the approaches described here:

http://packages.python.org/distribute/easy_install.html#custom-installation-locations


I tried to set the python-path properly (as mentioned on the website)
but it still doesn't work.

I'm not a experienced user of python, so if you can assist me with this
it would be great.

Thanks a lot.

German

--
German Erlenkamp
Institut fuer Pharmazeutische Chemie
Martin-Luther-Universitaet Halle
Wolfgang-Langenbeck-Str.4
06120 Halle/ Saale

E-Mail: german.erlenkamp@pharmazie.uni-halle.de
Phone: (49)345 - 55 25 194

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
apbs-users mailing list
apbs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apbs-users