From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21602 invoked from network); 7 Apr 2005 19:49:57 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Apr 2005 19:49:57 -0000 Received: (qmail 62650 invoked from network); 7 Apr 2005 19:49:51 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Apr 2005 19:49:51 -0000 Received: (qmail 27928 invoked by alias); 7 Apr 2005 19:49:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21114 Received: (qmail 27904 invoked from network); 7 Apr 2005 19:49:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Apr 2005 19:49:47 -0000 Received: (qmail 62370 invoked from network); 7 Apr 2005 19:49:47 -0000 Received: from mailgw1.technion.ac.il (132.68.238.34) by a.mx.sunsite.dk with SMTP; 7 Apr 2005 19:49:41 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgw1.technion.ac.il (Postfix) with ESMTP id A9387FF9DC for ; Thu, 7 Apr 2005 22:49:38 +0300 (IDT) (envelope-from rl@math.technion.ac.il) Received: from mailgw1.technion.ac.il ([127.0.0.1]) by localhost (mailgw1.technion.ac.il [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21376-01 for ; Thu, 7 Apr 2005 22:49:38 +0300 (IDT) Received: from leeor.math.technion.ac.il (leeor.math.technion.ac.il [132.68.115.2]) by mailgw1.technion.ac.il (Postfix) with ESMTP id 7C798FF9EC for ; Thu, 7 Apr 2005 22:49:38 +0300 (IDT) (envelope-from rl@math.technion.ac.il) Received: from [127.0.0.1] (localhost [127.0.0.1]) by leeor.math.technion.ac.il (8.12.11/8.12.11) with ESMTP id j37JnbQR005226; Thu, 7 Apr 2005 22:49:37 +0300 (IDT) Message-ID: <42558ED1.8090008@math.technion.ac.il> Date: Thu, 07 Apr 2005 22:49:37 +0300 From: "Zvi Har'El" Organization: Technion--Israel Institute of Technology User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: en MIME-Version: 1.0 To: Dan Nelson Cc: zsh-workers@sunsite.dk Subject: Re: zsh 4.2.5 References: <200504061125.j36BP1Fs029244@news01.csr.com> <20050406212036.GA12193@fermat.math.technion.ac.il> <27939.1112860797@trentino.groupinfra.com> <20050407144954.GN64927@dan.emsphone.com> In-Reply-To: <20050407144954.GN64927@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at technion.ac.il X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Dear Dan, You are completely right. I am using sunfreeware.com's version of gcc, and it finds /usr/local/include/iconv.h Dan Nelson wrote: >In the last episode (Apr 07), Oliver Kiddle said: > > >>"Zvi Har'El" wrote: >> >> >>>I suppose this requires some fixing in the configuration process, >>>since solaris doesn't have the gnu glibc, and the solaris libc >>>doesn't include iconv. >>> >>> >>Certainly on the Solaris machines I have access to, libc does include >>iconv. Is the iconv library you're trying to link against GNU >>libiconv? What error were you getting? Is it perhaps picking up GNU >>libiconv's include files before the system ones? >> >>What happens if you type in the following: >> cat > t.c <> #include >> main() { iconv_t cd = (iconv_t)iconv_open("646", "8859"); } >> END >> cc t.c >>For me, that compiles just fine. >> >> > >He's probably got libiconv installed and using gcc which defaults to >having /usr/local/include *before* /usr/include in the search path!! >Both sunfreeware.com's version for Solaris 9 and the one bundled with >Solaris 10 do this. Remove or rename /usr/local/include/iconv.h. > > > -- Dr. Zvi Har'El mailto:rl@math.technion.ac.il Department of Mathematics tel:+972-54-4227607 icq:179294841 Technion - Israel Institute of Technology fax:+972-4-8293388 http://www.math.technion.ac.il/~rl/ Haifa 32000, ISRAEL "If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)