Confused about error: invalid Python installation: unable to open ..../python2.4/config/Makefile

Looney, James B (N-ULA) james.b.looney at lmco.com
Fri Jul 18 15:33:00 EDT 2008


I built and installed Python 2.4 on 12/12/2007.  Recently, I tried
installing python-ldap-2.3.4.  The error I received was:
error: invalid Python installation: unable to open
/usr/local/openSource/architectureIndependent:/usr/local/openSource/IRIX
6/lib/python2.4/config/Makefile (No such file or directory)

I figured out what I believe to be the origin of this string.  When I
ran configure to build/install Python, I used the following:
./configure --prefix=/usr/local/openSource/architectureIndependent
--exec-prefix=/usr/local/openSource/IRIX6 --enable-shared --without-gcc
--with-cxx=CC

Somewhere along the lines, the prefix and exec-prefix strings were
joined with a ':'.  I just went searching around, and found that
sys.prefix = '', and
sys.exec_prefix="/usr/local/openSource/architectureIndependent:/usr/loca
l/openSource/IRIX6"

In past posts, I've found people referring to needing to install
python-devel, and I have no idea why installing an additional package
would help the installation of other packages.

Does anyone have any thoughts as to why I'm getting the error?  How
about thoughts on why the prefix and exec-prefix strings were joined?

Thanks,
-James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080718/443961a4/attachment.html>


More information about the Python-list mailing list