Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Hello Arthur, hello World, I have a problem with the libxml2 library. I have installed it, but it does not get detected by the configure script. andy at shannara:~/Programming/Projects/cvsnt$ xml2-config --libs -lxml2 andy at shannara:~/Programming/Projects/cvsnt$ xml2-config --cflags -I/usr/include/libxml2 andy at shannara:~/Programming/Projects/cvsnt$ xml2-config --version 2.6.32 andy at shannara:~/Programming/Projects/cvsnt$ grep LIBXML_VERSION /usr/include/libxml2/libxml/xmlversion.h * LIBXML_VERSION: #define LIBXML_VERSION 20632 * LIBXML_VERSION_STRING: #define LIBXML_VERSION_STRING "20632" * LIBXML_VERSION_EXTRA: #define LIBXML_VERSION_EXTRA "" The configure script says: checking for xml2-config... /usr/bin/xml2-config checking for libxml2... yes checking libxml2 version > 2.6.26... yes config.log says: configure:26013: found /usr/bin/xml2-config configure:26025: result: /usr/bin/xml2-config configure:26033: checking for libxml2 configure:26055: result: yes configure:26060: checking libxml2 version > 2.6.26 configure:26094: gcc -o conftest -g -O2 -I/usr/include/libxml2 conftest.c -lresolv -lresolv -lxml2 >&5 configure:26097: $? = 0 configure:26103: ./conftest configure:26106: $? = 0 configure:26121: result: yes But in config.h I find: /* defined if libxml is available */ /* #undef HAVE_LIBXML */ Also ldd shows no dependency on libxml2 As a second problem, the configuration within the libxml directory seems to be broken, because I cannot make distclean Making distclean in libxml make[1]: Entering directory `/home/andy/Programming/Projects/cvsnt/libxml' make[1]: *** Keine Regel, um »distclean« zu erstellen. Schluss. make[1]: Leaving directory `/home/andy/Programming/Projects/cvsnt/libxml' make: *** [distclean-recursive] Fehler 1 Any thoughts? Best regards Andreas -- Andreas Tscharner starfire at sunrise.ch ---------------------------------------------------------------------- Except for 75% of the women, everyone in the whole world wants to have sex. -- Ellyn Mustard