Subject: | Installation fails - Ubuntu, perl 5.10.1 |
I am trying to install Server::Control and some dependency fails.
Here is the log:
--> Working on Server::Control
Fetching http://www.cpan.org/authors/id/J/JS/JSWARTZ/Server-Control-
0.20.tar.gz ... OK
Configuring Server-Control-0.20 ... OK
==> Found dependencies: Proc::ProcessTable
--> Working on Proc::ProcessTable
Fetching http://www.cpan.org/authors/id/D/DU/DURIST/Proc-ProcessTable-
0.45.tar.gz ... OK
Configuring Proc-ProcessTable-0.45 ... OK
Building and testing Proc-ProcessTable-0.45 ... FAIL
! Installing Proc::ProcessTable failed. See
/home/dpetrov/.cpanm/build.log for details.
! Bailing out the installation for Server-Control-0.20. Retry with --
prompt or --force.
and my build.log
Building and testing Proc-ProcessTable-0.45
cp Killall.pm blib/lib/Proc/Killall.pm
cp ProcessTable.pm blib/lib/Proc/ProcessTable.pm
cp example.pl blib/lib/Proc/example.pl
cp Killfam.pm blib/lib/Proc/Killfam.pm
make[1]: Entering directory
`/home/dpetrov/.cpanm/work/1347357726.6228/Proc-ProcessTable-
0.45/Process'
cp Process.pm ../blib/lib/Proc/ProcessTable/Process.pm
AutoSplitting ../blib/lib/Proc/ProcessTable/Process.pm
(../blib/lib/auto/Proc/ProcessTable/Process)
Manifying ../blib/man3/Proc::ProcessTable::Process.3
make[1]: Leaving directory
`/home/dpetrov/.cpanm/work/1347357726.6228/Proc-ProcessTable-
0.45/Process'
/home/dpetrov/perl5/perlbrew/perls/perl-5.10.1/bin/perl
/home/dpetrov/perl5/perlbrew/perls/perl-
5.10.1/lib/5.10.1/ExtUtils/xsubpp -typemap
/home/dpetrov/perl5/perlbrew/perls/perl-
5.10.1/lib/5.10.1/ExtUtils/typemap ProcessTable.xs > ProcessTable.xsc
&& mv ProcessTable.xsc ProcessTable.c
cc -c -fno-strict-aliasing -pipe -fstack-protector -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -
DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" -fPIC "-
I/home/dpetrov/perl5/perlbrew/perls/perl-5.10.1/lib/5.10.1/i686-
linux/CORE" ProcessTable.c
ProcessTable.xs: In function ‘XS_Proc__ProcessTable__initialize_os’:
ProcessTable.xs:391: warning: format not a string literal and no format
arguments
cc -c -fno-strict-aliasing -pipe -fstack-protector -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -
DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" -fPIC "-
I/home/dpetrov/perl5/perlbrew/perls/perl-5.10.1/lib/5.10.1/i686-
linux/CORE" OS.c
OS.c: In function ‘eval_link’:
OS.c:390: warning: assignment makes pointer from integer without a cast
OS.c: In function ‘OS_get_table’:
OS.c:691: warning: passing argument 2 of ‘bless_into_proc’ from
incompatible pointer type
os/Linux.h:4: note: expected ‘char **’ but argument is of type ‘const
char * const*’
Running Mkbootstrap for Proc::ProcessTable ()
chmod 644 ProcessTable.bs
rm -f blib/arch/auto/Proc/ProcessTable/ProcessTable.so
cc -shared -O2 -L/usr/local/lib -fstack-protector OS.o ProcessTable.o
-o blib/arch/auto/Proc/ProcessTable/ProcessTable.so \
\
chmod 755 blib/arch/auto/Proc/ProcessTable/ProcessTable.so
cp ProcessTable.bs blib/arch/auto/Proc/ProcessTable/ProcessTable.bs
chmod 644 blib/arch/auto/Proc/ProcessTable/ProcessTable.bs
Manifying blib/man3/Proc::ProcessTable.3
Manifying blib/man3/Proc::Killall.3
Manifying blib/man3/Proc::Killfam.3
make[1]: Entering directory
`/home/dpetrov/.cpanm/work/1347357726.6228/Proc-ProcessTable-
0.45/Process'
make[1]: Leaving directory
`/home/dpetrov/.cpanm/work/1347357726.6228/Proc-ProcessTable-
0.45/Process'
PERL_DL_NONLAZY=1 /home/dpetrov/perl5/perlbrew/perls/perl-
5.10.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
Can't load '/home/dpetrov/.cpanm/work/1347357726.6228/Proc-ProcessTable-
0.45/blib/arch/auto/Proc/ProcessTable/ProcessTable.so' for module
Proc::ProcessTable: /home/dpetrov/.cpanm/work/1347357726.6228/Proc-
ProcessTable-0.45/blib/arch/auto/Proc/ProcessTable/ProcessTable.so:
undefined symbol: pthread_once at
/home/dpetrov/perl5/perlbrew/perls/perl-5.10.1/lib/5.10.1/i686-
linux/DynaLoader.pm line 200.
at t/process.t line 9.
Compilation failed in require at t/process.t line 9.
BEGIN failed--compilation aborted at t/process.t line 9.
t/process.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
Cheers,
Dimitar