[PyKDE] make error

tim timgunning at dsl.pipex.com
Sun Mar 14 19:57:04 GMT 2004


hi all

been trying to get this up and running all afternoon and have worked my 
way through all the probs up till now, but am now a little stumped.
Im running (sid) and downloaded the source (PyQt-x11-gpl-3.11) for the 
sip files, built using the "deb-src http://people.debian.org/~rcardenes 
sid main" from another post I spotted, and managed to get through the 
build.py process (done as sudo), then ran make (as user) and all went 
wrong with

"cant find /usr/bin/ld -lpythonize" so reran as sudo and all went ok up 
until it barfed and threw all of this out.

+++++++++++++++++++++++++++++++++++++++++++

timg at shuffla:~/py/PyKDE-3.8.0/python-kde3-3.8$ sudo make
cd pythonize && "/usr/bin/make" -f Makefile
make[1]: Entering directory 
`/home/timg/py/PyKDE-3.8.0/python-kde3-3.8/pythonize'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory 
`/home/timg/py/PyKDE-3.8.0/python-kde3-3.8/pythonize'
cd pythonize/test && "/usr/bin/make" -f Makefile
make[1]: Entering directory 
`/home/timg/py/PyKDE-3.8.0/python-kde3-3.8/pythonize/test'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory 
`/home/timg/py/PyKDE-3.8.0/python-kde3-3.8/pythonize/test'
cd dcop && "/usr/bin/make" -f Makefile
make[1]: Entering directory `/home/timg/py/PyKDE-3.8.0/python-kde3-3.8/dcop'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/timg/py/PyKDE-3.8.0/python-kde3-3.8/dcop'
cd kdecore && "/usr/bin/make" -f Makefile
make[1]: Entering directory 
`/home/timg/py/PyKDE-3.8.0/python-kde3-3.8/kdecore'
g++ -c -pipe -w -O2 -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -fno-exceptions 
-I/usr/share/qt3/mkspecs/default -I. -I../extra/kde313 -I. 
-I/usr/include/python2.3 -I/usr/include/qt3 -I/usr/include/kde 
-I/usr/include/qt3 -o kdecorehuge0.o kdecorehuge0.cpp
/usr/include/kde/kprocctrl.h: In constructor `
   sipKProcessController::sipKProcessController()':
/usr/include/kde/kprocctrl.h:139: error: `
   KProcessController::KProcessController()' is private
sipkdecoreKProcess.cpp:2088: error: within this context
/usr/include/kde/kprocctrl.h:140: error: `
   KProcessController::~KProcessController()' is private
sipkdecoreKProcess.cpp:2088: error: within this context
/usr/include/kde/kprocctrl.h: In destructor `virtual
   sipKProcessController::~sipKProcessController()':
/usr/include/kde/kprocctrl.h:140: error: `
   KProcessController::~KProcessController()' is private
sipkdecoreKProcess.cpp:2093: error: within this context
/usr/include/kde/kprocctrl.h: In function `PyObject*
   sipDo_KProcessController_setupHandlers(PyObject*, PyObject*)':
/usr/include/kde/kprocctrl.h:131: error: `static void
   KProcessController::setupHandlers()' is private
sipkdecoreKProcessController.cpp:339: error: within this context
/usr/include/kde/kprocctrl.h: In function `PyObject*
   sipDo_KProcessController_resetHandlers(PyObject*, PyObject*)':
/usr/include/kde/kprocctrl.h:132: error: `static void
   KProcessController::resetHandlers()' is private
sipkdecoreKProcessController.cpp:362: error: within this context
sipkdecoreKProcessController.cpp: In function `PyObject*
   sipDo_KProcessController_slotDoHousekeeping(PyObject*, PyObject*)':
sipkdecoreKProcessController.cpp:467: error: no matching function for 
call to `
   KProcessController::slotDoHousekeeping(int&)'
/usr/include/kde/kprocctrl.h:120: error: candidates are: void
   KProcessController::slotDoHousekeeping()
/usr/include/kde/kprocctrl.h: In function `void
   sipDealloc_KProcessController(sipThisType*)':
/usr/include/kde/kprocctrl.h:140: error: `virtual
   KProcessController::~KProcessController()' is private
sipkdecoreKProcessController.cpp:511: error: within this context
/usr/include/kde/kprocctrl.h: In function `PyObject*
   sipNew_KProcessController(PyObject*, PyObject*)':
/usr/include/kde/kprocctrl.h:140: error: `virtual
   KProcessController::~KProcessController()' is private
sipkdecoreKProcessController.cpp:564: error: within this context
sipkdecoreKApplication.cpp: In function `PyObject*
   sipDo_KApplication_xioErrhandler(PyObject*, PyObject*)':
sipkdecoreKApplication.cpp:2645: error: no matching function for call to `
   KApplication::xioErrhandler()'
/usr/include/kde/kapplication.h:1140: error: candidates are: int
   KApplication::xioErrhandler(Display*)
make[1]: *** [kdecorehuge0.o] Error 1
make[1]: Leaving directory 
`/home/timg/py/PyKDE-3.8.0/python-kde3-3.8/kdecore'
make: *** [sub-kdecore] Error 2

++++++++++++++++++++++++++++++++++++++++++++++

is this because I ran build.py as sudo rather than just as user ?
I've tried rerunning build.py as user, but it wont run due to 
permissions issues with global.sip.

+++++++++++++
Traceback (most recent call last):
  File "build.py", line 1830, in ?
    main(sys.argv)
  File "build.py", line 1737, in main
    installChecks()
  File "build.py", line 968, in installChecks
    checkKDEDirAndVersion()
  File "build.py", line 661, in checkKDEDirAndVersion
    py23fix ()
  File "build.py", line 665, in py23fix
    shutil.copyfile ("sip/global.sip23", "sip/global.sip")
  File "/usr/lib/python2.3/shutil.py", line 38, in copyfile
    fdst = open(dst, 'wb')
IOError: [Errno 13] Permission denied: 'sip/global.sip'


+++++++++++++

should I just delete everything and start again or am I missing 
something fairly simple ??

any pointers would be very well appreciated

tia

tim




More information about the PyQt mailing list