Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2007 09:19:45 -0700
From:      "Charlie Caroff" <charlie.caroff@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   iconv.h and ruby-libxml
Message-ID:  <b103a4480709130919u5e13fd72idc75c69f74cecad2@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

When I try to install  libxml-ruby-0.5.1.0, I get this error message:

gcc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6.2 -I.
-I/usr/local/include/libxml2 -DRUBY_EXTCONF_H=\"extconf.h\"
-I/usr/local/libexec/iconv/include -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

I search for iconv.h, and it's in /usr/local/include/iconv.h

I'm running 6.2-STABLE FreeBSD, i386

Charlie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b103a4480709130919u5e13fd72idc75c69f74cecad2>