[PyKDE] SIP-4.0rc1 on Mac OS X with Fink's qt3-3.2.3
dan at tombstonezero.net
Thu Jan 1 14:46:01 GMT 2004
On Tue, 30 Dec 2003 14:39:35 +0000,
Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
> On Tuesday 30 December 2003 2:07 pm, Dan Sommers wrote:
> > qt-mac-free-3.3.0b1,
> > sip-snapshot-20031229.tar.gz, and
> > PyQt-mac-gpl-snapshot-20031226.tar.gz,
> > I'll give it another shot and let you know.
> PyQt doesn't support beta versions of Qt.
Oops <sheepish grin>. I knew I should have checked my email one
more time before starting that five-hour compilation job and
heading out for the day. Good thing my computer has more free
time than I do! ;-)
Skipping ahead, qt-mac-free-3.2.3 now works, and now it's on to
$ cd ~/local
$ tar xfz sip.snapshot.20031229.tar.gz
$ cd sip.snapshot.20031229
$ python configure.py -b ~/local/bin -v ~/local/share/sip
This is SIP snapshot-20031229 for Python 2.3.2 on darwin.
The SIP code generator will be installed in /Users/dan/local/bin.
The SIP module will be installed in /sw/lib/python2.3/site-packages.
The SIP header file will be installed in /sw/include/python2.3.
The default directory to install .sip files in is /Users/dan/local/share/sip.
Qt v3.2.3 free edition is being used.
The Qt header files are in /Users/dan/local/qt/include.
The qt Qt library is in /Users/dan/local/qt/lib.
Qt's default platform/compiler configuration will be used.
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
cc -c -pipe -O2 -w -I. -o main.o main.c
cc -c -pipe -O2 -w -I. -o transform.o transform.c
cc -c -pipe -O2 -w -I. -o gencode.o gencode.c
cc -c -pipe -O2 -w -I. -o heap.o heap.c
cc -c -pipe -O2 -w -I. -o parser.o parser.c
cc -c -pipe -O2 -w -I. -o lexer.o lexer.c
c++ -o sip main.o transform.o gencode.o heap.o parser.o lexer.o
cc -c -pipe -fPIC -O2 -w -DSIP_QT_SUPPORT -DQT_NO_DEBUG -I. -I/sw/include/python2.3 -I/Users/dan/local/qt/include -o siplib.o siplib.c
c++ -c -pipe -fPIC -O2 -w -DSIP_QT_SUPPORT -DQT_NO_DEBUG -I. -I/sw/include/python2.3 -I/Users/dan/local/qt/include -o qtlib.o qtlib.cpp
cc -c -pipe -fPIC -O2 -w -DSIP_QT_SUPPORT -DQT_NO_DEBUG -I. -I/sw/include/python2.3 -I/Users/dan/local/qt/include -o threads.o threads.c
cc -c -pipe -fPIC -O2 -w -DSIP_QT_SUPPORT -DQT_NO_DEBUG -I. -I/sw/include/python2.3 -I/Users/dan/local/qt/include -o objmap.o objmap.c
c++ -bundle -framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o -L/Users/dan/local/qt/lib -lqt
ld: can't locate framework for: -framework Python
make: *** [sip.so] Error 1
make: *** [all] Error 2
I get the same error if I just run "python configure.py" (without
the -b and -v options).
I'm running Mac OS X 10.2.8 with the August 2003 Update to the
development tools. I'm also running fink's python 2.3.2.
<mailto:dan at tombstonezero.net>
An omer is a tenth of an ephah. -- Exodus 16:36.
More information about the PyQt