nel-all
[Top][All Lists]
Advanced

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

[Nel] Installation problem


From: bhr
Subject: [Nel] Installation problem
Date: Wed, 04 Sep 2002 00:20:20 +0200 (MEST)
User-agent: IMP/PHP IMAP webmail program 2.2.6

Hi Loic,

Thanks for the answer. I have to admit that i made a mistake with the attached 
file in my last message (What a shame !).
Well here, you can find the TRULY config.log, and i made a little copy/paste of 
the last few lines just below.
-----------------------------------------------------------
...
configure:7081: c++ -o conftest -O3 -DNL_RELEASE  -ftemplate-depth-24 -Wno-
multichar -D_REENTRANT -I/usr/X11R6/include -I../STLport-4.5.3/stlport -O3 -
DNL_RELEASE  -ftemplate-depth-24 -Wno-multichar -D_REENTRANT -
I/usr/X11R6/include -I../STLport-4.5.3/stlport -I/usr/include/python2.2  
conftest.C -lstlport_gcc -L../STLport-4.5.3/lib -lpthread  -L/usr/X11R6/lib 1>&5
configure:7178: checking for xml2-config
configure:7213: checking for libxml - version >= 2.0.0
configure:7314: gcc -o conftest -O6 -DNL_RELEASE  -ftemplate-depth-24 -
D_REENTRANT -I/usr/include/libxml2/libxml -I/usr/include/libxml2   conftest.c -
L/usr/lib -lxml2 -lz -lm -lstlport_gcc -L../STLport-4.5.3/lib -lpthread  -
L/usr/X11R6/lib 1>&5
configure: failed program was:
#line 7236 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <stdio.h>
#include <xmlversion.h>

int 
main()
{
  int xml_major_version, xml_minor_version, xml_micro_version;
  int major, minor, micro;
  char *tmp_version;

  printf("creation conf.xmltest");
  system("touch conf.xmltest");

  /* Capture xml2-config output via autoconf/configure variables */
  /* HP/UX 9 (address@hidden) writes to sscanf strings */
  tmp_version = (char *)strdup("2.0.0");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string from xml2-config\n", "2.0.0");
     exit(1);
   }
   free(tmp_version);

   /* Capture the version information from the header files */
   tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
   if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, 
&xml_micro_version) != 3) {
     printf("%s, bad version string from libxml 
includes\n", "LIBXML_DOTTED_VERSION");
     exit(1);
   }
   free(tmp_version);

 /* Compare xml2-config output to the libxml headers */
  printf("Version xml2-config --> %d.%d.%d", &xml_major_version, 
&xml_minor_version, &xml_micro_version);
  if ((xml_major_version != 2) ||
      (xml_minor_version != 4) ||
      (xml_micro_version != 16))
    {
      printf("*** libxml header files (version %d.%d.%d) do not match\n",
         xml_major_version, xml_minor_version, xml_micro_version);
      printf("*** xml2-config (version %d.%d.%d)\n",
         2, 4, 16);
      return 1;
    } 
/* Compare the headers to the library to make sure we match */
  /* Less than ideal -- doesn't provide us with return value feedback, 
   * only exits if there's a serious mismatch between header and library.
   */
    LIBXML_TEST_VERSION;

    /* Test that the library is greater than our minimum version */
    if ((xml_major_version > major) ||
        ((xml_major_version == major) && (xml_minor_version > minor)) ||
        ((xml_major_version == major) && (xml_minor_version == minor) &&
        (xml_micro_version >= micro)))
      {
        return 0;
       }
     else
      {
        printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
               xml_major_version, xml_minor_version, xml_micro_version);
        printf("*** You need a version of libxml newer than %d.%d.%d. The 
latest version of\n",
           major, minor, micro);
        printf("*** libxml is always available from ftp://ftp.xmlsoft.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 xml2-config shell 
script is\n");
        printf("*** being found. The easiest way to fix this is to remove the 
old version\n");
        printf("*** of LIBXML, but you can also set the XML2_CONFIG environment 
to point to the\n");
        printf("*** correct copy of xml2-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:7359: gcc -o conftest -O6 -DNL_RELEASE  -ftemplate-depth-24 -
D_REENTRANT -I/usr/include/libxml2/libxml -I/usr/include/libxml2   conftest.c -
lstlport_gcc -L../STLport-4.5.3/lib -lpthread  -L/usr/X11R6/lib -L/usr/lib -
lxml2 -lz -lm 1>&5
--------------------------------------------------------------------

I hope this can help.

Gwenaƫl (aka bhr)

Attachment: config.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]