./pyconfig.h?

"Martin v. Löwis" martin at v.loewis.de
Tue Apr 12 17:30:54 EDT 2005


Magnus Lie Hetland wrote:
> It seems that in my Solaris installation,
> sysconfig.get_config_h_filename() returns './pyconfig.h', which is, of
> course, in most cases just wrong... :)
> 
> Shouldn't this return an absolute path (in all cases)? 

It should, and it does indeed on my copy of Python on Solaris.

> I've use an
> absolute path in the --prefix of ./configure -- but I guess I was
> standing in that very directory when compiling; maybe there's some
> mix-up there?

Did you "make install" also? Are you sure you are invoking python
in <prefix>/bin?

Regards,
Martin




More information about the Python-list mailing list