Make sure you use the latest v1.4 of nsxml (
http://acs-misc.sourceforge.net/nsxml.html), not nsxml 1.0 that can be downloaded from arsdigita/aolserver site. nsxml 1.0 is not compatible with libxml2, if memory serves, and that might cause the compilation problem you're seeing.