[libxml-devel] Installation problem - ruby 1.9.0 on Ubuntu 8.10

Charlie Savage cfis at savagexi.com
Fri Jan 23 19:41:19 EST 2009


Hi Bohdan,

> I have a problem installing libxml-ruby for ruby 1.9 on Ubuntu 8.10.
> Running :
> ************************************************************************************* 
> 
> gem1.9 install libxml-ruby
> ************************************************************************************* 
...
> make
> cc -I. -I/usr/include/ruby-1.9.0/i486-linux -I/usr/include/ruby-1.9.0 
> -I. -I/usr/include/libxml2 -I/usr/local/include 
> -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -fPIC 
> -fno-strict-aliasing -g -g -O2 -O2 -g -Wall -Wno-parentheses -fPIC 
> -I/usr/include/ruby-1.9.0/i486-linux -I/usr/include/ruby-1.9.0 -I. 
> -I/usr/include/libxml2 -I/usr/local/include -o ruby_xml_reader.o -c 
> ruby_xml_reader.c
> In file included from ruby_xml_reader.c:4:
> ruby_libxml.h:10:18: error: util.h: No such file or directory
> make: *** [ruby_xml_reader.o] Error 1

So util.h exists on withe Ruby 1.8, but apparently not on 1.9.
Turns out Sam Ruby reported that last year:

http://rubyforge.org/pipermail/libxml-devel/2008-January/000680.html

Anyway, I just removed that include from trunk.  We are about to cut a 
new release in the next day or so, 0.9.8.  Give that a try.

And see if you run into this issue:

http://rubyforge.org/tracker/index.php?func=detail&aid=23147&group_id=494&atid=1971

Or this one:

http://redmine.ruby-lang.org/issues/show/1023

I don't have a 1.9 machine handy, so it would be great if you could help 
get libxml working.

Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://rubyforge.org/pipermail/libxml-devel/attachments/20090123/4b769f0a/attachment.bin>


More information about the libxml-devel mailing list