You are not logged in.

#1 2007-08-16 00:44:28

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Can't install kpowersave

I'm trying to install kpowersave from the AUR (with yaourt) but i get this error and I can't understand what package i'm missing:

checking for Qt... configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
no file Makefile present
==> ERROR: Build Failed.  Aborting...

i'm using kdemod.

Thanks

Offline

#2 2007-08-16 02:07:19

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Can't install kpowersave

The kdemod package that gives qt is called qt-enhanced. If you have that than I'm not sure what the problem is.

Offline

#3 2007-08-16 02:19:19

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: Can't install kpowersave

i edited the PKGCONFIG file and replace the .configure line with

./configure --prefix=/opt/kde/ --with-qt-dir=/opt/qt

good thing i know spanish because i found this in the spanish arch forums tongue

Offline

#4 2007-08-16 02:20:28

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Can't install kpowersave

Do you have QT4 installed? If so, you may need to switch the profile back to QT3 for compilation. As root:

qt-config qt3

Then as your regular user:

source /etc/profile

Oops. Maybe I'm a bit late here...

Last edited by skottish (2007-08-16 02:21:28)

Offline

#5 2007-11-10 01:21:25

bwayne
Member
Registered: 2007-11-07
Posts: 20

Re: Can't install kpowersave

Hi.  I'm trying to install kpowersave (using KDEmod) too.

I'm getting this:

[bwayne@earth kpowersave]$ makepkg
...
...
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (dbus-1 >= 0.33, hal >= 0.5.4, powersave >= 0.12.18, powersave-dbus >= 0.12.18, powersave-hal >= 0.12.18) were not met:

No package 'powersave' found
No package 'powersave-dbus' found
No package 'powersave-hal' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

But if I try to install powersave, pacman informs me that pm-utils (replacement for powersave?) is already up to date. 

What's a brother to do?

Last edited by bwayne (2007-11-10 01:22:09)

Offline

#6 2007-11-10 01:34:33

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: Can't install kpowersave

raul_nds:
This happens because you build the packages with sudo, which does not keep some shell variables.

Solution: Add the following lines at the beginning of the build() section:

[ "$QTDIR" = "" ] && source /etc/profile.d/qt.sh 
[ "$KDEDIR" = "" ] && source /etc/profile.d/kde.sh

Additional infos here


want a modular and tweaked KDE for arch? try kdemod

Offline

#7 2007-11-10 21:32:46

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Can't install kpowersave

bwayne wrote:

What's a brother to do?

install kpowersave-devel (current version is 0.7.3, also in AUR). It doesn't require powersave anymore (it does does things by itself). Anyway, it's rock stable so you can safely use it.

Offline

#8 2007-11-10 23:29:36

bwayne
Member
Registered: 2007-11-07
Posts: 20

Re: Can't install kpowersave

thanks pressh.  i ended up installing kpowersave-svn which is working quite well.

Offline

Board footer

Powered by FluxBB