[PyKDE] Re: pyKDE error

Jim Bublitz jbublitz at nwinternet.com
Tue Nov 4 17:55:00 GMT 2003


On Tuesday November 4 2003 03:27, Hannes Hauswedell wrote:
> libdcopcmodule.so.1.0.0 libdcopcmodule.so
> ln: creating symbolic link `libdcopcmodule.so' to
> `libdcopcmodule.so.1.0.0': Operation not permitted
> make[1]: [../libs/libdcopcmodule.so.1.0.0] Error 1 (ignored)
> ln -s libdcopcmodule.so.1.0.0 libdcopcmodule.so.1
> ln: creating symbolic link `libdcopcmodule.so.1' to
> `libdcopcmodule.so.1.0.0': Operation not permitted
> make[1]: [../libs/libdcopcmodule.so.1.0.0] Error 1 (ignored)
> ln -s libdcopcmodule.so.1.0.0 libdcopcmodule.so.1.0
> ln: creating symbolic link `libdcopcmodule.so.1.0' to
> `libdcopcmodule.so.1.0.0': Operation not permitted
> make[1]: [../libs/libdcopcmodule.so.1.0.0] Error 1 (ignored)

Looks like you don't have write permission to ./libs, as the 
links are failing. That seems likely to be the cause of the 
earlier error as well - PyKDE.pro probably gets included in the 
tarball from my test builds (it's always the same anyway), but 
qmake couldn't create Makefile as it wasn't running with the 
necessary permissions. 

When kdecore links, it needs to find libdcop in the .libs 
directory, and it's looking for one of the ln'd names, which 
didn't get created (as indicated above).

With this version of PyKDE, you should be able to run build.py 
and make as a user and only need to be root to run 'make 
install'.

Check the permissions on libs/ and be sure the user running make 
can write there.

Debian doesn't go back and change permissions on directories 
periodically, does it? Mandrake does that on /usr/local, for 
security I assume.

Jim


> rm -f ../libs/libdcopcmodule.so.1.0.0
> rm -f ../libs/libdcopcmodule.so
> rm -f ../libs/libdcopcmodule.so.1
> rm -f ../libs/libdcopcmodule.so.1.0
> mv -f libdcopcmodule.so.1.0.0 libdcopcmodule.so
> libdcopcmodule.so.1 libdcopcmodule.so.1.0 ../libs/
> mv: cannot stat `libdcopcmodule.so': No such file or directory
> mv: cannot stat `libdcopcmodule.so.1': No such file or
> directory mv: cannot stat `libdcopcmodule.so.1.0': No such
> file or directory make[1]: [../libs/libdcopcmodule.so.1.0.0]
> Error 1 (ignored) make[1]: Leaving directory
> `/mnt/hdb2_setup/Linux_Packages/PyKDE-3.7-4/dcop' cd kdecore
> && make -f Makefile
> make[1]: Entering directory
> `/mnt/hdb2_setup/Linux_Packages/PyKDE-3.7-4/ kdecore'
> g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0
> -fPIC -w -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC
> -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
> -fno-exceptions -I/usr/lib/qt3/mkspecs/default -I. -I../
> extra/kde313 -I. -I/usr/include/python2.3 -I/opt/kde3/include
> -I/usr/include -I/usr/lib/qt3/include -o kdecorehuge0.o
> kdecorehuge0.cpp /usr/lib/qt3/bin/moc sipkdecoreProxykdecore.h
> -o
> moc_sipkdecoreProxykdecore.cpp
> g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0
> -fPIC -w -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC
> -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
> -fno-exceptions -I/usr/lib/qt3/mkspecs/default -I. -I../
> extra/kde313 -I. -I/usr/include/python2.3 -I/opt/kde3/include
> -I/usr/include -I/usr/lib/qt3/include -o
> moc_sipkdecoreProxykdecore.o moc_sipkdecoreProxykdecore.cpp
> test -d ../libs/ || mkdir -p ../libs/
> rm -f libkdecorecmodule.so.1.0.0 libkdecorecmodule.so
> libkdecorecmodule.so.1 libkdecorecmodule.so.1.0
> g++ -shared -Wl,-soname,libkdecorecmodule.so.1 -o
> libkdecorecmodule.so.1.0.0 kdecorehuge0.o
> moc_sipkdecoreProxykdecore.o  -L/usr/lib/ -L/usr/lib/qt3/lib/
> -L/usr/X11R6/lib/ -L../libs -L
> /usr/lib/python2.3/site-packages -L/opt/kde3/ lib -lsip
> -lqtcmodule -lDCOP -lkdecore -ldcopcmodule -lqt-mt -lXext
> -lX11 -lm -lpthread
> /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-l
>inux/bin/ld: cannot find -ldcopcmodule
> collect2: ld returned 1 exit status
> make[1]: *** [../libs/libkdecorecmodule.so.1.0.0] Error 1
> make[1]: Leaving directory
> `/mnt/hdb2_setup/Linux_Packages/PyKDE-3.7-4/ kdecore'
> make: *** [sub-kdecore] Error 2
> linux:/mnt/hdb2_setup/Linux_Packages/PyKDE-3.7-4 #




More information about the PyQt mailing list