gtk-2.0 problems with suse8.1
Hi, How do I get GTK-2.0 packages to compile with suse 8.1. It really annoys me that suse never gets it setup right. I have the gtk and gtk2 packages installed, but packages that require gtk-2.0 give an error: #######################################################################3 checking for gtk+-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found configure: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. ######################################################################### So I set the PKG_CONFIG_PATH env variable to /usr/lib/gtk-2.0 and the error still appears. Under suse7.2 I had to resort to compiling and reinstalling all the gtk stuff myself, just to get it configured properly. What does suse do to keep mucking upi the gtk configuration? -- use Perl; #powerful programmable prestidigitation
On Mon, 2002-10-28 at 17:47, zentara wrote:
Hi, How do I get GTK-2.0 packages to compile with suse 8.1. It really annoys me that suse never gets it setup right.
I have the gtk and gtk2 packages installed, but packages that require gtk-2.0 give an error: #######################################################################3 checking for gtk+-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. #########################################################################
So I set the PKG_CONFIG_PATH env variable to /usr/lib/gtk-2.0 and the error still appears.
Under suse7.2 I had to resort to compiling and reinstalling all the gtk stuff myself, just to get it configured properly. What does suse do to keep mucking upi the gtk configuration?
Hi, znetara: Have you installed pkgconfig? i.e. what "rpm -qa | grep pkgconfig" shows? Also remember to check the gtk2-devel package. I have just compiled some packages involving gtk2 without problem. Yongtao Yang
On 28 Oct 2002 17:58:58 +0100
Yongtao Yang
On Mon, 2002-10-28 at 17:47, zentara wrote:
Hi, How do I get GTK-2.0 packages to compile with suse 8.1. It really annoys me that suse never gets it setup right.
I have the gtk and gtk2 packages installed, but packages that require gtk-2.0 give an error:
Have you installed pkgconfig? i.e. what "rpm -qa | grep pkgconfig" shows? Also remember to check the gtk2-devel package.
Where is the gtk2-devel rpm , I can't find it. I have it working, now, I built the gtk2 package from scratch, and I also needed to install pkg-config from scratch. There is a gtk-devel which I had installed.
I have just compiled some packages involving gtk2 without problem.
Man this yast2 is becoming a nightmare. I needed to upgrade my curl to the latest version. So I removed the curl rpm and installed the latest curl from source. Now, everytime I install ANY software, yast2 will reinstall it's curl rpm. Which I then need to remove and then reinstall the one I have from source. I uncheck "auto-dependency-checking", but it will still install curl all on it's own, totally messing things up. yast2 has become a nightmare, I think I will be going to Slackware for my next upgrade. I can't understand why I have to leave the curl rpm "installed", and sneak behind Yast2's back to manually replace the curl libraries with my own. Talk about a time-wasting un-professional tool. It just isn't saving time anymore, it's consuming time. -- use Perl; #powerful programmable prestidigitation
On 10/29/2002 04:27 AM, zentara wrote:
Man this yast2 is becoming a nightmare. I needed to upgrade my curl to the latest version. So I removed the curl rpm and installed the latest curl from source. Now, everytime I install ANY software, yast2 will reinstall it's curl rpm. Which I then need to remove and then reinstall the one I have from source. I uncheck "auto-dependency-checking", but it will still install curl all on it's own, totally messing things up. yast2 has become a nightmare, I think I will be going to Slackware for my next upgrade.
I can't understand why I have to leave the curl rpm "installed", and sneak behind Yast2's back to manually replace the curl libraries with my own. Talk about a time-wasting un-professional tool. It just isn't saving time anymore, it's consuming time.
I suspect Yast is checking the rpm database, not your files, to see if curl is installed. Though it is possible (at least with 8.0, I would assume in 8.1 as well) to unselect the auto install of a package your system needs due to dependencies, I would suggest installing the source via checkinstall, which will build an rpm package, install the program, and register it in the rpm database, therefore satisfying dependencies and Yast. I am GLAD Yast checks the rpm database and wouldn't want to change it. HTH. -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace God, I am what I am.
On Mon, 2002-10-28 at 12:27, zentara wrote:
On 28 Oct 2002 17:58:58 +0100 Yongtao Yang
wrote: On Mon, 2002-10-28 at 17:47, zentara wrote:
Hi, How do I get GTK-2.0 packages to compile with suse 8.1. It really annoys me that suse never gets it setup right.
I have the gtk and gtk2 packages installed, but packages that require gtk-2.0 give an error:
Have you installed pkgconfig? i.e. what "rpm -qa | grep pkgconfig" shows? Also remember to check the gtk2-devel package.
Where is the gtk2-devel rpm , I can't find it. I have it working, now, I built the gtk2 package from scratch, and I also needed to install pkg-config from scratch. There is a gtk-devel which I had installed.
It should be in the same place where you install gtk2, for example: ftp://fr2.rpmfind.net/linux/SuSE-Linux/suse/i386/8.1/suse/i586/gtk2-devel-2.0.6-71.i586.rpm and ftp://fr2.rpmfind.net/linux/SuSE-Linux/suse/i386/8.1/suse/i586/pkgconfig-0.12.0-97.i586.rpm
Man this yast2 is becoming a nightmare. I needed to upgrade my curl to the latest version. So I removed the curl rpm and installed the latest curl from source. Now, everytime I install ANY software, yast2 will reinstall it's curl rpm. Which I then need to remove and then reinstall the one I have from source. I uncheck "auto-dependency-checking", but it will still install curl all on it's own, totally messing things up. yast2 has become a nightmare, I think I will be going to Slackware for my next upgrade.
Why not try apt-get, I am quite happy with it. Yongtao Yang
On 28 Oct 2002 22:00:47 -0800
Yongtao Yang
Where is the gtk2-devel rpm , I can't find it. I have it working, now, I built the gtk2 package from scratch, and I also needed to install pkg-config from scratch. There is a gtk-devel which I had installed.
It should be in the same place where you install gtk2, for example:
ftp://fr2.rpmfind.net/linux/SuSE-Linux/suse/i386/8.1/suse/i586/gtk2-devel-2.0.6-71.i586.rpm and ftp://fr2.rpmfind.net/linux/SuSE-Linux/suse/i386/8.1/suse/i586/pkgconfig-0.12.0-97.i586.rpm
Nope. It's not on the 8.1 professional cd set. I searched the archive for that file gtk2-devel-2.0.6-71.i586.rpm and it isn't there. There isn't anything with "gtk2-devel" in the cdset. But thanks for the link above. :-) -- use Perl; #powerful programmable prestidigitation
zentara
Nope. It's not on the 8.1 professional cd set. I searched the archive for that file gtk2-devel-2.0.6-71.i586.rpm and it isn't there. There isn't anything with "gtk2-devel" in the cdset.
Also YOU does not install it when updating the rest of the gtk2 packages. gtk2-devel is marked with a 'square' and cannot be selected for installing/updating.
Graham Murray
Also YOU does not install it when updating the rest of the gtk2 packages. gtk2-devel is marked with a 'square' and cannot be selected for installing/updating.
If you encounter such things, *PLEASE* report it via http://www.suse.de/feedback. We can't fix what we don't know about. Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
participants (5)
-
Graham Murray
-
Joe & Sesil Morris (NTM)
-
Philipp Thomas
-
Yongtao Yang
-
zentara