Registered Member
|
Last edited by dwidmann on Thu Nov 27, 2008 6:49 am, edited 1 time in total.
dwidmann, proud to be a member of KDE forums since 2008-Nov.
|
Administrator
|
I do not know what you're problem is, however I would recommend you "svn up" to the latest trunk. I just compiled trunk, and only PIM is broken for me. Base is fine. Looks like a typo in the CMakeLists.txt file somewhere.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Decided to try that. Not having a whole lot of luck though. For me kdebase fails to build with this:
:'(
Last edited by dwidmann on Thu Nov 27, 2008 7:08 pm, edited 1 time in total.
dwidmann, proud to be a member of KDE forums since 2008-Nov.
|
Administrator
|
Have you built + installed kdesupport? That is where strigi lives, and by the looks of it it can't be found. If you have done that then try rerunning CMake to update the build system.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yeah, after a bit of googling and a little luck I came to the same conclusion. My system-wide strigi was apparently missing that ... so I downloaded kdesupport, built, and installed it. Then I got to have the fun time of forcing it to look at that version instead of the old one when I went to build : Oh well. Things seem to be going okay now, if a bit slow. Building with make -j1 sucks. Shame my usual make -j -l 3.8 eats babies when trying to compile kdebase...[hr]
Hmm, this is a weird one: CMake Error at workspace/plasma/scriptengines/python/cmake_install.cmake:68 (FILE): file INSTALL cannot copy file "/home/blackwaltz/linux/soft/src/kde-trunk/kdebase/workspace/plasma/scriptengines/python/plasmascript.py" to "/usr/lib/python2.5/site-packages/PyKDE4/plasmascript.py". Call Stack (most recent call first): workspace/plasma/scriptengines/cmake_install.cmake:40 (INCLUDE) workspace/plasma/cmake_install.cmake:43 (INCLUDE) workspace/cmake_install.cmake:62 (INCLUDE) cmake_install.cmake:39 (INCLUDE) Why on earth is it trying to put a file in /usr/lib when I specified an install prefix of ~/linux/soft/kde4 ....
Last edited by dwidmann on Thu Nov 27, 2008 9:50 pm, edited 1 time in total.
dwidmann, proud to be a member of KDE forums since 2008-Nov.
|
Administrator
|
Because it's a Python file, and I guess it's putting it into the standard Python package directory, because that's how the Python interpreter tries to load modules (local dir, then package dirs).
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Administrator
|
Yes, I had that problem. It puzzled me until I found out that you can't set a variable to tell python where to search for python packages ( which is stupid ). Since 4.1 didn't create the files, I used root to touch them, then chowned them to my trunk user. After that I was able to use kdesvn-build without problems.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi everybody.
I have same error: -- Installing: /usr/lib/python2.5/site-packages/PyKDE4/plasmascript.py CMake Error at workspace/plasma/scriptengines/python/cmake_install.cmake:68 (FILE): file INSTALL cannot copy file "/home/kde-devel/kdesvn/kdebase/workspace/plasma/scriptengines/python/plasmascript.py" to "/usr/lib/python2.5/site-packages/PyKDE4/plasmascript.py". Call Stack (most recent call first): workspace/plasma/scriptengines/cmake_install.cmake:40 (INCLUDE) workspace/plasma/cmake_install.cmake:42 (INCLUDE) workspace/cmake_install.cmake:76 (INCLUDE) cmake_install.cmake:39 (INCLUDE) Where is solution? Thanx for advice. |
Administrator
|
Other than disabling Python bindings ( don't know how ) you will need to, for each /usr/lib/python2.5 file it cannot install execute these commands:
replacing $FILE with the problematic file ( /usr/lib/python2.5/site-packages/PyKDE4/plasmascript.py in this case ) It will first create the needed file if it does not exist, then transfer the ownership to your current user, in a system ( not /home ) area, so make sure to remove them when you are remove the beta from your system ( upgrading via self compilation not included )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks for your efforts, but this is a bad workaround and breaks the idea of having a system wide (stable) and user specific (testing) installation, and is IMHO almost calling for hard to track down troubles. This is a bug in the build system and should be fixed in a appropriate way.
Is there already a bug report for that issue?
Last edited by furanku on Mon Feb 02, 2009 7:28 pm, edited 1 time in total.
|
Administrator
|
This would have to be filed with the Python developers. The KDE developers have been forced to do it this way because of them.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I'm not an expert in python. But as far as I can see python *is* configurable via environment vars where to look for packages: See here for explanations of PYTHONHOME and PYTHONPATH.
|
Administrator
|
In this case, you may wish to contact the KDE Developers, with this information, and ask them to correct the CMake build system.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
|
KDE Developer
|
Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]