Hi. All.
I installed OpenACS 3.2.5, PostGreSQL7.2 and Aolserver3.4.2 on
Redhat7.0. It works well. But when I tried to install libxml2 and
nsxml, I got some problems.
I downloaded libxml2 from xmlsoft.org and installed it.
[root@dev libxml]# gunzip -c libxml2-xxx.tar.gz | tar xvf -
[root@dev libxml]#cd libxml-xxxx
[root@dev nsxml]#./configure
[root@dev nsxml]#make
[root@dev nsxml]#make install
Everything went well. Then I run ./sbin/ldconfig.
Then I tried to install nsxml:
[root@dev nsxml]# make
gcc -I../aolserver/include -D_REENTRANT=1 -DNDEBUG=1 -g -fPIC -Wall
-Wno-unused -mcpu=i686 -DHAVE_CMMSG=1 -DUSE_FIONREAD=1
-DHAVE_COND_EINTR=1 -c -o ns_xml.o ns_xml.c
ns_xml.c:40:27: libxml/parser.h: No such file or directory
ns_xml.c:41:30: libxml/xmlmemory.h: No such file or directory
make: *** [ns_xml.o] Error 1
Then I tried to locate libxml.
[root@dev nsxml]# locate libxml/xmlmemory.h libxml/parser.h'
I got nothing. But I can manually
find /usr/local/include/libxml2/libxml/xmlmemory.h
and /usr/local/include/libxml2/libxml/parser.h
I read some postings and tried two thing:
First, I put the following in the makefile:
LIBXMLHOME = /usr/include/libxml2/libxml
CFLAGS += -I$(LIBXMLHOME)
But it didn't work and I still got the same error.
Then I downloaded rpm verion of libxml2 (both dev and normal
versions) and reinstall libxml2. And I still got the same error when
I tried to install nsxml.
I don't know what's wrong with my installation. Can anyone help?
Thanks,
Jianxiao He