[KLUG Members] Install libiconv problem

Jamie McCarthy members@kalamazoolinux.org
Tue, 7 May 2002 17:02:18 -0400


deal@kzoo.edu (Ralph M. Deal) writes:

> In an attempt to implement a photo album utility, I had to
> install a set of libraries.  After some time, I got all to
> install satisfactorily except for one:   Text::Iconv, which I
> have worked at from two approaches, both of which in the
> final istallation step give the error message shown in th
> attachment. I cannot find lgcc in either the original
> Makefile.PL nor in the generated Makefile whose attempted
> execution leads to the error.

No attachment received, sorry.  When I try to install it, it "just
works."  Email me directly with your error message and I'll try to
diagnose.

# cpan

cpan shell -- CPAN exploration and modules installation (v1.60)
ReadLine support enabled

cpan> install Text::Iconv

[cruft deleted...]

Checking if your kit is complete...
Looks good
Writing Makefile for Text::Iconv
cp Iconv.pm blib/lib/Text/Iconv.pm
AutoSplitting blib/lib/Text/Iconv.pm (blib/lib/auto/Text/Iconv)
/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 /usr/share/perl/5.6.1/ExtUtils/xsubpp  -typemap /usr/share/perl/5.6.1/ExtUtils/typemap -typemap typemap Iconv.xs > Iconv.xsc && mv Iconv.xsc Iconv.c
cc -c  -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\" -fPIC -I/usr/lib/perl/5.6.1/CORE  Iconv.c
Iconv.xs: In function `do_conv':
Iconv.xs:90: warning: passing arg 2 of `iconv' from incompatible pointer type
Running Mkbootstrap for Text::Iconv ()
chmod 644 Iconv.bs
rm -f blib/arch/auto/Text/Iconv/Iconv.so
LD_RUN_PATH="" cc  -shared -L/usr/local/lib Iconv.o  -o blib/arch/auto/Text/Iconv/Iconv.so     
chmod 755 blib/arch/auto/Text/Iconv/Iconv.so
cp Iconv.bs blib/arch/auto/Text/Iconv/Iconv.bs
chmod 644 blib/arch/auto/Text/Iconv/Iconv.bs
Manifying blib/man3/Text::Iconv.3pm
  /usr/bin/make  -- OK
Running make test
Use of uninitialized value in scalar assignment at /usr/share/perl/5.6.1/CPAN.pm line 4658.
Use of uninitialized value in hash dereference at /usr/share/perl/5.6.1/CPAN.pm line 801.
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00_load........ok                                                          
t/01_charsets....ok                                                          
All tests successful.
Files=2, Tests=14,  1 wallclock secs ( 0.09 cusr +  0.03 csys =  0.12 CPU)
  /usr/bin/make test -- OK
Running make install
Installing /usr/local/lib/perl/5.6.1/auto/Text/Iconv/Iconv.so
Installing /usr/local/lib/perl/5.6.1/auto/Text/Iconv/Iconv.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib/perl/5.6.1/auto/Text/Iconv/autosplit.ix
Installing /usr/local/lib/perl/5.6.1/Text/Iconv.pm
Installing /usr/local/man/man3/Text::Iconv.3pm
Writing /usr/local/lib/perl/5.6.1/auto/Text/Iconv/.packlist
Appending installation info to /usr/local/lib/perl/5.6.1/perllocal.pod
  /usr/bin/make install UNINST=1 -- OK