SIP won't compile on OSX 10.3

D.Hering vel.accel at gmail.com
Tue Nov 6 05:50:59 CET 2007


On Nov 5, 10:41 pm, Benjamin <musiccomposit... at gmail.com> wrote:
> Hi! I'm trying to install SIP on my Mac with the eventual aim of
> installing PyQt. The "python configure.py" stage works fine, but when
> I type make this is what I see:
> cc -c -pipe -Os -w -I. -o main.o main.c
> cc -c -pipe -Os -w -I. -o transform.o transform.c
> cc -c -pipe -Os -w -I. -o gencode.o gencode.c
> cc -c -pipe -Os -w -I. -o export.o export.c
> cc -c -pipe -Os -w -I. -o heap.o heap.c
> cc -c -pipe -Os -w -I. -o parser.o parser.c
> cc -c -pipe -Os -w -I. -o lexer.o lexer.c
> c++ -headerpad_max_install_names -o sip main.o transform.o gencode.o
> export.o heap.o parser.o lexer.o
> cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framework/
> Versions/2.5/include/python2.5 -o siplib.o siplib.c
> cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framework/
> Versions/2.5/include/python2.5 -o qtlib.o qtlib.c
> cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framework/
> Versions/2.5/include/python2.5 -o threads.o threads.c
> cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framework/
> Versions/2.5/include/python2.5 -o objmap.o objmap.c
> c++ -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framework/
> Versions/2.5/include/python2.5 -o bool.o bool.cpp
> c++ -headerpad_max_install_names -bundle -F/Library/Frameworks -
> framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o
> ld: Undefined symbols:
> _fstatvfs referenced from Python expected to be defined in libSystem
> _lchown referenced from Python expected to be defined in libSystem
> _statvfs referenced from Python expected to be defined in libSystem
> make[1]: *** [sip.so] Error 1
> make: *** [all] Error 2
>
> I'm not an expert at linking, but it looks like the Python lib was
> built incorrectly. Or is this a SIP problem? Thanks.

Do a google search for _fstatvfs, _lchown, _statvfs. I don't use mac
but I'd guess your missing a needed library.




More information about the Python-list mailing list