On Mar 17, 2012, at 9:38 PM, Hanspeter Niederstrasser wrote:

> Daniel,
> 
> sip-py24 (need it as a dep for flyway-py) fails to build on 10.5/i386
> 
> c++ -c -pipe -fPIC -Os -w -DNDEBUG -I. -I/sw/include/python2.4 -o bool.o 
> bool.cpp
> c++ -headerpad_max_install_names -bundle  -o sip.so siplib.o apiversions.o 
> descriptors.o qtlib.o threads.o objmap.o voidptr.o bool.o
> Undefined symbols:
>  "_PySequence_GetItem", referenced from:
>      _parsePass1 in siplib.o
>      _parsePass2 in siplib.o
>  "_PyCObject_Type", referenced from:
>      _PyCObject_Type$non_lazy_ptr in voidptr.o
>  "_PyBaseObject_Type", referenced from:
>      _PyBaseObject_Type$non_lazy_ptr in siplib.o
>  "_PyObject_GC_UnTrack", referenced from:
>      _forgetObject in siplib.o
> 
> 
> sip-py25 works, and the equivalent compiler command is
> 
> c++ -headerpad_max_install_names -bundle -L/sw/lib/python2.5/config -ldl 
> -lpython2.5 -o sip.so siplib.o apiversions.o descriptors.o qtlib.o threads.o 
> objmap.o voidptr.o bool.o
> 
> Looks like there's no python2.4-config to provide those flags.
> 
> Hanspeter

Why do you need -py24? Can you use a newer one? I have no system capable of 
building python24 (only 10.5 has it) and so can't really try to come up with a 
fix. At this point, unless someone can come up with a reasonable fix, I'd 
rather just remove sip-py24 since it doesn't build. The -py24 has just been 
carried forward through inertia and this is the first failure I heard of even 
though it must have been broken for a long time. Also, python24 is pretty 
ancient so I'm unwilling to put much effort into supporting it, especially 
since I can't run it myself. :)

Daniel


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to