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', 'xmlParseDoc') or
 79         find_library('xml2', 'xmlParseDoc', '/dataCentral/lib/lib',
'/opt/lib', '/usr/local/lib', '/usr/lib')) and
 80        (have_header('libxml/xmlversion.h') or
 81         find_header('libxml/xmlversion.h',
 82                     '/dataCentral/lib/include/libxml2',
 83                     "#{CONFIG['prefix']}/include",
 84                     "#{CONFIG['prefix']}/include/libxml2",
 85                     '/opt/include/libxml2',
 86                     '/usr/local/include/libxml2',
 87                     '/usr/include/libxml2'))

2008/12/24 Charlie Savage <c...@savagexi.com>

> 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 Merry Christmas to you also!
>
> Charlie
>
> --
> Charlie Savage
> http://cfis.savagexi.com
>
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to