Re: [libxml-devel] libxml installation problem

2008-12-23 Thread RaySun
Hi Charlie,I directly added my lib and include path in ./ext/libxml/extconf.rb LINE 79 and LINE 82, I am not sure is there any way to pass the parameters when I run ruby setup.rb. Thanks for your help. 77 unless (have_library('xml2', 'xmlParseDoc') or 78 have_library('libxml2', 'xmlParseD

Re: [libxml-devel] libxml installation problem

2008-12-23 Thread Charlie Savage
Hi RaySun, 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= Good news. Can you post how you reset the libxml path in case others run into the same problem? And Me

Re: [libxml-devel] libxml installation problem

2008-12-23 Thread RaySun
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 > Hi Ray, > > I have two versions of libxml, one is the default libxml, the other

Re: [libxml-devel] libxml installation problem

2008-12-22 Thread Charlie Savage
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

Re: [libxml-devel] libxml installation problem

2008-12-21 Thread RaySun
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 wit

Re: [libxml-devel] libxml installation problem

2008-12-20 Thread Charlie Savage
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

[libxml-devel] libxml installation problem

2008-12-17 Thread RaySun
Hello,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. By the way, I also use gcc version 4.3.