Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

python and QT



Very good point Scott. I should upgrade, not to the latest, but to the version
that my company is deploying with their systems. That being said, i uninstalled
the stock python rpms, and compiled python 2.1 from source, then recompiled
libsip, and PyQT, and then PyKDE. Everything went fine. So i guess the key was
to upgrade.

Thanks!
--brad

On Tue, May 21, 2002 at 04:53:01PM -0400, Scott Lanning wrote:
> On Mon, 20 May 2002, Brad Noyes wrote:
> >Hi All,
> >I need to learn python for my job, and i decided to learn it using
> >the pythong bindings for QT/KDE. I downloaded amd compiled PyQT, but
> >the make install fails with
> >
> >make[3]: Entering directory `/home/brad/source/PyQt-3.2.4/qt'
> >(cd /tmp;
> >PYTHONPATH=/usr/lib/python1.5/site-packages:/usr/lib/python1.5/site-packages
> >/usr/bin/python -c "import qt")
> >Traceback (innermost last):
> >  File "<string>", line 1, in ?
> >  File "/usr/lib/python1.5/site-packages/qt.py", line 46, in ?
> >    import libsip ImportError:
> >/usr/lib/python1.5/site-packages/libsip.so: undefined symbol:
> >PyObject_DEL make[3]: *** [install-data-hook] Error 1
> >
> >can anyone sugest ways to debug/fix this? I installed libsip from
> >source just before i tried PyQT, it compiled and installed fine, so
> >don't understand why i would get an 'undefined symbol:' error if it
> >compiled fine.
> 
> Where was the new libsip.so installed?
> I guess there might be two versions installed,
> and the version found was already installed for python 1.5
> so is too old and doesn't contain the symbol PyObject_DEL.
> Also, python is up to 2.2.1 now, why not upgrade it?
> 
> -- 
> homepage: http://world.std.com/~slanning/
> very bored, please hire me :)




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org