[PyKDE] InstallProblems on FreeBSD 4.2
Robert Roy
rjroy at takingcontrol.com
Sun Dec 10 17:19:18 GMT 2000
Hi,
I have currently trying to get PyQt2.2 running on my FreeBSD box. Everything seems to compile fine but in make install I get the following error:
<snip>
----------------------------------------------------------------------
/bin/sh ../mkinstalldirs /usr/local/lib/python2.0/site-packages
/usr/bin/install -c -m 644 ./qt.py /usr/local/lib/python2.0/site-packages/qt.py
make install-data-hook
(cd /tmp; PYTHONPATH=/usr/local/lib/python2.0/site-packages:/usr/local/lib/python2.0/site-packages python -c "import qt")
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/local/lib/python2.0/site-packages/qt.py", line 43, in ?
import libqtc
ImportError: /usr/local/lib/python2.0/site-packages/libqtcmodule.so: Undefined symbol "__ti10QWorkspace"
*** Error code 1
Stop in /opt/build/sources/PyQt-2.2/qt.
<snip>
My system configuration is as follows:
FreeBSD 4.2
KDE 1.4? desktop
Python 2.0 installed in /usr/local/...
build directory structure is:
/opt/build/sources/
qt-2.2.2
sip-2.2
pyqt-2.2
QTDIR = /opt/build/sources/qt
Everything was built consecutively from the same environment.
qt built properly and runs examples properly
qt is built as a shared library (perhaps should be static lib?)
qt resides in QTDIR
sip configured properly (makefile points to QTDIR)
sip is installed in /usr/local/lib
PyQt seemed to configure and make properly
(makefile points to
SIP_CPPFLAGS = -I/usr/local/include/python2.0 -I/usr/local/include/sip -I/opt/build/sources/qt-2.2.2/include -I/usr/X11R6/include
SIP_LDLIBDIRS = -L/usr/local/lib -L/opt/build/sources/qt-2.2.2/lib
)
I have searched the archives but haven't found a solution to this. Anyone have any ideas?
Bob Roy
More information about the PyQt
mailing list