Hi, I am running FreeBSD 6.2, and am trying to install libxml 0.5.1 for Ruby. When I run gem install, here is the error I get:
gcc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6.2 -I. -I/usr/local/include/libxml2 -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6.2 -I. -I/usr/local/include/libxml2 -c cbg.c In file included from /usr/local/include/libxml2/libxml/parser.h:796, from /usr/local/include/libxml2/libxml/globals.h:18, from /usr/local/include/libxml2/libxml/xmlIO.h:117, from cbg.c:2: /usr/local/include/libxml2/libxml/encoding.h:28:19: iconv.h: No such file or directory In file included from /usr/local/include/libxml2/libxml/parser.h:796, from /usr/local/include/libxml2/libxml/globals.h:18, from /usr/local/include/libxml2/libxml/xmlIO.h:117, from cbg.c:2: /usr/local/include/libxml2/libxml/encoding.h:136: error: syntax error before "iconv_t" *** Error code 1 Stop in /usr/local/lib/ruby/gems/1.8/gems/libxml-ruby-0.5.1.0/ext/xml. Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/libxml- ruby-0.5.1.0 for inspection. Results logged to /usr/local/lib/ruby/gems/1.8/gems/libxml-ruby-0.5.1.0 /ext/xml/gem_make.out Any hints? Charlie
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel