Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I am trying to compile a program called Gwyddion, which uses GTK+, as well as GtkGLExt. I need to compile and install GtkGLExt, but it gives me this error when I run configure:
checking for GTK+ - version >= 2.0.0... 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 not found
Once this happened, I attempted to compile and install GTK+ 2.6.x. I was able to compile GLib and install it. But then I tried to compile Pango, and confgure gave me this error:
checking for GLIB - version >= 2.5.7... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** Glib 2.5.7 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
This is odd, because I just compiled and installed the latest version of GLIB! Is there some environment variables I need to set? How do I deal with old versions that may or may not be installed? I'm a Linux newbie, so this is all very confusing to me. I am using Fedora Core 3, and I have used Yum to update everything. Help!
Did you run ldconfig as root after make install? You probaby should, and make sure the directory where the libs got installed to is included in /etc/ld.so.conf.
What distrobution do you use? Chances are it'll have glib, gtk and pango packages for you already.
I'm using Fedora Core 3. I tried running 'ldconfig', to no avail. Is there some command line options I need? I don't know if the built-in packages for GTK would have worked, because I started screwing with GTK before I tried to compile my program. So I may have messed it up. I wouldn't mind trying to restore those original packages. I thought of doing 'yum remove gtk' or something, and then re-installing it. But that would also uninstall gimp, and everything else depending on it. Ooooof.
Not necesarily, I don't use Fedora but try yum --hlep at a console and see what you get. Surely there will be an option to force remove and leave everything else there. They won't work without GTK obviously but it won't be an issue since you'l just be reinstalling it straight away
Hi there. Ok, so I typed in the wrong thing with yum and totally wiped out gtk as well as all dependencies. Whoops! So I decided to dump Fedora, and installed Mandrake 2005 instead. I then used urpmi to get all the gtk and gtkglext devel packages, and then everything compiled just fine! Go figure. Thanks for your help all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.