Re: Configure for GTK 1.2.10



Hi 

Take look at the file "config.log" , it will give you better idea of why the
configure file is failing.



			__Mehdi
> 
> Hi,
> 
> When I run configure:
> 
> checking for glib-config... /usr/local/lib/bin/glib-config
> checking for GLIB - version >=3D 1.2.8... no
> *** Could not run GLIB test program, checking why...
> *** The test program compiled, but did not run. This usually means
> *** that the run-time linker is not finding GLIB or finding the wrong
> *** version of GLIB. If it is not finding GLIB, you'll need to set your
> *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to =
> point
> *** to the installed location  Also, make sure you have run ldconfig if =
> that
> *** is required on your system
> ***
> *** If you have an old version installed, it is best to remove it, =
> although
> *** you may also be able to get things to work by modifying =
> LD_LIBRARY_PATH
> ***
> *** If you have a RedHat 5.0 system, you should remove the GTK package =
> that
> *** came with the system with the command
> ***
> ***    rpm --erase --nodeps gtk gtk-devel
> configure: error:=20
> *** GLIB 1.2.8 or better is required. The latest version of GLIB
> *** is always available from ftp://ftp.gtk.org/.
> # /usr/local/lib/bin/glib-config
> Usage: glib-config [OPTIONS] [LIBRARIES]
> Options:
>         [--prefix[=3DDIR]]
>         [--exec-prefix[=3DDIR]]
>         [--version]
>         [--libs]
>         [--cflags]
> Libraries:
>         glib
>         gmodule
>         gthread
> 
> However, when I use glib-config, I get the following versions.
> 
> # /usr/local/lib/bin/glib-config --cflags
> -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
> # /usr/local/lib/bin/glib-config --version glib
> 1.2.10
> # /usr/local/lib/bin/glib-config --version gmodule
> 1.2.10
> # /usr/local/lib/bin/glib-config --version gthread
> 1.2.10
> 
> I am trying to build gtk for Solaris 8 machine.
> 
> Your help is greately appreciated!
> 
> Regards,
> Sal
> ------=_NextPart_000_0012_01C30208.AAFBABC0
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>When I run configure:</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>checking for glib-config...=20
> /usr/local/lib/bin/glib-config<BR>checking for GLIB - version &gt;=3D =
> 1.2.8...=20
> no<BR>*** Could not run GLIB test program, checking why...<BR>*** The =
> test=20
> program compiled, but did not run. This usually means<BR>*** that the =
> run-time=20
> linker is not finding GLIB or finding the wrong<BR>*** version of GLIB. =
> If it is=20
> not finding GLIB, you'll need to set your<BR>*** LD_LIBRARY_PATH =
> environment=20
> variable, or edit /etc/ld.so.conf to point<BR>*** to the installed=20
> location&nbsp; Also, make sure you have run ldconfig if that<BR>*** is =
> required=20
> on your system<BR>***<BR>*** If you have an old version installed, it is =
> best to=20
> remove it, although<BR>*** you may also be able to get things to work by =
> 
> modifying LD_LIBRARY_PATH<BR>***<BR>*** If you have a RedHat 5.0 system, =
> you=20
> should remove the GTK package that<BR>*** came with the system with the=20
> command<BR>***<BR>***&nbsp;&nbsp;&nbsp; rpm --erase --nodeps gtk=20
> gtk-devel<BR>configure: error: <BR>*** GLIB 1.2.8 or better is required. =
> The=20
> latest version of GLIB<BR>*** is always available from <A=20
> href=3D"ftp://ftp.gtk.org/";>ftp://ftp.gtk.org/</A>.<BR>#=20
> /usr/local/lib/bin/glib-config<BR>Usage: glib-config [OPTIONS]=20
> [LIBRARIES]<BR>Options:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> [--prefix[=3DDIR]]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> [--exec-prefix[=3DDIR]]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> [--version]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> [--libs]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> [--cflags]<BR>Libraries:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> glib<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> gmodule<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> gthread</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>However, when I use glib-config, I get =
> the=20
> following versions.</DIV>
> <DIV><BR># /usr/local/lib/bin/glib-config=20
> --cflags<BR>-I/usr/local/include/glib-1.2 =
> -I/usr/local/lib/glib/include<BR>#=20
> /usr/local/lib/bin/glib-config --version glib<BR>1.2.10<BR>#=20
> /usr/local/lib/bin/glib-config --version gmodule<BR>1.2.10<BR>#=20
> /usr/local/lib/bin/glib-config --version gthread<BR>1.2.10<BR></DIV>
> <DIV>I am trying to build gtk for Solaris 8 machine.</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>Your help is greately appreciated!</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>Regards,</DIV>
> <DIV>Sal</DIV></FONT></BODY></HTML>
> 
> ------=_NextPart_000_0012_01C30208.AAFBABC0--
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]