Hi Charlie,After reset libxml path in extconf.rb, I can install libxml successfully. Thanks very much. I wish you Merry Christmas! --with-xml2-dir= --with-xml2-lib= --with-xml2-include=
2008/12/23 Charlie Savage <c...@savagexi.com> > Hi Ray, > > 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. >> > > Well, it seems you have libxml2.so.2.5.10. So, maybe that version doesn't > define xmlErrorPtr. > > >> 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? >> > > Can you use a newer version of libxml? > > Charlie >
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel