<DIV id=RTEContent>I am installing libxml_domlib(1.2a) on linux but when I build it it searches for includes of libxml2 in folder </DIV> <DIV>/usr/local/include/libxml2 but libxml2 have includes under /usr/include/libxml2. For this reason it gives me following error:</DIV> <DIV>--</DIV> <DIV>gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -I. -I/usr/local/include/libxml2 -I/usr/include/python2.2 -c libxml_domlib.c -o build/temp.linux-i686-2.2/libxml_domlib.o<BR>libxml_domlib.c:32:30: libxml/xmlmemory.h: No such file or directory<BR>libxml_domlib.c:33:27: libxml/parser.h: No such file or directory</DIV> <DIV>--</DIV> <DIV> </DIV> <DIV>In makefile I changed the places for libs and given the correct path for includes of libxml2 under INCL_DIR instead of that its picking up /usr/local/include/libxml2 and searches headers there . the makefile(afer chages) I am using is following:</DIV> <DIV> </DIV> <DIV>---</DIV>
<DIV>PYTHON_DIR=/usr/include/python2.2/</DIV> <DIV>INCL_DIRS=-I/usr/include/libxml2/ \<BR> -I${PYTHON_DIR}</DIV> <DIV>CFLAGS=-c -g ${INCL_DIRS} -Wall -fPIC<BR>#LINKFLAGS=-shared -L/usr/local/lib/python2.1/config/ -lpython2.1 \<BR># -L/usr/local/lib -lxml2 -lz -lm -lz<BR>LINKFLAGS=-shared -L/usr/lib/python2.2/config/ -lpython2.2 \<BR> -L/usr/lib -lxml2 -lm<BR>OBJS=libxml_domlib.o domlib_node.o domlib_doc.o \<BR> domlib_ns.o domlib_attrs.o</DIV> <DIV>libxml_domlib.so: ${OBJS}<BR> gcc ${LINKFLAGS} ${OBJS} -o libxml_domlib.so</DIV> <DIV>libxml_domlib.o: libxml_domlib.c domlib_node.h<BR> gcc ${CFLAGS} libxml_domlib.c -o libxml_domlib.o</DIV> <DIV>domlib_node.o: domlib_node.c
domlib_node.h<BR> gcc ${CFLAGS} domlib_node.c -o domlib_node.o</DIV> <DIV>domlib_doc.o: domlib_doc.c domlib_doc.h<BR> gcc ${CFLAGS} domlib_doc.c -o domlib_doc.o</DIV> <DIV>domlib_ns.o: domlib_ns.c domlib_ns.h<BR> gcc ${CFLAGS} domlib_ns.c -o domlib_ns.o</DIV> <DIV>domlib_attrs.o: domlib_attrs.c domlib_attrs.h<BR> gcc ${CFLAGS} domlib_attrs.c -o domlib_attrs.o</DIV> <DIV>clean:<BR> rm -f ${OBJS} libxml_domlib.so<BR></DIV> <DIV>---<BR></DIV> <DIV>How can I override this behaviour of inclusions of header? </DIV> <DIV>and Also is there any version of libxml_domlib availaible for windows. ?</DIV> <DIV> </DIV> <DIV>Can anyone help</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV><p>
<hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=37474/*http://promo.yahoo.com/broadband/
">Yahoo! DSL</a> Something to write home about. Just $16.99/mo. or less