You are not logged in.
I'm attempting to recompile JPilot against the latest GTK2 pacman just installed, and I get this error during configure:
checking for GTK+ - version >= 2.0.3... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: *** GTK >= 2.0.3 not found ***
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed. Aborting...
I'm not sure I understand why it can't find the proper version of GTK. Here's what I have installed:
[root@tux jpilot]# pacman -Q gtk gtk2
gtk 1.2.10-4
gtk2 2.6.3-1
Offline
you need to setup your PKG_CONFIG_PATH so that it can see the gtk2*.pc files
Offline
Thanks. That did the job. I guess those files moved with the last update of gtk2.
Offline
Me again. I added
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
to /etc/profile
But I have a suspicion that PKG_CONFIG_PATH is supposed to be set somewhere else. No?
Offline
Me again. I added
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
to /etc/profile
But I have a suspicion that PKG_CONFIG_PATH is supposed to be set somewhere else. No?
it doesn't make much of a difference, but make sure you do
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig
so to pick up the variable if set anywhere else
Offline
Ah, okay. I did look around in various places and couldn't find where all the pkgconfig settings came from. I did a set command and saw a bunch of them. I looked in root's bashrc and bash_profile, but couldn't find them. Do you know where they're set in Arch?
Offline
Ah, okay. I did look around in various places and couldn't find where all the pkgconfig settings came from. I did a set command and saw a bunch of them. I looked in root's bashrc and bash_profile, but couldn't find them. Do you know where they're set in Arch?
check the scripts in /etc/profile.d/
some packages have their own PKG_CONFIG_PATH - KDE and Gnome do IIRC
Offline