Subject: | Error building OpenCA-OpenSSL-0.9.91 using CPAN |
Show quoted text
cpan> install OpenCA::OpenSSL
Running install for module OpenCA::OpenSSL
Running make for M/MA/MADWOLF/OpenCA-OpenSSL-0.9.91.tar.gz
Is already unwrapped into directory /root/.cpan/build/OpenCA-OpenSSL-0.9.91
CPAN.pm: Going to build M/MA/MADWOLF/OpenCA-OpenSSL-0.9.91.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for OpenCA::OpenSSL
cp OpenSSL/SMIME.pm blib/lib/OpenCA/OpenSSL/SMIME.pm
cp OpenSSL.pm blib/lib/OpenCA/OpenSSL.pm
AutoSplitting blib/lib/OpenCA/OpenSSL.pm (blib/lib/auto/OpenCA/OpenSSL)
cp OpenSSL.pod blib/lib/OpenCA/OpenSSL.pod
/usr/bin/perl5.8.6 /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap OpenSSL.xs > OpenSSL.xsc && mv OpenSSL.xsc OpenSSL.c
Please specify prototyping behavior for OpenSSL.xs (see perlxs manual)
gcc -c -I. -I/include -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -DVERSION=\"0.9.91\" -DXS_VERSION=\"0.9.91\" -fPIC "-I/usr/lib/perl5/5.8.6/i386-linux/CORE" OpenSSL.c
Running Mkbootstrap for OpenCA::OpenSSL ()
chmod 644 OpenSSL.bs
rm -f blib/arch/auto/OpenCA/OpenSSL/OpenSSL.so
gcc -shared -L/usr/local/lib OpenSSL.o -o blib/arch/auto/OpenCA/OpenSSL/OpenSSL.so -L/lib -lcrypto
chmod 755 blib/arch/auto/OpenCA/OpenSSL/OpenSSL.so
cp OpenSSL.bs blib/arch/auto/OpenCA/OpenSSL/OpenSSL.bs
chmod 644 blib/arch/auto/OpenCA/OpenSSL/OpenSSL.bs
Manifying blib/man3/OpenCA::OpenSSL::SMIME.3pm
Manifying blib/man3/OpenCA::OpenSSL.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1....Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
t/1....ok
t/2....Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
t/2....ok
t/3....Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
t/3....NOK 2# Failed test 2 in t/3.t at line 16
# t/3.t line 16 is: ok(defined $intcert);
Can't call method "version" on an undefined value at t/3.t line 69.
t/3....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-22
Failed 21/22 tests, 4.55% okay
t/4....Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
t/4....ok
t/5....Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
t/5....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
t/3.t 255 65280 22 41 186.36% 2-22
Failed 1/5 test scripts, 80.00% okay. 21/65 subtests failed, 67.69% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
System: Mandrake Linux cooker:
# uname -a
Linux hostname.altkom.pl 2.6.8.1-20mdk #1 Mon Nov 8 12:35:22 CET 2004 i686 Celeron (Coppermine) unknown GNU/Linux
Perl version:
# perl -v
This is perl, v5.8.6 built for i386-linux
(with 2 registered patches, see perl -V for more detail)
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Detailed Perl version:
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=linux, osvers=2.6.8.1-2mdkenterprise, archname=i386-linux
uname='linux n1.mandrakesoft.com 2.6.8.1-2mdkenterprise #1 smp wed aug 18 17:52:04 cest 2004 i686 intel(r) xeon(tm) cpu 2.80ghz unknown gnulinux '
config_args='-des -Dinc_version_list=5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dman3ext=3pm -Dcf_by=Mandrakesoft -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=root@localhost -Dd_dosuid -Ud_csh -Duseshrplib -Accflags=-DPERL_DISABLE_PMC'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro ',
cppflags='-DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.3.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.3'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.6/i386-linux/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Locally applied patches:
RC1
MandrakeSoft patches (cf the source RPM)
Built under linux
Compiled at Nov 12 2004 19:15:53
@INC:
/usr/lib/perl5/5.8.6/i386-linux
/usr/lib/perl5/5.8.6
/usr/lib/perl5/site_perl/5.8.6/i386-linux
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.