By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,592 Members | 1,541 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,592 IT Pros & Developers. It's quick & easy.

./pyconfig.h?

P: n/a
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)? 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?

--
Magnus Lie Hetland Fall seven times, stand up eight
http://hetland.org [Japanese proverb]
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.