Christopher Taylor schrieb:
> Also,  I've fooled around with passing --libdir=/usr/lib64 to the
> configure script and for whatever reason, the Makefile isn't correctly
> written.  It always ends up copying the lib files to /usr/lib.

Ah, I see. The reason is pretty simple: Makefile.pre.in has

LIBDIR=         $(exec_prefix)/lib

so it seems that LIBDIR isn't configurable.

> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> 
> Just for sanity sakes I undid the changes to lines 83 & 87 of the make
> file, did a "make clean", "make", "make test", "make altinstall",
> "python2.4" followed by some goofing around and everything works fine.
> So I'm guessing my manual edits of the makefile didn't go well.  Any
> idea what else I need to change?

You will have to debug this (can't do right now); see Modules/getpath.c,
and the definition of PYTHONPATH. It seems this isn't really supported.

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to