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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to