openwebmail install



Hi all,

I'm installing openwebmail on AIX 5.1, Text-Iconv is required:

# perl Makefile.PL
Checking for iconv ... Checking if your kit is complete...
Looks good
Writing Makefile for Text::Iconv
# make
cp Iconv.pm blib/lib/Text/Iconv.pm
AutoSplitting blib/lib/Text/Iconv.pm (blib/lib/auto/Text/Iconv)
/usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "Text:
:Iconv", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/
local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Iconv.xs > Iconv.xsc &&
mv Iconv.xsc Iconv.c
cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qno
ansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -qlonglon
g -O -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" "-I/usr/local/lib/perl5/5.8.8/a
ix/CORE" Iconv.c
cc: unrecognized option '-qmaxmem=-1'
cc: unrecognized option '-qnoansialias'
cc: unrecognized option '-q32'
cc: unrecognized option '-qlonglong'
Running Mkbootstrap for Text::Iconv ()
chmod 644 Iconv.bs
rm -f 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.3
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load........ok
t/01_charsets....FAILED tests 7, 10, 12-13
Failed 4/13 tests, 69.23% okay (less 2 skipped tests: 7 okay, 53.85%)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/01_charsets.t 13 4 30.77% 7 10 12-13
2 subtests skipped.
Failed 1/2 test scripts, 50.00% okay. 4/14 subtests failed, 71.43% okay.
make: 1254-004 The error code from the last command is 2.

Stop.

When i try, via browser, the cgi-bin openwebmail.pl, i get the error:

Software error:
Can't load '/usr/local/lib/perl5/site_perl/5.8.8/aix/auto/Text/Iconv/Iconv.so' f
or module Text::Iconv: at /usr/local/lib/perl5/5.8.8/aix/DynaLoader.pm line 230
..
at /usr/local/apache/cgi-bin/openwebmail/shares/iconv.pl line 9
Compilation failed in require at /usr/local/apache/cgi-bin/openwebmail/shares/ic
onv.pl line 9.
BEGIN failed--compilation aborted at /usr/local/apache/cgi-bin/openwebmail/share
s/iconv.pl line 9.
......

Software error:
[Mon Nov 20 09:34:49 2006] .openwebmail.pl: Can't load '/usr/local/lib/perl5/sit
e_perl/5.8.8/aix/auto/Text/Iconv/Iconv.so' for module Text::Iconv: at /usr/loca
l/lib/perl5/5.8.8/aix/DynaLoader.pm line 230.
[Mon Nov 20 09:34:49 2006] .openwebmail.pl: at /usr/local/apache/cgi-bin/openwe
bmail/shares/iconv.pl line 9

what is the mistake?
the env:

AIX 5.1
Perl 5.8.8
openwebmail 'current version' up to date,
Text-Iconv-1.4
# gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.1.0.0
Configured with: ../gcc-4.0.0/configure --disable-aix64 --disable-nls
Thread model: aix
gcc version 4.0.0

cc symbolic link at gcc


anyone can help?

TIA
dario



Dario Cinquetti

STUDIO 3C SNC - Via Cimabue 4 - 20148 MILANO
tel: 02.33000403 fax: 02.33001350 email: cinquetti@xxxxxxxxxxx

Relevant Pages

  • Re: Please critique this short script that scans a log file
    ... the script needs to run on AIX 4.3 (which ... on exclusively on the IBM AIX 5.1, ... whatever Perl they come with. ... >are really are computing a string of printf template elements. ...
    (comp.lang.perl.misc)
  • Problem on AIX
    ... I want install a version of the DBD::Informix in a AIX 4.3.3 with Informix 5 and ESQL/C 5.20 installed. ... You are using DBI version 1.50 and Perl version 5.008 ...
    (perl.dbi.users)
  • Re: Nested loop
    ... the foreach expression ... their copy of Perl affect how I code or advise ... I agree with Chas and can support the AIX notion as I ...
    (perl.beginners)
  • RE: Problem on AIX
    ... 92565 Rueil-Malmaison Cedex ... On Thu, 13 Jul 2006, Jerome Pelletier wrote: ... I want install a version of the DBD::Informix in a AIX 4.3.3 with Informix 5 and ESQL/C 5.20 installed. ... You are using DBI version 1.50 and Perl version 5.008 ...
    (perl.dbi.users)
  • AW: Hello - Welcome
    ... Pick up a good perl book, or look into a perl cookbook. ... if it uses 'configure' you can usually set the install directory to ... bunch of linux libraries before you start. ... there a similar site for contributed AIX tools? ...
    (AIX-L)