You are not logged in.
Pages: 1
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
The kdemod package that gives qt is called qt-enhanced. If you have that than I'm not sure what the problem is.
Offline
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
Offline
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
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
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
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
thanks pressh. i ended up installing kpowersave-svn which is working quite well.
Offline
Pages: 1