LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Configuration Problem (https://www.linuxquestions.org/questions/linux-software-2/configuration-problem-56405/)

suriyamohan 04-23-2003 06:01 AM

Configuration Problem
 
Hi,
I tried to install atk-1.2.0 to support DIRECTFB. When i run "./configure" in shell prompt the following error occurs.

checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.0, but GLIB (2.0.6)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.

Since the "glib-2.0" directory is in the path "/usr/local/lib/glib-2.0", I had appended the line "/usr/local/lib" in " /etc/ld.so.conf " file and excuted the ldconfig as " ldconfig -f /etc/ld.so.conf " in shell prompt.But still the above error occurs. I am currently working in Red Hat Linux 8.0, Kernel 2.4.18-14 environment. Help me to solve the above problem.

AnthonyM 04-23-2003 02:42 PM

When you are running ./configure, it is looking for the package in
usr/local/bin/pkg-config (even through you set up the right location in ld.so.conf).
You could try looking at the README for the atk program and that should contain an option that when you run make that you can tell it where to find pkg-config or you could try installing pkg-config to the /usr/local/bin directory ( the 1st option is easier).

I have run into this program trying to install other programs.

Good luck.


All times are GMT -5. The time now is 07:03 PM.