[PyKDE] Problems compiling with Qt 2.x

Greg Fortune gfortune at linuxteams.com
Fri Jul 21 22:48:39 BST 2000


Another guy and I have been trying to get the PyQt module to compile 
with Qt 2.x and can't get it to work.  
The configure and make both seem to work fine, but when we do a make 
install, it dies one heck of a horrible death.  Basically, it appears 
to install fine, but when it goes to use the module, it doesn't work 
at all.  Trying the use the module ourselves doesn't work either.  It 
throws the same "til10QDropEvent" error.  We are both using Qt 
2.1.0-5.

Thanks for any help,

Greg Fortune
www.linuxteams.com




[root at theinvisibleman PyQt-0.12]# make install
Making install in qt
make[1]: Entering directory `/usr/src/RPM/SOURCES/PyQt-0.12/qt'
make[2]: Entering directory `/usr/src/RPM/SOURCES/PyQt-0.12/qt'
/bin/sh ../mkinstalldirs /usr/lib/python1.5/lib-dynload
/bin/sh ../libtool  --mode=install /usr/bin/install -c libqtcmodule.la 
/usr/lib/
python1.5/lib-dynload/libqtcmodule.la
/usr/bin/install -c .libs/libqtcmodule-0.12.so 
/usr/lib/python1.5/lib-dynload/li
bqtcmodule-0.12.so
(cd /usr/lib/python1.5/lib-dynload && rm -f libqtcmodule.so && ln -s 
libqtcmodul
e-0.12.so libqtcmodule.so)
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/python1.5/lib-dynload
 
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
 
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../mkinstalldirs /usr/lib/python1.5
 /usr/bin/install -c -m 644 ./qt.py /usr/lib/python1.5/qt.py
make  install-data-hook
make[3]: Entering directory `/usr/src/RPM/SOURCES/PyQt-0.12/qt'
(cd /tmp; PYTHONPATH=/usr/lib/python1.5:/usr/lib/python1.5/lib-dynload 
python -c "import qt")
Traceback (innermost last):
  File "<string>", line 1, in ?
  File "/usr/lib/python1.5/qt.py", line 16, in ?
    import libqtc
ImportError: /usr/lib/python1.5/lib-dynload/libqtcmodule.so: undefined 
symbol: __ti10QDropEvent
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/usr/src/RPM/SOURCES/PyQt-0.12/qt'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/usr/src/RPM/SOURCES/PyQt-0.12/qt'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/src/RPM/SOURCES/PyQt-0.12/qt'
make: *** [install-recursive] Error 1
[root at theinvisibleman PyQt-0.12]#       












More information about the PyQt mailing list