glib in redhat 7.3

Thomas Schönhoff thomas.schoenhoff at uni-bielefeld.de
Fri Nov 1 16:45:38 CET 2002


Hey,

did you run /sbin/ldconfig after (upgrade!) of glib, check if the 
missed files are residing on your disk!

Thomas

Harry Putnam wrote:
> Setup: Redhat Linux 7.3
> glib-1.2.10 installed
> 
> Attempting to compile xfce-3.8.16
> 
> I get this error message at ./configure
> 
> [...]
>  checking for glib-config... no
>  checking for GLIB - version >= 1.2.6... no
>  *** The glib-config script installed by GLIB could not be found
>  *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
>  *** your path, or set the GLIB_CONFIG environment variable to the
>  *** full path to glib-config.
> 
> What do I need to do to resolve this?
> 
> I've set the recommended GLIB_CONFIG var to the exact path:
> 
>   [root # ls -l /usr/bin/glib-config 
>   -rwxr-xr-x 1 root root 1743 Jul 21 2001 /usr/bin/glib-config]
> 
> And run ./configure like this:
> GLIB_CONFIG=/usr/bin/glib_config;export GLIB_CONFIG;./configure
> 
> Still seems to be looking for a different version or failing anyway.
> 
> [...]
> checking for glib-config... /usr/bin/glib-config
> checking for GLIB - version >= 1.2.6... ./configure: line 1: /usr/bin/glib-config: No such file or directory
> ./configure: line 1: /usr/bin/glib-config: No such file or directory
> ./configure: line 1: /usr/bin/glib-config: No such file or directory
> ./configure: line 1: /usr/bin/glib-config: No such file or directory
> ./configure: line 1: /usr/bin/glib-config: No such file or directory
> 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 was incorrectly installed
> *** or that you have moved GLIB since it was installed. In the latter case, you
> *** may want to edit the glib-config script: /usr/bin/glib-config
> 
> I couldn't really figure out from the output in config.log:
> [...]
>   checking for dirent.h that defines DIR... yes
>   checking for opendir in -ldir... no
>   checking for an ANSI C-conforming const... (cached) yes
>   checking for inline... (cached) inline
>   checking whether time.h and sys/time.h may both be included... yes
>   checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
>   checking for gethostbyname... yes
>   checking for connect... yes
>   checking for remove... yes
>   checking for shmat... yes
>   checking for IceConnectionNumber in -lICE... yes
>   checking return type of signal handlers... void
>   checking for wait3... yes
>   checking for wait4... yes
>   checking for waitpid... yes
>   checking for snprintf... yes
>   checking for vsnprintf... yes
>   checking for strcasecmp... (cached) yes
>   checking for strncasecmp... yes
>   main ()
>   {
>    return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
>     ;
>     return 0;
>   }
>   configure:11923: error: Cannot find GLIB: Is glib-config in path?
> 
> _______________________________________________
> Xfce mailing list
> Xfce at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce





More information about the Xfce mailing list