./pyconfig.h?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Magnus Lie Hetland

    #1

    ./pyconfig.h?

    It seems that in my Solaris installation,
    sysconfig.get_c onfig_h_filenam e() 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]
  • Martin v. Löwis

    #2
    Re: ./pyconfig.h?

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

    It should, and it does indeed on my copy of Python on Solaris.
    [color=blue]
    > 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?[/color]

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

    Regards,
    Martin

    Comment

    Working...