Hi,

I'm running a bastardised Libranet 2.8, and decided to get the latest source 
of Qt, Python2.3, sip and PyQT, all with gcc 3.3. A side effect is that a lot 
of libraries, headers, binaries etc of previous versions are lying around on 
my system, so they could be picked up by mistakes in the build system. Qt and 
Python build perfectly, sip surprises me during "make":

...
test -d /usr/local/bin/ || mkdir -p /usr/local/bin/
g++  -o /usr/local/bin/sip main.o transform.o gencode.o heap.o parser.o lexer.
/usr/bin/ld: cannot open output file /usr/local/bin/sip: Permission denied
collect2: ld returned 1 exit status
make[1]: *** [/usr/local/bin/sip] Error 1

I thought a "make install" was the only one supposed to need root power, and 
there should be a mention in the README about /usr/local/bin as the default 
destination. So, "make" as root works, but then PyQt breaks very quickly:

[EMAIL PROTECTED]:~/src/PyQt-x11-gpl-3.8$ make
cd qt && /usr/bin/make -f Makefile
make[1]: Entering directory `/sda3/PyQt-x11-gpl-3.8/qt'
g++ -c -pipe -w -O2 -fPIC  -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -DQT_SHARED 
-I/usr/local/qt/mkspecs/default -I. -I. -I/usr/include/python2.3 
-I/usr/local/qt/include -o qtcmodule.o qtcmodule.cpp
In file included from qtcmodule.cpp:159:
sipqtQMutex.h:38: error: syntax error before `*' token
In file included from qtcmodule.cpp:160:
sipqtQMutexLocker.h:39: error: syntax error before `*' token
In file included from qtcmodule.cpp:192:
sipqtQSemaphore.h:38: error: syntax error before `*' token
In file included from qtcmodule.cpp:232:
sipqtQThread.h:43: error: syntax error before `{' token
sipqtQThread.h:47: error: destructors must be member functions
sipqtQThread.h:60: error: syntax error before `private'
sipqtQThread.h:62: error: syntax error before `&' token
sipqtQThread.h:65: error: syntax error before `}' token
sipqtQThread.h:67: error: syntax error before `*' token
In file included from qtcmodule.cpp:253:
sipqtQWaitCondition.h:39: error: syntax error before `*' token
make[1]: *** [qtcmodule.o] Error 1
make[1]: Leaving directory `/sda3/PyQt-x11-gpl-3.8/qt'
make: *** [sub-qt] Error 2

Any ideas? Thanks.

CH





_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to