You are not logged in.
I have no ide what happend but today I'm getting this error for all packages for kde3:
checking whether make sets $(MAKE)... yes
checking for kde-config... /opt/kde/bin/kde-config
configure: error: /opt/kde/bin/kde-config --prefix outputed the non existant prefix '' for kdelibs.
This means it has been moved since you installed it.
This won't work. Please recompile kdelibs for the new prefix.
make: *** No targets specified and no makefile found. Stop.
although it is working if done with as root user with argument '--asroot' (but I must add to all PKGBUILD string: '--with-qt-dir=/opt/qt')
what happend ? what did I screw up ?
Last edited by zyghom (2008-11-19 23:09:33)
Zygfryd Homonto
Offline
nobody ?
Zygfryd Homonto
Offline
I'm running into this same exact thing building kmymoney2 (development ver 0.9.3)
Not sure what I'm missing...if I run kde-config --prefix it returns /opt/kde, but the script can't get that...
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
Exactly the same here yesterday when trying to build quanta.
To know or not to know ...
... the questions remain forever.
Offline
Anyone have a clue how to fix it though?
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
And an update solved it....don't know which one though...
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
Nope, no chance.:mad:
Just did a yaourt -Syu. Quanta still refuses to build.
To know or not to know ...
... the questions remain forever.
Offline
I should add that I'm running testing and XFCE...don't have KDE installed (just the libs). Perhaps it's a package in testing...
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
try adding the --with-kde-dir=/opt/kde configure option.
Offline
try adding the --with-kde-dir=/opt/kde configure option.
Doesn't help either.
The script insists on running kde-config --prefix and appears to not properly catch its output.
Is this a known problem? Or should I file a bug?
P.S.: I do not use testing currently.
Last edited by bernarcher (2009-03-03 07:46:52)
To know or not to know ...
... the questions remain forever.
Offline
I have same problem, I'm quite sure it is related to fakeroot package
Zygfryd Homonto
Offline
Yes, it looks like a fakeroot issue as running the configure script manually works. Howeve,r I've found that it builds fine in a chroot so maybe the presence of kdelibs triggers the bug. Try using a chroot or remove kdelibs before building the package. If you use KDE, you might want to do that outside of KDE just to be safe.
Offline
pacman -Rd kdelibs
Nothing different
pacman -Rd kdelibs3
Program kde-config cannot be found...
Ug. All because I'm attached to my old KDE apps, but don't want to install the full KDE.
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
I had the same problem actually , found this thread. Running the same build on Frugalware as root instead of a normal user fixed the problem.
Offline
Please, someone must have found a fix for this? I need Amarok 1 since Amarok 2 sucks so badly. If I can't build Amarok 1, is there a repo that offers WORKING binary packages?
Offline
I've come across this as well. Like mforce said, it should work if makepkg is run as root (don't forget to add the --asroot switch to the makepkg command).
Offline
I've come across this as well. Like mforce said, it should work if makepkg is run as root (don't forget to add the --asroot switch to the makepkg command).
Yeah, that worked for me, but it's an indication that some work needs to be done. One needs to AVOID running this as root, and so I think thats going to be the first challenge for the amarok1 maintainer. The ONLY thing we should use root for is the actual installation, not the compilation.
Offline
What part of the kdelibs is actually broken though? Is it something we as mere users can fix?
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
What part of the kdelibs is actually broken though? Is it something we as mere users can fix?
Wish I knew. Apparently it has something to do with permissions since it builds fine when run as root (Which it should *not* be run as root.).
Offline
The kde-config/fakeroot problem was reported as a bug some months ago (http://bugs.archlinux.org/task/12592). Doesn't bother me none because the only KDE3 application that I compile locally is irkick from kdeutils, so that I can use my remote to control kaffeine. Running makepkg as root for just one little app is worth the risk as far as I am concerned
Offline