CC: | Swapnajit Chakraborti <fi13swapnajitc [...] iimidr.ac.in> |
Subject: | Not finding libiconv |
Date: | Sat, 16 Aug 2014 19:05:34 +0530 |
To: | bug-Text-Iconv [...] rt.cpan.org |
From: | Swapnajit Chakraborti <fi13swapnajitc [...] iimidr.ac.in> |
I am using version 5.18.2 of strawberry perl.
While trying to install Text::Iconv I get following error which says it
cannot find libiconv.a. But it is available @c/lib. I have specified that
in Path as well.
Please suggest what needs to be done.
Thanks,
Swapnajit
---------------------------------------------------------------------------------------------------------
C:\>cpan Text::Iconv
CPAN: CPAN::SQLite loaded ok (v0.203)
Database was generated on Fri, 15 Aug 2014 16:19:23 GMT
Running install for module 'Text::Iconv'
Running make for M/MP/MPIOTR/Text-Iconv-1.7.tar.gz
CPAN: Digest::SHA loaded ok (v5.88)
CPAN: Compress::Zlib loaded ok (v2.064)
Checksum for
C:\strawberry\cpan\sources\authors\id\M\MP\MPIOTR\Text-Iconv-1.7.ta
r.gz ok
CPAN: Archive::Tar loaded ok (v1.96)
CPAN: File::Temp loaded ok (v0.2304)
CPAN: Parse::CPAN::Meta loaded ok (v1.4414)
CPAN: CPAN::Meta loaded ok (v2.140640)
CPAN.pm: Building M/MP/MPIOTR/Text-Iconv-1.7.tar.gz
*Checking for iconv ... fail*
Failed to find iconv, please check your settings and re-run as:
C:\strawberry\perl\bin\perl.exe Makefile.PL LIBS='-L/path/to/lib'
INC='-I/path/t
o/include'
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
CPAN: YAML::XS loaded ok (v0.41)
MPIOTR/Text-Iconv-1.7.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Stopping: 'install' failed for 'Text::Iconv'.
Could not read metadata file. Falling back to other methods to determine
prerequ
isites
C:\>