From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 16:19:47 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C45FF16A417 for ; Thu, 13 Sep 2007 16:19:47 +0000 (UTC) (envelope-from charlie.caroff@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.freebsd.org (Postfix) with ESMTP id 4412313C428 for ; Thu, 13 Sep 2007 16:19:46 +0000 (UTC) (envelope-from charlie.caroff@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so278339wra for ; Thu, 13 Sep 2007 09:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=pJHrtrxQUBpPPK4zYJF31c3a1ld6F84PNab90Hb+b+I=; b=aOTSBDXeuSzs7ddoOSJ3UtC9t4Y53cNRPXxjL85fzVk6Zbpa/8EK8uhzpIhPIPoTdZMOsZGtG+ISE5GgoK75hWEgYJZua96tvPip6mq0Ke/j2qCaYmkAyMkjUBQ2snzZNJl58GiKJSeUHBG4HW+Km3PiPk3m0e0We+cGVxY07Uw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Jx6ncJ3Zy17gVvZDdLGQLrSwCVZ1WkVBqZeAKNA5N+Fmas3hmqNv/9SJnVudtaOoMAuEL2YpVwb67qeaE1EWgjE6K5jLlEe9Ex+07pwX+UdVA4tb2Fo3sMSe42DbqbD84vrO5FnipXqkESFvvWhtUbPtG4sQmfehRTjwpxgOE2o= Received: by 10.142.172.8 with SMTP id u8mr132785wfe.1189700385748; Thu, 13 Sep 2007 09:19:45 -0700 (PDT) Received: by 10.143.17.17 with HTTP; Thu, 13 Sep 2007 09:19:45 -0700 (PDT) Message-ID: Date: Thu, 13 Sep 2007 09:19:45 -0700 From: "Charlie Caroff" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: iconv.h and ruby-libxml X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2007 16:19:47 -0000 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