[PyKDE] Sip.so location
Mikhael Rovner
mrovner at cadence.com
Tue Apr 18 18:40:06 BST 2006
I think -d is not enough.
For example generated Makefile contains -I/tools/include/python2.4 but
lacks
-I/tools/linux_x86_32/include/python2.4 where python installer places
pyconfig.h
So compilation fails.
Thanks,
Mike
> -----Original Message-----
> From: Phil Thompson [mailto:phil at riverbankcomputing.co.uk]
> Sent: Monday, April 17, 2006 3:28 PM
> To: pykde at mats.imk.fraunhofer.de
> Cc: Mikhael Rovner
> Subject: Re: [PyKDE] Sip.so location
>
> On Monday 17 April 2006 7:48 pm, Mikhael Rovner wrote:
> > Hi,
> >
> > I'm installing sip in multi-platform environment. However
> configure.py
> > seems not to honor exec_prefix for siplib and installing sip.so to
> > [sys.prefix]/.../site-packages. This also leads to wrong .../config
> > dir location and compilation errors in case where sys.prefix and
> > sys.exec_prefix are different.
> >
> > Do I'm doing something wrong?
> >
> > My Python 2.4.2 has sys.prefix=/tools and
> > sys.exec_prefix=/tools/linux_x86_32
> > sip snapshot 20060416
>
> The default location is the site-packages directory which is
> defined in terms of sys.prefix and not sys.exec_prefix.
>
> If you want to put it somewhere else use the -d flag to configure.py.
>
> Phil
>
More information about the PyQt
mailing list