Re: [gtk-list] Re: GLIB Test Program failure
- From: "Duncan Kinder" <dckinder mountain net>
- To: <gtk-list redhat com>
- Subject: Re: [gtk-list] Re: GLIB Test Program failure
- Date: Sat, 14 Aug 1999 20:27:14 -0700
Still no luck.
The entire description (rather lengthy) is as follows;
ld: cannot open -lintl: No such file or directory
configure: failed program was:
#line 3429 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char bindtextdomain();
int main() {
bindtextdomain()
; return 0; }
configure:3519: checking for msgfmt
configure:3553: checking for dcgettext
configure:3581: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3608: checking for gmsgfmt
configure:3644: checking for xgettext
configure:3684: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3960: checking for catalogs to be installed
configure:4070: checking for extra flags to get ANSI library prototypes
configure:4083: gcc -o conftest -g -O2 -Wall conftest.c -lm 1>&5
configure:4124: checking for extra flags for POSIX compliance
configure:4133: gcc -c -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:4129: warning: unused variable `dir'
configure:4226: checking for glib-config
configure:4261: checking for GLIB - version >= 1.2.3
configure:4360: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
In file included from configure:4286:
/usr/local/include/glib.h:66: glibconfig.h: No such file or directory
configure: failed program was:
#line 4284 "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.3");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
printf("%s, bad version string\n", "1.2.3");
exit(1);
}
if ((glib_major_version != ) ||
(glib_minor_version != ) ||
(glib_micro_version != ))
{
printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB
(%d.%d.%d)\n",
, , ,
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;
}
configure:4404: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
In file included from configure:4396:
/usr/local/include/glib.h:66: glibconfig.h: No such file or directory
configure: failed program was:
#line 4394 "configure"
#include "confdefs.h"
#include <glib.h>
#include <stdio.h>
int main() {
return ((glib_major_version) || (glib_minor_version) ||
(glib_micro_version));
; return 0; }
Regards,
Duncan C. Kinder
dckinder@mountain.net
----- Original Message -----
From: <dckinder@mountain.net>
To: <gtk-list@redhat.com>
Sent: Saturday, August 14, 1999 2:57 PM
Subject: [gtk-list] Re: GLIB Test Program failure
>
> On Sat, 14 Aug 1999, Duncan Kinder wrote:
> >
> > Once again, I attempted to configure GTK. Once again it denied the
> > existence of GLIB.
> >
>
> rm config.cache in the GTK+ tree, and be sure glib-config is in your PATH.
> If that fails, send the exact error message.
>
> Havoc
>
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
/dev/null
>
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]