You are not logged in.

#1 2008-11-19 23:08:58

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

kde3 packages: "non existant prefix '' for kdelibs3"

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

#2 2008-11-20 09:03:21

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: kde3 packages: "non existant prefix '' for kdelibs3"

nobody ?


Zygfryd Homonto

Offline

#3 2009-03-01 02:30:29

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#4 2009-03-01 03:02:15

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: kde3 packages: "non existant prefix '' for kdelibs3"

Exactly the same here yesterday when trying to build quanta.


To know or not to know ...
... the questions remain forever.

Offline

#5 2009-03-01 20:29:52

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#6 2009-03-02 03:22:31

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#7 2009-03-02 10:27:07

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#8 2009-03-02 19:29:56

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#9 2009-03-02 23:44:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: kde3 packages: "non existant prefix '' for kdelibs3"

try adding the --with-kde-dir=/opt/kde  configure option.

Offline

#10 2009-03-03 07:45:39

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: kde3 packages: "non existant prefix '' for kdelibs3"

Snowman wrote:

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

#11 2009-03-03 07:55:30

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: kde3 packages: "non existant prefix '' for kdelibs3"

I have same problem, I'm quite sure it is related to fakeroot package


Zygfryd Homonto

Offline

#12 2009-03-03 22:15:30

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#13 2009-03-17 01:11:07

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#14 2009-04-13 00:56:25

mforce
Member
Registered: 2005-10-21
Posts: 10

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#15 2009-05-18 17:51:16

Yaro
Member
Registered: 2009-04-03
Posts: 154

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#16 2009-05-18 19:12:28

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#17 2009-05-18 19:13:48

Yaro
Member
Registered: 2009-04-03
Posts: 154

Re: kde3 packages: "non existant prefix '' for kdelibs3"

azleifel wrote:

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

#18 2009-05-20 12:38:38

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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

#19 2009-05-20 13:42:42

Yaro
Member
Registered: 2009-04-03
Posts: 154

Re: kde3 packages: "non existant prefix '' for kdelibs3"

QuimaxW wrote:

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

#20 2009-05-20 19:38:49

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: kde3 packages: "non existant prefix '' for kdelibs3"

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 tongue

Offline

Board footer

Powered by FluxBB