Hi
Hi
I got the latest log4cxx-0.9.8 from http://littletux.homelinux.org/log4cxx/
When compiling I get the following error:
My OS
OS name : Linux
OS release : 2.4.21-32.0.1.ELsmp
OS version : #1 SMP Tue May 17 17:52:23 EDT 2005
Hardware platform : i686
Machine nodename : ejecxapeqdtmad01
Machine uptime : 367970
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.9.8\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_SWPRINTF=1 -DHAVE_SYSLOG=1 -DHAVE_PTHREAD=1 -DHAVE_THREAD=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_FTIME=1 -DHAVE_SETENV=1 -DHAVE_MBSNRTOWCS=1 -DHAVE_WCSNRTOMBS=1 -I. -I. -I../include -I../include -DLOG4CXX -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/projects/xdirect/thirdparty/apr-1.2.2/include/apr-1 -I/projects/xdirect/thirdparty/apr-util-1.2.2/include/apr-1 -D_REENTRANT -g -O2 -c domconfigurator.cpp -MT domconfigurator.lo -MD -MP -MF .deps/domconfigurator.TPlo -fPIC -DPIC -o .libs/domconfigurator.lo
In file included from domconfigurator.cpp:24:
../include/log4cxx/helpers/gnomexml.h:27:25: libxml/tree.h: No such file or directory
../include/log4cxx/helpers/gnomexml.h:39:2: #error libxml include file found where libxml2 was expected
In file included from domconfigurator.cpp:24:
../include/log4cxx/helpers/gnomexml.h:57: syntax error before `node'
../include/log4cxx/helpers/gnomexml.h:66: 'xmlNodePtr' is used as a type, but
is not defined as a type.
../include/log4cxx/helpers/gnomexml.h:86: syntax error before `document'
../include/log4cxx/helpers/gnomexml.h:99: 'xmlDocPtr' is used as a type, but is
not defined as a type.
../include/log4cxx/helpers/gnomexml.h:119: syntax error before `element'
../include/log4cxx/helpers/gnomexml.h:129: 'xmlNodePtr' is used as a type, but
is not defined as a type.
../include/log4cxx/helpers/gnomexml.h:146: syntax error before `firstChild'
../include/log4cxx/helpers/gnomexml.h:152: 'xmlNodePtr' is used as a type, but
is not defined as a type.
../include/log4cxx/helpers/gnomexml.h:153: 'xmlNodePtr' is used as a type, but
is not defined as a type.
make[1]: *** [domconfigurator.lo] Error 1
make[1]: Leaving directory `/home/mlabour/log4cxx-0.9.8/src'
make: *** [all-recursive] Error 1
Thank you for your help
Matthieu
