Click to See Complete Forum and Search --> : WTF! Is linux blind!
mikeparks
05-06-2001, 05:07 AM
I never had this problem before, but I just installed mandrake8.0, and you know how mandrake is, barely comes with any libraries. Anyway, I installed the latest glib and gtk. When I issue "locate glib-config" and also "locate gtk-config" it shows that both are in the the path "/usr/local/bin" So I know I successfully installed it. However, after I downloaded another library that depended on gtk, smpeg, I ran configure. It could not find "gtk-config" and it said that gtk was not installed. I made sure "/usr/local/bin" was in my path. In fact I added it in /etc/profile, and I issued "PATH=$PATH:/usr/local/bin" just to make sure. I never had this problem on other distros, so there must be something I can do. It doesn't stop there, before that, I downloaded and installed libpng, libjpeg, tiff, etc.. But when I tried to install a program, dvd player, that depended on those libraries, the "./configure" showed that it could not find them. What is wrong? I know all those libraries are properly installed for sure, and my $PATH points to them. I don't get it, any suggestions would be much appreciated...
:mad: :confused:
[ 06 May 2001: Message edited by: mikeparks ]
Tyr-7BE
05-06-2001, 05:23 AM
Kind of a crappy suggestion, but a suggestion none the less: Take a look at the config file in a text editor and see how it checks for the problem applications. If it's a way that doesn't work you can always change it :)
Letalis
05-06-2001, 08:43 AM
use
./configure --gtk-path=/usr/local
or something similiar.
To se all available options go for
./configure --help
This happens on occasion; are you certain the configure script is looking for the gtk-config script and not the gtk libs themselves? It could be that due to the fact that you installed new gtk libs, they were placed in '/usr/local/lib' rather than where the script expects to find them, '/usr/lib'. You might try adding the path to the configure script or adding it to /etc/ld.so.conf and re-running 'ldconfig'. Luck.
Screamin' Soulman
05-06-2001, 01:12 PM
WTF! Is linux blind!
You need to install the -dev rpms of the libraries you mentioned in your post. If you are building from source you will need the header files for those dependent libaries to build against. Those files are installed in /usr/include.
And, no, Linux is not blind.
mikeparks
05-06-2001, 01:27 PM
Well, I tried everything all of you guys mentioned and even more of my own. I did everything I could think of, I know there is a way to get it to find 'gtk-config'. I am positive it is looking for gtk-config first. That is what the output of the configure shows. You know what sucks though? During the expert install of Mandrake8.0, I made sure I chose every package for Development, and I still have to search for the libraries that would be installed by default on distros like slackware, and debian. Only reason I have mandrake8.0 is for my notebook, easier to install, and also the 2.4.3 kernel with XFree86 4.0.3. Well, I guess I should go to today's LUG meeting, to see if I can get help there.
BTW, does anyone know if it is rude to ask for help from other people, when it is my first time going to the LUG meeting? Would it be better to just wait until I am a familiar attendant?
Malakin
05-06-2001, 10:47 PM
what vociferous G said is correct.
A few suggestions though, always install rpms from the mandrake cd before going to look for them on the net.
Some configure scripts are confusing, it might say needs gtk-config but in reality it's actually looking for libgtkmm-devel or something weird like that. I know when I was installing aviplay I had the exact same problem you are having.
mikeparks
05-07-2001, 12:35 AM
Originally posted by idealego:
<STRONG>what vociferous G said is correct.
A few suggestions though, always install rpms from the mandrake cd before going to look for them on the net.
Some configure scripts are confusing, it might say needs gtk-config but in reality it's actually looking for libgtkmm-devel or something weird like that. I know when I was installing aviplay I had the exact same problem you are having.</STRONG>
Actually it was looking for gtk-config. I went to the LUG meeting today, got help from this guru, and he had a hard time the first couple of minutes, because my enviroment path was pointing right to it, but then he soon found out that 'gtk-config' was cached, for some reason it was just dangling in the config.cache. I've never heard of anything like that. Anyway he had to create a sym-link. I would have never thought of that.