[PyKDE] Problems compiling PyKDE

Jim Bublitz jbublitz at nwinternet.com
Sun Aug 10 04:19:01 BST 2003


On Saturday August 9 2003 17:46, Peter Clark wrote:
> On Saturday 09 August 2003 07:41 pm, Jonathan Gardner wrote:
> > g++ -shared -Wl,-soname,libkdecorecmodule.so.1 -o
> > libkdecorecmodule.so.1.0.0 kdecorehuge.o
> > moc_sipkdecoreProxykdecore.o -L/usr/lib/qt-3.1/lib
> > -L/usr/X11R6/lib -L/usr/lib/python2.2/site-packages
> > -L/usr/lib -lsip -lqtcmodule -lDCOP -lkdecore -ldcopcmodule
> > -lqt-mt -lXext -lX11 -lm -lpthread
> > /usr/bin/ld: cannot find -ldcopcmodule
> > collect2: ld returned 1 exit status

> > It can't seem to find the dcopcmodule.

> 	Assuming that you have the C bindings for DCOP, try running
> 'make' as root. I had the same problem when I first tried to
> compile it, but then I read the README, which explains that
> _both_ building and installation need to be done as root.

Sounds right - you need to be root to put libdcopcmodule into 
/site-packages. If you're not, it won't get there and won't be 
found by kdecore when it tries to link.

Jim




More information about the PyQt mailing list