Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4083F35E.5070504@pacbell.net> Date: Mon, 19 Apr 2004 08:42:22 -0700 From: Steve Kelem Reply-To: steve AT kelem DOT net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 MIME-Version: 1.0 To: The Cygwin Mailing List CC: "Charles S. Wilson" Subject: problem installing libiconv-1.9.2 References: <3F557119 DOT 3090100 AT ece DOT gatech DOT edu> In-Reply-To: <3F557119.3090100@ece.gatech.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit What's the trick to getting libiconv to install? If I try to do "make install" from tcsh, I get the message: /bin/install -c -m 644 .libs/cygiconv-2.dll $dldir/cygiconv-2.dll /bin/install: cannot remove `/usr/lib/../bin/cygiconv-2.dll': Permission denied I assume that this is because I'm using cygwin/tcsh. The main reason I'm trying to recompile iconv is because after building gd-2.0.22, I cannot get the perl module GD-2.12 to link, so I'm trying to build a more recent copy (1.9.2) of libiconv: gcc -shared -o GD.dll -Wl,--out-implib=libGD.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \ -s -L/usr/local/lib GD.o /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib -lgd -lpng -lz -lfreetype -ljpeg -lm -lX11 -lXpm Creating library file: libGD.dll.a /bin/../lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libgd.a(gdkanji.o)(.text+0x707): In function `do_convert': /usr/local/src/gd-2.0.22/gdkanji.c:380: undefined reference to `_libiconv_open' /bin/../lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libgd.a(gdkanji.o)(.text+0x74c):/usr/local/src/gd-2.0.22/gdkanji.c:394: undefined reference to `_libiconv' /bin/../lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libgd.a(gdkanji.o)(.text+0x757):/usr/local/src/gd-2.0.22/gdkanji.c:415: undefined reference to `_libiconv_close' collect2: ld returned 1 exit status perlld: *** system() failed to execute Thanks for your help, Steve Kelem Charles Wilson wrote: > The GNU libiconv package provides an iconv() implementation, for use > on systems which don't have one, or whose implementation cannot > convert from/to Unicode. > > These should be upgraded together with the gettext packages. This > release is built against the cygwin-1.5.x kernel; it will not work > with 1.3.22. > > libiconv-1.9.1-3 > libiconv2-1.9.1-3 > libcharset1-1.9.1-3 > > gettext-0.12.1-3 > gettext-devel-0.12.1-3 > libintl2-0.12.1-3 > libgettextpo0-0.12.1-3 (*) > > (*) new library package -- gettext-devel now depends on it. > > CHANGES: > > * Both libiconv and gettext packages were COMPLETELY reorganized > between (libiconv: 1.8 -> 1.9.1, gettext: 0.11.5 -> 0.12.1). > * compiled against cygwin-1.5.2 kernel > * documentation moved to /usr/share/* > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/