Piyush Shourie <piyush_shourie(_at_)infosys(_dot_)com> writes:
Hi,
I am not able to compile Encode module, as one of the pre-requisites of
Encode module, Text::Iconv does not compile on Windows platform.
When did that happen?
I am
currently using ActiveState Perl 5.6.1, and cannot upgrade to the newer
version of Perl because of project requirements.
Please let me know if there is some available ppd for installation of
the said module on Windows platform.
In case there is no ppd available, kindly look into the error received
and let me know if there is anything I could do to resolve the issue:
C:\Modules\Text-Iconv-1.2>perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Iconv
C:\Modules\Text-Iconv-1.2>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp Iconv.pm blib\lib\Text\Iconv.pm
AutoSplitting blib\lib\Text\Iconv.pm (blib\lib\auto\Text\Iconv)
C:\Perl\bin\Perl.exe -IC:\Perl\lib -IC:\SiteMinderPe
rl\lib C:\Perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\Ext
Utils\typemap -typemap typemap Iconv.xs > Iconv.xsc && C:\Perl\bin\Per
l.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e mv
Iconv.xsc Iconv.c
cl -c -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DE
S_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DPERL_MSVCRT_READFIX -O1 -
MD -DNDEBUG -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\" -IC:\Perl\lib\
CORE Iconv.c
Iconv.c
"Running Mkbootstrap for Text::Iconv ()"
C:\Perl\bin\Perl.exe -IC:\Perl\lib -IC:\SiteMinderPe
rl\lib -MExtUtils::Command -e chmod 644 Iconv.bs
C:\Perl\bin\Perl.exe "-IC:\Perl\lib" "-IC:\SiteMinde
rPerl\lib" -MExtUtils::Mksymlists -e "Mksymlists('NAME' =>
'Text::Iconv', 'DLBA
SE' => 'Iconv', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { },
'DL_VAR
S' => []);"
link -out:blib\arch\auto\Text\Iconv\Iconv.dll -dll -nologo
-nodefaultlib
-release -libpath:"C:\Perl\lib\CORE" -machine:x86 Iconv.obj C:\Si
teMinderPerl\lib\CORE\perl56.lib oldnames.lib kernel32.lib user32.lib
gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib neta
pi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib
odbccp32
.lib msvcrt.lib -def:Iconv.def
Creating library blib\arch\auto\Text\Iconv\Iconv.lib and object
blib\arch\aut
o\Text\Iconv\Iconv.exp
Iconv.obj : error LNK2001: unresolved external symbol __imp__libiconv
Iconv.obj : error LNK2001: unresolved external symbol
__imp__libiconv_open
Iconv.obj : error LNK2001: unresolved external symbol
__imp__libiconv_close
blib\arch\auto\Text\Iconv\Iconv.dll : fatal error LNK1120: 3 unresolved
external
s
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
Thanks,
Piyush