[PyKDE] Install Error on Solaris

Glenn Takanishi ABtakagk at pacom.osis.gov
Mon Jan 3 17:21:19 GMT 2000


Hi,

I get an "Arithmetic Exception - core dumped" error message
in the "make install" script when building the PyQt modules
on Solaris 5.6.  We're using KDE 1.1 and Qt 1.42.

I've tried to install PyQt on Solaris the same as on Red Hat
Linux 6.0.  Generally, Solaris and Linux installs using
gcc are very similar.  The install succeeds on Linux.

I get the following error when importing the qt module.

us10-46:/opt/pyapps/pyQt> python
Python 1.5.2 (#1, Dec 30 1999, 07:56:29)  [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import qt
Arithmetic Exception(coredump)
us10-46:/opt/pyapps/pyQt>

us10-46:/opt/pyapps/pyQt> echo $PYTHONPATH
/usr/local/lib/python1.5://usr/local/lib/python1.5/dyn-load
us10-46:/opt/pyapps/pyQt> echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/kde/lib:/usr/local/qt/lib:/usr/dt/lib:/usr/openwin/lib:/opt/SUNWspro/lib:/usr/local/lib:/usr/local/kde/lib

us10-46:/opt/pyapps/pyQt>

I configured both sip and PyQt with the
--with-qt-includes=/usr/local/qt/include
and --with-qt-libraries=/usr/local/qt/lib options.

However, I don't know if the unresolved modules return in the ldd
command
below matters.

us10-46:/opt/pyapps/pyQt> ldd -r /usr/local/lib/libsip.so.1
        libqt.so.1 =>    /usr/local/qt/lib/libqt.so.1
        libSM.so.6 =>    /usr/lib/libSM.so.6
        libICE.so.6 =>   /usr/lib/libICE.so.6
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libm.so.1 =>     /usr/lib/libm.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        symbol not found: PyExc_RuntimeError
(/usr/local/lib/libsip.so.1)
        symbol not found: PyInstance_Type
(/usr/local/lib/libsip.so.1)
        symbol not found: PyExc_NameError
(/usr/local/lib/libsip.so.1)
        ...
        (There's more symbols not found)

Any suggestions or hints as to what might be wrong will be sincerely
appreciated.  The PyQt program is remarkable ... gives python the best
gui.

Regards,
Glenn







More information about the PyQt mailing list