-   Linux - Software (
-   -   Having trouble building and installing GTK+ Plz Help! (

Gormless 10-10-2004 08:50 PM

Having trouble building and installing GTK+ Plz Help!
I downloaded all the latest tar.gz files for GTK+ : ATK, Pango, GLIB, and GTK+ I also downloaded and installed the pkg-config file that the installation guide said I needed. After installing it, I used emacs to edit the file to put these modifications into place as suggested by the guide:



Then I proceeded to install the files in the order GLIB, Pango, ATK and GTK+ as the guide said to do. I only managed to get as far as GLIB however. This is how I installed GLIB by the way:

tar xvzf glib-2.4.7.tar.gz
cd glib-2.4.7.tar.gz
./configure --prefix=/opt/gtk
su -c 'make install'

Then I tried installing Pango the same way. During the ./configure test, GLIB was not detected: "Could not run GLIB test program, checking why........The test program failed to compile or link"

Do you know why this is happening? I'm really new to linux, so could you please give tell me step-by-step what to do to fix this error? Thanks alot for your time!

andrade 10-10-2004 09:11 PM

I think your problem is a non recognized /opt/gtk folder as a binary and libraries filled folder.
try to do that
edit both to files /root/.bashrc and /home/yourusername/.bashrc
fill them with this

export PATH=\

IMPORTANT: Before do that see if that's the way your distro is organized... the only one that you need is the /opt/gtk/bin

Other thing edit /etc/
and add /opt/gtk/lib
and do ldconfig

Gormless 10-10-2004 09:49 PM

Ok, thx, I'll try it out and report if it works or not.

Gormless 10-10-2004 10:06 PM

I havent fully tested the rest of the changes you told me to make, but apparently the shell doesnt recognize the Idconfig command.

bash: Idconfig: command not found

Any idea why?

andrade 10-10-2004 10:08 PM

it is ldconfig
if you can't do ldconfig try /sbin/./ldconfig
or do ctrl+alt+f1 login as root and retry ldconfig

Gormless 10-10-2004 10:26 PM

Ahhh...thank you very much. I'll try it out.

All times are GMT -5. The time now is 09:27 AM.