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.
I've been trying to install all of the above for the last day or so, and I just can't make anything work.
As you know, Gimp requires GTK, GTK requires Pango, and Pango requires Glib.
So....I compiled+installed Glib 2.4.x, and it says there are no problems.
However, Pango doesn't seem to agree. Every time I try to compile and install it, I get a 'Glib 2.4.0 or higher not installed' error and it quits. There isn't anything explaining what the cause of this is in the README or INSTALL files for Pango, so I'm at a loss...
I'd really just like to install Gimp, but all this chain-of-installments stuff is driving me insane...
You already have older versions of these things installed in /usr. If you just run ./configure without setting --prefix=/somewhere they will install in the default location, /usr/local, so we need to set some variables to make the linker look there.
OK I can help with both. First the Shell is CLI so both runlevel 3 (ctrl + alt +F1) and Konsule, xterm are correct. Konsule/Xterm is your best an eaiest way.
As for apt-get yes it is safe and easy to use. here is a link to the RPM for FC2
It doesn't look like there's a version for SuSE...
Anyway, I think I found the root of the problem...
The pango config is NOT lying. I checked, and nothing of Glib-2.4.x is installed anywhere. So...something is wrong with the Glib config then?
It says that it will install Glib-2.4.x in /usr/local/lib and /usr/local/bin, but there isn't anything that says Glib 2.4 in there after make & make install.
Last edited by TheMusicGuy; 06-05-2004 at 05:40 PM.
I am facing the same problem with Glib. Note that Glib requires pk-config and this in turns requires Glib 1.2 or some such number. Pango also reports that it does not find makefile when we issue the command make or make install.
Get a grip. Pango reports that it does not find makefile when you issue the command make or make install if ./configure fails. You can't ignore error messages or you'll get nowhere. Error messages are there to help you. They're a chance to learn something you need to know.
Originally posted by TheMusicGuy It says that it will install Glib-2.4.x in /usr/local/lib and /usr/local/bin, but there isn't anything that says Glib 2.4 in there after make & make install.
Did you run make install as root? It should install about half a dozen things in /usr/local/lib with libglib-2.0 in their names.
Originally posted by Andrew Benton Did you run make install as root? It should install about half a dozen things in /usr/local/lib with libglib-2.0 in their names.
1.) There's 2 .so files with that description, and a folder called glib-2.0, but there's nothing in it except another empty folder called Include. (And I did check for hidden files)
But why would version 2.4.2 install anything called 2.0?
2.) Yes, I've tried everything as root.
3.) YaST2's online update: already tried it. The only items it offers to install have nothing to do with any of this...
4.) That link has only version 2.2 of glib. Pango/Gimp requires 2.4 or above.
"So....I compiled+installed Glib 2.4.x, and it says there are no problems.
However, Pango doesn't seem to agree. Every time I try to compile and install it, I get a 'Glib 2.4.0 or higher not installed' error and it quits"
I had a issue where I had installed a dependence package the dependencies package installed fine but when I went back to install the original software that required that package it sead it was not there. Here is the posts that solved my issue
>> online update: already tried it. The only items it offers to install have nothing to do with any of this...
YOU (YaST Online Update) only offers to update packages that are already installed.
To install new software you need to run YaST2 and select "Install and Remove Software", and then use the search, package groups or selections filter to find the files you want. You may have to use "Change source of intillation" first, however.
I successfully compiled Gimp 2 with only the library packages that I got from YaST.
I have the same problem building pango. My goal is to compile gimp2, and right now I'm working on getting gtk+-2.4.3 to compile.
I have followed the instructions on the gtk page:
"First make sure that you have the necessary external dependencies installed: pkg-config, GNU make, the JPEG, PNG, and TIFF libraries, FreeType, and, if necessary, libiconv and libintl."
I had to compile pkg-config and freetype but this was no problem.
Next step:
"Then build and install the GTK+ libraries in the order: GLib, Pango, ATK, then GTK+. "
GLib (glib-2.4.2) was no problem, I did ./configure, make, checkinstall + rpm -i on the resulting rpm. I have checked that things were installed in /usr/local/lib just as they were supposed to:
# ls /usr/local/lib/*glib*
/usr/local/lib/libglib-2.0.la *
/usr/local/lib/libglib-2.0.so.0@
/usr/local/lib/libglib-2.0.so.0.400.2*
/usr/local/lib/glib-2.0
So as far as I can see the installation of glib seems ok. Then I did ldconfig (I don't know if this is necessary) and my /etc/ld.so.conf contain "/usr/local/lib" as the first line.
So now I try to compile pango, but get stuck on ./configure:
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GLIB - version >= 2.4.0...
*** 'pkg-config --modversion glib-2.0' returned 2.4.2, but GLIB (2.2.3)
*** was found! If pkg-config was correct, then it is best
...
I have tried what Andrew Benton suggested above:
export PKG_CONFIG_PATH=/usr/local/lib:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L/usr/local/lib"
I even changed $LD_LIBRARY_PATH to contain only "/usr/local/lib", but that didn't help.
# ls /usr/local/lib/pkgconfig/
freetype2.pc glib-2.0.pc gmodule-2.0.pc gobject-2.0.pc gthread-2.0.pc
and to me that doesn't seem like the problem. After all pkg-config reports that I have glib-2.4.2 which is correct.
So the question is why can't the configure for pango find the right glib!?
Does anyone have any ideas about what might be wrong here?
Some general info: Running mandrake 9.2 on pentium III. (No, I'm not interested in upgrading to mdk 10 right now even though it would solve this problem, and there doesn't seem to be any precompiled versions of this stuff for mdk 9.2.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.