Hi Charlie,I have two versions of libxml, one is the default libxml, the other one is the latest one which install to my local path. I changed the --with-xml2-include, --with-xml2-dir, --with-xml2-lib to the latest one when I generate makefile, the error is same. I guess there's something wrong with my path settings, but I am not sure where it is. Please help. Thanks. Here's my system default libxml under /usr/lib: -rwxr-xr-x 1 root root 723 Apr 17 2003 libxmltok.la -rwxr-xr-x 1 root root 737 Apr 17 2003 libxmlparse.la -rw-r--r-- 1 root root 106512 Apr 17 2003 libxmltok.a -rw-r--r-- 1 root root 34260 Apr 17 2003 libxmlparse.a -rwxr-xr-x 1 root root 77304 Apr 17 2003 libxmltok.so.0.1.0 -rwxr-xr-x 1 root root 32648 Apr 17 2003 libxmlparse.so.0.1.0 -rwxr-xr-x 1 root root 720 Oct 27 2004 libxml2.la -rwxr-xr-x 1 root root 988452 Oct 27 2004 libxml2.so.2.5.10 -rw-r--r-- 1 root root 1185462 Oct 27 2004 libxml2.a -rwxr-xr-x 1 root root 470052 Nov 17 2004 libxml.so.1.8.17 -rwxr-xr-x 1 root root 695 Nov 17 2004 libxml.la -rw-r--r-- 1 root root 532172 Nov 17 2004 libxml.a lrwxrwxrwx 1 root root 17 Jan 31 2007 libxml2.so.2 -> libxml2.so.2.5.10 lrwxrwxrwx 1 root root 16 Jan 31 2007 libxml.so.1 -> libxml.so.1.8.17 lrwxrwxrwx 1 root root 18 Jan 31 2007 libxmltok.so.0 -> libxmltok.so.0.1.0 lrwxrwxrwx 1 root root 20 Jan 31 2007 libxmlparse.so.0 -> libxmlparse.so.0.1.0 lrwxrwxrwx 1 root root 17 Jan 31 2007 libxml2.so -> libxml2.so.2.5.10 lrwxrwxrwx 1 root root 18 Jan 31 2007 libxmltok.so -> libxmltok.so.0.1.0 lrwxrwxrwx 1 root root 16 Jan 31 2007 libxml.so -> libxml.so.1.8.17 lrwxrwxrwx 1 root root 20 Jan 31 2007 libxmlparse.so -> libxmlparse.so.0.1.0
And I install the latest to my local path: -rwxr-xr-x 1 user devsrc 3550751 Dec 17 16:25 libxml2.so.2.7.2 lrwxrwxrwx 1 user devsrc 16 Dec 17 16:25 libxml2.so.2 -> libxml2.so.2.7.2 lrwxrwxrwx 1 user devsrc 16 Dec 17 16:25 libxml2.so -> libxml2.so.2.7.2 -rwxr-xr-x 1 user devsrc 811 Dec 17 16:25 libxml2.la -rw-r--r-- 1 user devsrc 4897992 Dec 17 16:25 libxml2.a 2008/12/21 Charlie Savage <c...@savagexi.com> > Hi RaySun, > > I met some problems during installation. I cannot find 'xmlErrorPtr' >> defined in the C headers. So I got the error:ruby_xml_error.h:11: error: >> expected ')' before 'xerror'. Does anybody know why this is happened? Or my >> settings goes wrong? Thanks a lot. >> > > What version of libxml2 do you have installed? Is it very old? > > Charlie >
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel