Re: [gtk-list] "configure" GTK problem on the SUN under SunOS 4.1
- From: erik it et tudelft nl (Erik Mouw)
- To: gtk-list redhat com
- Subject: Re: [gtk-list] "configure" GTK problem on the SUN under SunOS 4.1
- Date: Thu, 23 Sep 1999 23:08:39 +0200 (MDT)
Dmitry Koshkin wrote:
> I am trying to compile GTK and MC(Midnight Commander) on SUN under SunOS
> 4.1.
> I "configure --prefis=$HOME/local" -> "make" -> "make-install" the glib
> 1.2.4 in the $HOME/local. After this I run "configure" for the GTK and
> MC and in the both cases I got the same error. I tryed to play with
> environment variables but it didn't help.
Did you also modify LD_LIBRARY_PATH? Otherwise try the brute force method:
setenv LD_LIBRARY_PATH $HOME/local/lib
setenv CFLAGS -I$HOME/local/include
setenv LDFLAGS -L$HOME/local/lib
rm config.cache
./configure --prefix=$HOME/local
What C compiler do you use? The default Sun compiler (cc) doesn't do
ANSI C, while the ANSI C compiler (acc) is not too good, too. I
recommend using gcc (gcc 2.95.1 is the latest).
Erik
> I have installed only one version of the glib, when I did uninstall this
> "configure"
> script couldn find the glib.
>
> Can anyone who has experience with this staff give me an advice how to
> handle it.
>
> Thank you for any help and proposals.
> Dmitry.
>
> ******************************
> "configure" results for the GTK+ 1.2.4
> ******************************
> ecking for extra flags to get ANSI library prototypes... none needed
> checking for extra flags for POSIX compliance... none needed
> checking for glib-config...
> /usr11/eistwo/home/koshkin/local/bin/glib-config
> checking for GLIB - version >= 1.2.4...
> *** 'glib-config --version' returned 1.2.4, but GLIB
> (-1646018656.-1646018656.-1646018656)
> *** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
> *** to point to the correct copy of glib-config, and remove the file
> config.cache
> *** before re-running configure
> no
> configure: error:
> *** GLIB 1.2.4 or better is required. The latest version of GLIB
> *** is always available from ftp://ftp.gtk.org/.
>
>
> *******************************************************
> "configure" results for the Midnight Commander. (mc)
> *******************************************************
> checking whether catgets can be used... no
> checking for msgfmt... msgfmt
> checking for gmsgfmt... msgfmt
> checking for xgettext... :
> checking for catalogs to be installed... ca cs da de el es es_ES fi fr
> hu it ja ko no pl ro ru sv wa zh_TW.Big5
> checking for glib-config...
> /usr11/eistwo/home/koshkin/local/bin/glib-config
> checking for GLIB - version >= 1.2.0...
> *** 'glib-config --version' returned 1.2.4, but GLIB
> (-1646018656.-1646018656.-1646018656)
> *** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
> *** to point to the correct copy of glib-config, and remove the file
> config.cache
> *** before re-running configure
> no
> configure: error: Test for GLIB failed. MC requires GLIB.
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2785859 Fax: +31-15-2781843 Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]