Re: problem installing Encode module

[email protected] (Steve Hay)
Newsgroups perl.unicode
Message-ID <[email protected]>
[Please keep your replies on the [email protected] list.  Use "Reply 
All" rather than "Reply".]

Piyush Shourie wrote:

>Steve,
>
>I have tried the ways suggested by you, but am not able to build the
>module as yet.
>
>The actual error displayed is as follows:
>
>________________________________________________________________________
>____
>
>C:\Modules\Text-Iconv-1.4>perl Makefile.PL
>LIBS=C:\Modules\libiconv-1.8-1-lib\li
>b
>
I also found that Text-Iconv-1.4 had build problems, even with the 
LIBS=... bit.  It obviously needs a little work to make it more 
Win32-friendly.

You were previously using Text-Iconv-1.2.  That builds fine for me, so 
give that a go.

- Steve

>Your settings:
>  LIBS: C:\Modules\libiconv-1.8-1-lib\lib
>  INC:
>Checking for iconv ... The system cannot find the path specified.
>ok (iconv apparently in libc)
>
>NOTE: If you have multiple iconv implementations installed, you might
>      want to make sure that I've found the one you want to use.
>      If necessary, you can explicitly specify paths like this:
>
>      C:\SiteMinderPerl\bin\Perl.exe Makefile.PL LIBS='-L/path/to/lib'
>INC='-I/p
>ath/to/include'
>
>Checking if your kit is complete...
>Looks good
>Writing Makefile for Text::Iconv
>
>C:\Modules\Text-Iconv-1.4>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:\SiteMinderPerl\bin\Perl.exe -IC:\SiteMinderPerl\lib
>-IC:\SiteMinderPe
>rl\lib C:\SiteMinderPerl\lib\ExtUtils/xsubpp  -typemap
>C:\SiteMinderPerl\lib\Ext
>Utils\typemap -typemap typemap Iconv.xs > Iconv.xsc &&
>C:\SiteMinderPerl\bin\Per
>l.exe -IC:\SiteMinderPerl\lib -IC:\SiteMinderPerl\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.4\"  -DXS_VERSION=\"1.4\"
>-IC:\SiteMinderPerl\lib\
>CORE  Iconv.c
>Iconv.c
>"Running Mkbootstrap for Text::Iconv ()"
>        C:\SiteMinderPerl\bin\Perl.exe -IC:\SiteMinderPerl\lib
>-IC:\SiteMinderPe
>rl\lib -MExtUtils::Command -e chmod 644 Iconv.bs
>        C:\SiteMinderPerl\bin\Perl.exe "-IC:\SiteMinderPerl\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:\SiteMinderPerl\lib\CORE"  -machine:x86 Iconv.obj
>C:\Si
>teMinderPerl\lib\CORE\perl56.lib
>C:\PROGRA~1\MIAF9D~1\VC98\LIB\oldnames.lib C:\P
>ROGRA~1\MIAF9D~1\VC98\LIB\kernel32.lib
>C:\PROGRA~1\MIAF9D~1\VC98\LIB\user32.lib
>C:\PROGRA~1\MIAF9D~1\VC98\LIB\gdi32.lib
>C:\PROGRA~1\MIAF9D~1\VC98\LIB\winspool.l
>ib C:\PROGRA~1\MIAF9D~1\VC98\LIB\comdlg32.lib
>C:\PROGRA~1\MIAF9D~1\VC98\LIB\adva
>pi32.lib C:\PROGRA~1\MIAF9D~1\VC98\LIB\shell32.lib
>C:\PROGRA~1\MIAF9D~1\VC98\LIB
>\ole32.lib C:\PROGRA~1\MIAF9D~1\VC98\LIB\oleaut32.lib
>C:\PROGRA~1\MIAF9D~1\VC98\
>LIB\netapi32.lib C:\PROGRA~1\MIAF9D~1\VC98\LIB\uuid.lib
>C:\PROGRA~1\MIAF9D~1\VC9
>8\LIB\wsock32.lib C:\PROGRA~1\MIAF9D~1\VC98\LIB\mpr.lib
>C:\PROGRA~1\MIAF9D~1\VC9
>8\LIB\winmm.lib C:\PROGRA~1\MIAF9D~1\VC98\LIB\version.lib
>C:\PROGRA~1\MIAF9D~1\V
>C98\LIB\odbc32.lib C:\PROGRA~1\MIAF9D~1\VC98\LIB\odbccp32.lib
>C:\PROGRA~1\MIAF9D
>~1\VC98\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.
>________________________________________________________________________
>____
>
>One more suggestion: If you have tried the same yourself, can you help
>me out by packaging the binaries built into a PPM package.
>
>Hope the above-mentioned error message provides you a better view of the
>problem.
>
>Thanks,
>Piyush
>




------------------------------------------------
This email has been scanned for viruses and content by the Radan Computational Webshield Appliances.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.