Mail Archives: cygwin/2004/04/19/11:43:18
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/
- Raw text -