Torben and Jonathan:
Thanks for help!
I set LIBXMLHOME = /usr/local/include/libxml2/libxml but didn't type "local" in my posting. Sorry for that.
I tried Torben's suggestion but got different errors.
I downloaded libxml2-2.4.19-1.src.rpm from ftp://xmlsoft.org.
rpm --rebuild libxml2-2.4.19-1.src.rpm
It goes well.
Then go to /home/nsxml and
Change the makefile:
LIBXMLHOME = /usr/include/libxml2/libxml
CFLAGS += -I$(LIBXMLHOME)
Then
make
Then I got the error:
gcc: can't specify -o with -c or -S and multiple compliations.
I did a locate libxml/xmlmemory.h and got the following result:
/home/libxml/include/libxml/xmlmemory.h
/usr/include/include/libxml2/libxml/xmlmemory.h
/usr/include/libxml2/libxml/xmlmemory.h
/usr/local/include/libxml2/libxml/xmlmemory.h
Look like I got too many libxml2 installed and nsxml does not know which one to use. How can I uninstall those libxml2s that are not necessary or tell nsxml which one to use?
Thanks