Re: Validator on NT4 - Iconv problems

Hello David,

Have you had any progress? If you don't get libiconv to work,
it may be possible to replace the call to Text::Iconv with
a call to some other library or filter. One solution would
be Uniconv, downloadable at http://rosette.basistech.com/demo.html.
That would be an external program, which would be slower than
a library, but I guess it should be okay. One problem is that
you have to match the 'charset'/'encoding' labels registered
by IANA and the labels that uniconv is using. There is a
similar problem for iconv, and I'm currently working on it.

Regards,   Martin.

At 13:24 01/06/07 -0400,  wrote:
>Hello All,
>
>I previously got validator running on WinNT without too much trouble.
>I recently downloaded a newer tar ball, and haven't managed to get it
>running again.  (In my great wisdom, I overwrote the old one)
>
>The problem I'm having is with the perl module: iconv (file:check v
>1.91 line 25).
>
>I downloaded Text-Iconv-1.1 from
>http://www.cpan.org/modules/by-authors/Michael_Piotrowski/?S=A.  I
>also downloaded libiconv-1.6.1.tar.gz from
>http://clisp.cons.org/~haible/packages-libiconv.html as suggested in
>the readme for Text-Iconv-1.1.  I installed MSVC 6.0 and was able to
>build libiconv, both for static and shared library.  (I wasn't sure
>which one was required.)  I followed the instructions for installing
>libiconv, and then tried building Text-Iconv-1.1.
>
>Making the Makefile seems to work ok
>
>If I try the gnu make on that, I get the following error:
>Makefile:781: *** missing separator.  Stop.
>
>If I try nmake I get this output:
>Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
>Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
>         cl -c  -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
>-DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
>-DPERL_MSVCRT_READFIX -O1 -MD -DNDE
>BUG      -DVERSION=\"1.1\"  -DXS_VERSION=\"1.1\"  -ID:\Perl\lib\CORE
>Iconv.c
>Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for
>80x86
>Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
>Iconv.c
>"Running Mkbootstrap for Text::Iconv ()"
>         D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\lib
>-MExtUtils::Command -e chmod 644 Iconv.bs
>         link -out:blib\arch\auto\Text\Iconv\Iconv.dll -dll -nologo
>-nodefaultlib -release  -libpath:"D:\Perl\lib\CORE"  -machine:x86
>Iconv.obj   D:\Perl\lib\COR
>E\perl56.lib oldnames.lib kernel32.lib user32.lib gdi32.lib
>winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib
>oleaut32.lib  netapi32.lib uuid.lib ws
>ock32.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\auto\Text\Iconv\Iconv.exp
>Iconv.obj : error LNK2001: unresolved external symbol _libiconv
>Iconv.obj : error LNK2001: unresolved external symbol _libiconv_open
>Iconv.obj : error LNK2001: unresolved external symbol _libiconv_close
>blib\arch\auto\Text\Iconv\Iconv.dll : fatal error LNK1120: 3
>unresolved externals
>NMAKE : fatal error U1077: 'link' : return code '0x460'
>Stop.
>
>Any help would be appreciated.  Once I manage build iconv, I will also
>need to know which files to put where.  e.g. iconv.pm in the
>Perl/lib/Text folder - I don't know what else.
>
>Or maybe someone could point me to an earlier tar ball that doesn't
>use this module.
>
>Thanks
>
>________________________________________________________________
>Mid-year intake! Enrol NOW & stand a chance to win 25% discount
>http://www.milpark.co.za

Received on Thursday, 14 June 2001 06:07:29 UTC