[PyKDE] PyQt installation on irix64
acaceres at midway.uchicago.edu
Sat Mar 31 01:21:56 BST 2001
I've been trying to build PyQt .3 on irix for a few days now without much
success. I hope someone can help me or point me to some binaries.
Qt is 2.3.0, built with platform=irix-n32, it works fine
python is 1.5.2, no problems either
sip builds and installs fine
Now, when I make PyQt, compilation goes on for an hour, until it tries to
link the files in pyuic and I get:
make: Entering directory `/home/caceres/stuff/src/PyQt-2.3/pyuic'
/bin/sh ../libtool --mode=link c++ -O2 -o pyuic -L/home/caceres/stuff/lib -L/opt/pkgs/qt/lib uic.o widgetdatabase.o domtool.o -lqt -lSM -lICE -lX11
c++ -O2 -o pyuic uic.o widgetdatabase.o domtool.o -L/home/caceres/stuff/lib -L/opt/pkgs/qt/lib -lqt -lSM -lICE -lX11
ld32: WARNING 84: /usr/lib32/libSM.so is not used for resolving any symbol.
ld32: WARNING 84: /opt/pkgs/gcc-2.95.2/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/libstdc++.a is not used for resolving any symbol.
ld32: WARNING 85: definition of __rethrow in /opt/pkgs/gcc-2.95.2/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/libgcc.a(_eh.o) preempts that definition in /usr/lib32/libC.so.2.
ld32: WARNING 85: definition of __throw in /opt/pkgs/gcc-2.95.2/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/libgcc.a(_eh.o) preempts that definition in /usr/lib32/libC.so.2.
ld32: WARNING 85: definition of __dynamic_cast in /opt/pkgs/gcc-2.95.2/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/libgcc.a(tinfo2.o) preempts that definition in /usr/lib32/libC.so.2.
ld32: ERROR 33: Unresolved text symbol "QString::QString(char const *)" -- 1st referenced by uic.o.
And a few more pages of unresolved symbol errors...
I don't have problems linking other programs with the qt libs, and the -L
location is ok. ld is sgi's ld, I don't know if that could cause the
Finally, I've tried using the Makefile generated by pyuic.pro, instead of
the one configure makes, and that builds and installs but gives the same
sort of library symbol not found error when I do an 'import qt' in python.
That Makefile uses CC instead of gcc, with arguments like
CC -c -n32 -mips3 -LANG:bool=ON -woff 1021,1209,1233,1314,1355,1375,1506 -fullwarn -O2 -OPT:Olimit=3000 -DUIC -DNO_DEBUG -I. -I/opt/pkgs/qt/src/3rdparty/zlib -I/opt/pkgs/qt/include -o domtool.o domtool.cpp
CC -n32 -o pyuic domtool.o uic.o widgetdatabase.o -L/opt/pkgs/qt/lib -lqt -lXext -lX11 -lm
If anybody could help me with this, I'd really appreciate it, it's
incredibly frustrating having pyqt running on my linux machine and not
being able to use it where I really need it. Thanks in advance,
More information about the PyQt