Re: "configure" GTK problem on the SUN under SunOS 4.1
- From: Dmitry Koshkin <koshkin comm mot com>
- To: gtk-list redhat com
- Subject: Re: "configure" GTK problem on the SUN under SunOS 4.1
- Date: Mon, 27 Sep 1999 09:01:20 -0500
Dmitry Koshkin wrote:
Hello Owen,
This is the part of my config.log file.
If do you need some additional information please let me know.
PS. The same problem I have with glib-1.2.5.
> Thank you. Dmitry.
>
> configure:3315: checking for LC_MESSAGES
> configure:3327: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
> configure:3348: checking whether NLS is requested
> configure:3380: checking for libintl.h
> configure:3390: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:3386: libintl.h: No such file or directory
> configure: failed program was:
> #line 3385 "configure"
> #include "confdefs.h"
> #include <libintl.h>
> configure:3728: checking whether catgets can be used
> configure:4084: checking for extra flags to get ANSI library prototypes
> configure:4098: gcc -o conftest -g -O2 -Wall conftest.c -lm 1>&5
> configure:4138: checking for extra flags for POSIX compliance
> configure:4147: gcc -c -g -O2 -Wall conftest.c 1>&5
> configure: In function `main':
> configure:4143: warning: unused variable `dir'
> configure:4240: checking for glib-config
> configure:4275: checking for GLIB - version >= 1.2.4
> configure:4374: gcc -o conftest -g -O2 -Wall
> -I/usr11/eistwo/home/koshkin/local/lib/glib/include
> -I/usr11/eistwo/home/koshkin/local/include conftest.c
> -L/usr11/eistwo/home/koshkin/local/lib -lgmodule -lgthread -lglib 1>&5
> configure: In function `main':
> configure:4310: warning: implicit declaration of function `system'
> configure:4314: warning: implicit declaration of function `sscanf'
> configure:4315: warning: implicit declaration of function `printf'
> configure: failed program was:
> #line 4298 "configure"
> #include "confdefs.h"
>
> #include <glib.h>
> #include <stdio.h>
> #include <stdlib.h>
>
> int
> main ()
> {
> int major, minor, micro;
> char *tmp_version;
>
> system ("touch conf.glibtest");
>
> /* HP/UX 9 (%@#!) writes to sscanf strings */
> tmp_version = g_strdup("1.2.4");
> if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
> printf("%s, bad version string\n", "1.2.4");
> exit(1);
> }
>
> if ((glib_major_version != 1) ||
> (glib_minor_version != 2) ||
> (glib_micro_version != 4))
> {
> printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB
> (%d.%d.%d)\n",
> 1, 2, 4,
> glib_major_version, glib_minor_version,
> glib_micro_version);
> printf ("*** was found! If glib-config was correct, then it is
> best\n");
> printf ("*** to remove the old version of GLIB. You may also be
> able to fix the error\n");
> printf("*** by modifying your LD_LIBRARY_PATH enviroment variable,
> or by editing\n");
> printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if
> that is\n");
> printf("*** required on your system.\n");
> printf("*** If glib-config was wrong, set the environment variable
> GLIB_CONFIG\n");
> printf("*** to point to the correct copy of glib-config, and
> remove the file config.cache\n");
> printf("*** before re-running configure\n");
> }
> else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
> (glib_minor_version != GLIB_MINOR_VERSION) ||
> (glib_micro_version != GLIB_MICRO_VERSION))
> {
> printf("*** GLIB header files (version %d.%d.%d) do not match\n",
> GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
> printf("*** library (version %d.%d.%d)\n",
> glib_major_version, glib_minor_version, glib_micro_version);
> }
> else
> {
> if ((glib_major_version > major) ||
> ((glib_major_version == major) && (glib_minor_version > minor))
> ||
> ((glib_major_version == major) && (glib_minor_version == minor)
> && (glib_micro_version >= micro)))
> {
> return 0;
> }
> else
> {
> printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
> glib_major_version, glib_minor_version,
> glib_micro_version);
> printf("*** You need a version of GLIB newer than %d.%d.%d. The
> latest version of\n",
> major, minor, micro);
> printf("*** GLIB is always available from
> ftp://ftp.gtk.org.\n");
> printf("***\n");
> printf("*** If you have already installed a sufficiently new
> version, this error\n");
> printf("*** probably means that the wrong copy of the
> glib-config shell script is\n");
> printf("*** being found. The easiest way to fix this is to
> remove the old version\n");
> printf("*** of GLIB, but you can also set the GLIB_CONFIG
> environment to point to the\n");
> printf("*** correct copy of glib-config. (In this case, you will
> have to\n");
> printf("*** modify your LD_LIBRARY_PATH enviroment variable, or
> edit /etc/ld.so.conf\n");
> printf("*** so that the correct libraries are found at
> run-time))\n");
> }
> }
> return 1;
> }
>
> Owen Taylor wrote:
> >
> > Dmitry Koshkin <koshkin@comm.mot.com> writes:
> >
> > > Hello All,
> > >
> > > 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.
> > >
> > > 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.
> >
> > Could you send the corresponding part of the output written
> > to the file config.log?
> >
> > I can't see why this would happen other than a bug in the
> > SunOS compiler or linker.
> >
> > Regards,
> > Owen
> >
> > > 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/.
>
> --
> __________________________________________________________________________
> . .
> ... ... Internet :
> koshkin@comm.mot.com
> Motorola, iDEN Development ..... ..... emailid : koshkin
> 1301 East Algonquin Road .. ... .. Voice : +1-847-576-3936
> Schaumburg, IL 60196 . . . Fax : +1-847-576-6150
> MailBox: 4420
> __________________________________________________________________________
--
__________________________________________________________________________
. .
... ... Internet :
koshkin@comm.mot.com
Motorola, iDEN Development ..... ..... emailid : koshkin
1301 East Algonquin Road .. ... .. Voice : +1-847-576-3936
Schaumburg, IL 60196 . . . Fax : +1-847-576-6150
MailBox: 4420
__________________________________________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]