Fw: Re: compiling stop dont found Glib ?



Thanks for your fast answer, i had now check the config,log file exactly 
but i dont find any mistake, or i dont understand the problem :-)

i dont have excatly understand your answer so i send a little more from
this log file in this list. for any more informations iam where happy
for any help

best regards
Mauri



configure:4404: gcc -o conftest -g -O2 -Wall -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT   conftest.c -L/usr
/local/lib -lgmodule -lgthread -lglib -lthread  -lintl 1>&5
configure: failed program was:
#line 4328 "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.8");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.2.8");
     exit(1);
   }

  if ((glib_major_version != 1) ||
      (glib_minor_version != 2) ||
      (glib_micro_version != 10))
    {
      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
             1, 2, 10,
             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))


----


>Ahh.. somebody who actually includes relevant config.log output. ;)

>>configure:4404: gcc -o conftest -g -O2 -Wall -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT   conftest.c -L/usr
>> /local/lib -lgmodule -lgthread -lglib -lthread  -lintl 1>&5
>> configure: failed program was:
>> #line 4328 "configure"
>> #include "confdefs.h"
>> 
>> #include <glib.h>
>> #include <stdio.h>
>> #include <stdlib.h>

>The lack of any error message between the gcc command and 'failed program was'
>is distinctly... odd.  Or were the errors reported in the log *following* the
>'failed program was' and first 5 lines of the program?

Attachment: pgpikhYmwWd2F.pgp
Description: PGP signature



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