I'm running Mac OSX 10.8.3; I installed libevent 2.0.21 (universal) with homebrew; I manage a private Perl 5.16 environment with perlbrew. I'm having trouble installing the CPAN module Event::Lib -- specifically, every single test fails.
When I force installation, perl -e 'use Event::Lib;' segfaults.
I suspect this has something to do with the libevent installation: in the attached log, there are warnings about directories not being found when checking for the existence of libevent, but nothing definitively stating that libevent couldn't be found.
This describes a similar sounding problem, but the solution involved compiling libevent as a universal, which I've tried.
Any suggestions? Install log follows.
~🍔 cpanm --reinstall Event::Lib
--> Working on Event::Lib
Fetching http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Event-Lib-1.03.tar.gz ... OK
Configuring Event-Lib-1.03 ... OK
Building and testing Event-Lib-1.03 ... FAIL
! Installing Event::Lib failed. See /Users/chap/.cpanm/build.log for details.
~🍔 cat .cpanm/build.log
cpanm (App::cpanminus) 1.5018 on perl 5.016001 built for darwin-2level
Work directory is /Users/chap/.cpanm/work/1370047478.40810
You have make /usr/bin/make
You have LWP 6.04
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Event::Lib on cpanmetadb ...
--> Working on Event::Lib
Fetching http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Event-Lib-1.03.tar.gz
-> OK
Unpacking Event-Lib-1.03.tar.gz
Entering Event-Lib-1.03
Checking configure dependencies from META.yml
Configuring Event-Lib-1.03
Running Makefile.PL
Checking existance of libevent...ld: warning: directory not found for option '-L/sw/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
yes
Checking capabilities...
event_set_log_callback...yes
event_priority_init...yes
Additional defines: -DHAVE_LOG_CALLBACKS -DHAVE_PRIORITIES
Checking if your kit is complete...
Looks good
Writing Makefile for Event::Lib
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02)
Building and testing Event-Lib-1.03
cp Lib/Event/Lib.pm blib/lib/Event/Lib.pm
Skip blib/lib/Event/Lib.pm (unchanged)
/Users/chap/perl5/perlbrew/perls/perl-5.16.1/bin/perl /Users/chap/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/ExtUtils/xsubpp -typemap /Users/chap/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/ExtUtils/typemap -typemap typemap Lib.xs > Lib.xsc && mv Lib.xsc Lib.c
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" "-I/Users/chap/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/darwin-2level/CORE" -DHAVE_CONFIG_H -DHAVE_LOG_CALLBACKS -DHAVE_PRIORITIES Lib.c
Running Mkbootstrap for Event::Lib ()
chmod 644 Lib.bs
rm -f blib/arch/auto/Event/Lib/Lib.bundle
LD_RUN_PATH="/usr/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector Lib.o -o blib/arch/auto/Event/Lib/Lib.bundle \
-levent -lm \
chmod 755 blib/arch/auto/Event/Lib/Lib.bundle
cp Lib.bs blib/arch/auto/Event/Lib/Lib.bs
chmod 644 blib/arch/auto/Event/Lib/Lib.bs
Manifying blib/man3/Event::Lib::Event::Lib.3
Manifying blib/man3/Event::Lib.3
PERL_DL_NONLAZY=1 /Users/chap/perl5/perlbrew/perls/perl-5.16.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_pod.t ....................... ok
t/00_pod_coverage.t .............. ok
t/01_event-lib.t .................
Failed 2/2 subtests
t/10_event.t .....................
[*** snip ***]
t/62_events_readded.t ............
No subtests run
t/63_events_readded.t ............
No subtests run
t/64_pending_events_destroyed.t ..
No subtests run
t/65_stress_no_clone.t ...........
No subtests run
t/70_misc.t ......................
Failed 4/4 subtests
t/71_misc.t ......................
Failed 2/2 subtests
t/72_misc.t ......................
Failed 1/1 subtests
t/73_misc.t ......................
Failed 26/26 subtests
t/80_processes.t .................
No subtests run
t/90_leak.t ......................
No subtests run
t/91_leak.t ......................
No subtests run
t/92_leak.t ......................
No subtests run
t/93_leak.t ......................
No subtests run
Test Summary Report
-------------------
t/01_event-lib.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/10_event.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 2 tests but ran 0.
[*** snip ***]
t/93_leak.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
Files=36, Tests=2, 6 wallclock secs ( 0.10 usr 0.06 sys + 0.59 cusr 0.11 csys = 0.86 CPU)
Result: FAIL
Failed 34/36 test programs. 0/2 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing Event::Lib failed. See /Users/chap/.cpanm/build.log for details.
~🍔
Try the patch in this bug report?
Related
I tried to install Algorithm::AhoCorasick::XS on a Windows PC, but it reports the following error: (On macOS, the installation of this module was successful.)
I have tried the advices mentioned in this post, but to no avail.
cpanm (App::cpanminus) 1.7044 on perl 5.032000 built for MSWin32-x64-multi-thread
Work directory is C:\Users\chris/.cpanm/work/1610116257.2408
You have make C:\Strawberry\c\bin\gmake.exe
You have LWP 6.46
You have C:\WINDOWS\system32\tar.exe, C:\msys64\usr\bin\gzip.exe and C:\msys64\usr\bin\bzip2.exe
Searching Algorithm::AhoCorasick::XS () on cpanmetadb ...
--> Working on Algorithm::AhoCorasick::XS
Fetching http://www.cpan.org/authors/id/R/RJ/RJH/Algorithm-AhoCorasick-XS-0.04.tar.gz
-> OK
Unpacking Algorithm-AhoCorasick-XS-0.04.tar.gz
Entering Algorithm-AhoCorasick-XS-0.04
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.46)
Configuring Algorithm-AhoCorasick-XS-0.04
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Algorithm::AhoCorasick::XS
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have List::MoreUtils 0 ... Yes (0.428)
Checking if you have Data::Dump 0 ... Yes (1.23)
Checking if you have Test::More 0.96 ... Yes (1.302175)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.46)
Building and testing Algorithm-AhoCorasick-XS-0.04
cp lib/Algorithm/AhoCorasick/XS.pm blib\lib\Algorithm\AhoCorasick\XS.pm
Running Mkbootstrap for XS ()
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "XS.bs"
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs blib\arch\auto\Algorithm\AhoCorasick\XS\XS.bs 644
g++ -c -Wall -std=c++11 -s -O2 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-IC:\STRAWB~1\perl\lib\CORE" Matcher.cpp
"C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils/xsubpp" -C++ -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap -typemap C:\Users\chris\.cpanm\work\1610116257.2408\Algorithm-AhoCorasick-XS-0.04\perlobject.map -typemap C:\Users\chris\.cpanm\work\1610116257.2408\Algorithm-AhoCorasick-XS-0.04\typemap -typemap C:\Users\chris\.cpanm\work\1610116257.2408\Algorithm-AhoCorasick-XS-0.04\typemap ac.xs > ac.xsc
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- ac.xsc ac.c
g++ -c -Wall -std=c++11 -s -O2 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-IC:\STRAWB~1\perl\lib\CORE" ac.c
In file included from ac.xs:11:
ppport.h:4594: warning: "WIDEST_UTYPE" redefined
define WIDEST_UTYPE U64TYPE
In file included from C:\STRAWB~1\perl\lib\CORE/perl.h:2753,
from ac.xs:5: C:\STRAWB~1\perl\lib\CORE/handy.h:1251: note: this is the location of the previous definition
define WIDEST_UTYPE U64
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Algorithm::AhoCorasick::XS\", 'DLBASE' => 'XS', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
g++ XS.def -o blib\arch\auto\Algorithm\AhoCorasick\XS\XS.xs.dll -mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" Matcher.o ac.o "C:\STRAWB~1\perl\lib\CORE\libperl532.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -Wl,--enable-auto-image-base
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Algorithm\AhoCorasick\XS\XS.xs.dll
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs blib\arch\auto\Algorithm\AhoCorasick\XS\XS.bs 644
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
ac.c: loadable library and perl binaries are mismatched (got handshake key 0000000012400080, needed 0000000012900080)
t/basic.t .......
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
ac.c: loadable library and perl binaries are mismatched (got handshake key 0000000012400080, needed 0000000012900080)
t/details.t .....
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
ac.c: loadable library and perl binaries are mismatched (got handshake key 0000000012400080, needed 0000000012900080)
t/edge_cases.t ..
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
ac.c: loadable library and perl binaries are mismatched (got handshake key 0000000012400080, needed 0000000012900080)
t/utf8.t ........
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
ac.c: loadable library and perl binaries are mismatched (got handshake key 0000000012400080, needed 0000000012900080)
t/variation.t ...
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
Test Summary Report
-------------------t/basic.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/details.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/edge_cases.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/utf8.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/variation.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
Files=5, Tests=0, 2 wallclock secs ( 0.03 usr + 0.14 sys = 0.17 CPU)
Result: FAIL
Failed 5/5 test programs. 0/0 subtests failed.
gmake: *** [Makefile:1042: test_dynamic] Error 1
-> FAIL Installing Algorithm::AhoCorasick::XS failed. See C:\Users\chris\.cpanm\work\1610116257.2408\build.log for details. Retry with --force to force install it.
[1]: https://stackoverflow.com/questions/45000585/listutil-c-loadable-library-and-perl-binaries-are-mismatched-got-handshake-key
there was a problem installing the AnyEvent::DBI for perl v5.18.2 on macOS High Sierra 10.13.3
As I understood, the AnyEvent::Fork dependency module is not installed, here's the information from CPAN
cpan[1]> install AnyEvent::Fork
Reading '/Users/dmitry/.cpan/Metadata'
Database was generated on Tue, 20 Feb 2018 15:29:03 GMT
Running install for module 'AnyEvent::Fork'
Checksum for /Users/dmitry/.cpan/sources/authors/id/M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz ok
Scanning cache /Users/dmitry/.cpan/build for sizes
............................................................................DONE
Configuring M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for AnyEvent::Fork
Writing MYMETA.yml and MYMETA.json
MLEHMANN/AnyEvent-Fork-1.31.tar.gz
/usr/bin/perl Makefile.PL -- OK
Running make for M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz
cp Fork/Template.pm blib/lib/AnyEvent/Fork/Template.pm
cp Fork/Serve.pm blib/lib/AnyEvent/Fork/Serve.pm
cp Fork/Early.pm blib/lib/AnyEvent/Fork/Early.pm
cp Fork.pm blib/lib/AnyEvent/Fork.pm
Manifying 3 pod documents
MLEHMANN/AnyEvent-Fork-1.31.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ...... ok
t/01_early.t ..... ok
t/02_template.t .. ok
t/03_new.t ....... ok
t/04_tofrom.t .... Failed 2/18 subtests
Test Summary Report
-------------------
t/04_tofrom.t (Wstat: 0 Tests: 18 Failed: 2)
Failed tests: 16-17
Files=5, Tests=34, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.15 cusr 0.04 csys = 0.25 CPU)
Result: FAIL
Failed 1/5 test programs. 2/34 subtests failed.
make: *** [test_dynamic] Error 255
MLEHMANN/AnyEvent-Fork-1.31.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MLEHMANN/AnyEvent-Fork-1.31.tar.gz
Failed during this command:
MLEHMANN/AnyEvent-Fork-1.31.tar.gz : make_test NO
cpan[2]> reports MLEHMANN/AnyEvent-Fork-1.31.tar.gz
Distribution: M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz
Fetching 'http://www.cpantesters.org/show/AnyEvent-Fork.yaml'...DONE
Catching error: "CPAN::Exception::yaml_process_error=HASH(0x7fdfcd59c350)" at /Library/Perl/Updates/5.18.2/CPAN.pm line 392.
CPAN::shell() called at /Library/Perl/Updates/5.18.2/App/Cpan.pm line 414
App::Cpan::_process_options("App::Cpan") called at /Library/Perl/Updates/5.18.2/App/Cpan.pm line 511
App::Cpan::run("App::Cpan") called at /usr/local/bin/cpan line 10
cpan[3]>
The most interesting on the previous version of macOS I installed this module.
I'm using Perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi and I'm trying to install UNIVERSAL::DOES from cpan (with sudo) using install UNIVERSAL::DOES and I get the following log:
Reading '/home/aris/.cpan/Metadata'
Database was generated on Tue, 10 Jun 2014 02:17:02 GMT
Running install for module 'UNIVERSAL::DOES'
Checksum for /home/aris/.cpan/sources/authors/id/G/GF/GFUJI/UNIVERSAL-DOES-0.004.tar.gz ok
Scanning cache /home/aris/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring G/GF/GFUJI/UNIVERSAL-DOES-0.004.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for UNIVERSAL::DOES
Writing MYMETA.yml and MYMETA.json
GFUJI/UNIVERSAL-DOES-0.004.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for G/GF/GFUJI/UNIVERSAL-DOES-0.004.tar.gz
cp lib/UNIVERSAL/DOES.pm blib/lib/UNIVERSAL/DOES.pm
Manifying blib/man3/UNIVERSAL::DOES.3pm
GFUJI/UNIVERSAL-DOES-0.004.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ... 1/1 # Testing UNIVERSAL::DOES/0.004
t/00_load.t ... ok
t/01_basic.t .. 1/45
# Failed test at t/01_basic.t line 96.
# Failed test at t/01_basic.t line 97.
# Looks like you failed 2 tests of 45.
t/01_basic.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/45 subtests
Test Summary Report
-------------------
t/01_basic.t (Wstat: 512 Tests: 45 Failed: 2)
Failed tests: 33-34
Non-zero exit status: 2
Files=2, Tests=46, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.07 cusr 0.01 csys = 0.13 CPU)
Result: FAIL
Failed 1/2 test programs. 2/46 subtests failed.
make: *** [test_dynamic] Error 2
GFUJI/UNIVERSAL-DOES-0.004.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports GFUJI/UNIVERSAL-DOES-0.004.tar.gz
Failed during this command:
GFUJI/UNIVERSAL-DOES-0.004.tar.gz : make_test NO
Is this the proper way to install it? Do I miss something? When I do sudo apt-get install perl I get that all are up to date.
The cpan module you're trying to install UNIVERSAL::DOES is specifically for versions of perl prior to v5.10 when DOES was added to Core: "UNIVERSAL::DOES()" in perl5100delta.
You can find the module and inspect it using:
perl -MUNIVERSAL -e 'print $INC{"UNIVERSAL.pm"}'
Outputs (on my system)
C:/strawberry/perl/lib/UNIVERSAL.pm
I am trying to get the GD perl module to work on my mac. I have installed the gd library
$ gdlib-config --all
GD library 2.1.0
includedir: /usr/local/include
cflags: -I/usr/local/include
ldflags: -L/usr/X11/lib -L/usr/local/lib
libs: -ljpeg -lz -L/usr/local/lib -lpng16 -L/usr/local/lib -lfreetype -lz -lbz2 -lpng16 -liconv
libdir: /usr/local/lib
features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON
However GD fails the make test
$ make test
PERL_DL_NONLAZY=1 /Users/smithk/perl5/perlbrew/perls/perl-5.16.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD.t ........ 1/12 Testing using png support.
t/GD.t ........ Failed 7/12 subtests
(less 2 skipped subtests: 3 okay)
t/Polyline.t .. ok
Test Summary Report
-------------------
t/GD.t (Wstat: 0 Tests: 12 Failed: 7)
Failed tests: 2-7, 10
Files=2, Tests=13, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.09 cusr 0.01 csys = 0.13 CPU)
Result: FAIL
Failed 1/2 test programs. 7/13 subtests failed.
make: *** [test_dynamic] Error 255
I realize that the GD make test is hit or miss, so if I force install I still can't get the Circos program to work with it. I get the following error when I test GD through circos:
Can't locate object method "png" via package "GD::Image" at ./gddiag line 209.
Not sure what is wrong...
I'm trying to install perl from source into a local directory on CentOS 6. I'm having issues installing certain packages with cpan. I solved a bunch of problems by installing some dev rpm's, I solved more problems by telling perl CentOS is 64 bit in the configure line. But I'm having a problem installing Apache2::TaintRequest that I'm not having much luck figuring out. I've been googling and recompiling for the last several days, so hopefully this isn't a dumb question...
Here is what I'm doing.
yum -y install libxml2-devel openssl-devel vsftpd emacs alpine xorg-x11-xauth
yum -y xorg-x11-fonts* gd gd-devel expat mod_perl gdbm gdbm-devel httpd-devel
yum -y mod_ssl slang slang-devel expat expat-devel gmp gmp-devel curl
yum -y curl-devel jemalloc jemalloc-devel
mkdir /local_perl
cd /root/
wget http://www.cpan.org/src/5.0/perl-5.18.0.tar.gz
tar -xzxf /root/initial_install/perl-5.18.0.tar.gz
cd perl-5.18.0
CFLAGS='-m64 -mtune=nocona' ./Configure -des -A ccflags="-fPIC -m64" \
-Dprefix=/local_perl -Aldflags='-lresolv -lnsl -ldl -lm -lcrypt -lutil -lc'
make
make test
make install
/local_perl/bin/cpan
/local_perl/bin/cpan Bundle::CPAN
/local_perl/bin/cpan -i YAML
/local_perl/bin/cpan -i Net::OpenID::Consumer
/local_perl/bin/cpan -i Apache2::RequestRec
/local_perl/bin/cpan -i Apache2::TaintRequest # fails
This is where I've gotten, here's the output
[STL root#mgs26 perl-5.18.0]# /local_perl/bin/cpan -i Apache2::TaintRequest #
CPAN: Storable loaded ok (v2.41)
Reading '/root/.cpan/Metadata'
Database was generated on Mon, 12 Aug 2013 19:53:03 GMT
Running install for module 'Apache2::TaintRequest'
Running make for P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz
CPAN: Digest::SHA loaded ok (v5.85)
CPAN: Compress::Zlib loaded ok (v2.062)
Checksum for /root/.cpan/sources/authors/id/P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz ok
CPAN: File::Temp loaded ok (v0.2301)
CPAN: Parse::CPAN::Meta loaded ok (v1.4405)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::CoreList loaded ok (v2.90)
CPAN.pm: Building P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite Taint 0 not found.
Writing Makefile for Apache2::TaintRequest
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- PHRED/Apache2-TaintRequest-0.01.tar.gz ----
Taint [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'Taint'
Running make for P/PH/PHOENIX/Taint-0.09.tar.gz
Checksum for /root/.cpan/sources/authors/id/P/PH/PHOENIX/Taint-0.09.tar.gz ok
CPAN.pm: Building P/PH/PHOENIX/Taint-0.09.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Taint
Writing MYMETA.yml and MYMETA.json
cp Taint.pm blib/lib/Taint.pm
Manifying blib/man3/Taint.3
PHOENIX/Taint-0.09.tar.gz
/usr/bin/make -- OK
CPAN: YAML loaded ok (v0.84)
Running make test
PERL_DL_NONLAZY=1 /local_perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0-basic.t .... Failed 4/52 subtests
t/no-taint.t ... ok
t/tied.t ....... All 11 subtests passed
t/u-untaint.t .. ok
Test Summary Report
-------------------
t/0-basic.t (Wstat: 0 Tests: 52 Failed: 4)
Failed tests: 32, 38-40
t/tied.t (Wstat: 0 Tests: 12 Failed: 1)
Failed test: 12
Parse errors: Bad plan. You planned 11 tests but ran 12.
Files=4, Tests=78, 0 wallclock secs ( 0.07 usr 0.02 sys + 0.07 cusr 0.04 csys = 0.20 CPU)
Result: FAIL
Failed 2/4 test programs. 5/78 subtests failed.
make: *** [test_dynamic] Error 255
PHOENIX/Taint-0.09.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PHOENIX/Taint-0.09.tar.gz
Running make install
make test had returned bad status, won't install without force
Running make for P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt
CPAN.pm: Building P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz
Warning: Prerequisite 'Taint => 0' for 'PHRED/Apache2-TaintRequest-0.01.tar.gz' failed when processing 'PHOENIX/Taint-0.09.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
CPAN: Time::HiRes loaded ok (v1.9725)
cp lib/Apache2/TaintRequest.pm blib/lib/Apache2/TaintRequest.pm
Manifying blib/man3/Apache2::TaintRequest.3
PHRED/Apache2-TaintRequest-0.01.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /local_perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Apache2-TaintRequest.t .. 1/1
# Failed test 'use Apache2::TaintRequest;'
# at t/Apache2-TaintRequest.t line 7.
# Tried to use 'Apache2::TaintRequest'.
# Error: Can't locate Taint.pm in #INC (you may need to install the Taint module) (#INC contains: /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt/blib/lib /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt/blib/arch /local_perl/lib/site_perl/5.18.0/x86_64-linux /local_perl/lib/site_perl/5.18.0 /local_perl/lib/5.18.0/x86_64-linux /local_perl/lib/5.18.0) at /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt/blib/lib/Apache2/TaintRequest.pm line 29.
# BEGIN failed--compilation aborted at /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt/blib/lib/Apache2/TaintRequest.pm line 29.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Apache2-TaintRequest.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/Apache2-TaintRequest.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.04 cusr 0.01 csys = 0.10 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 1
PHRED/Apache2-TaintRequest-0.01.tar.gz
one dependency not OK (Taint); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PHRED/Apache2-TaintRequest-0.01.tar.gz
Running make install
make test had returned bad status, won't install without force
I'm at a loss, any help would be greatly appreciated. Thanks.
Have you seen if perlbrew sets the right flags and just works?
Force install the Taint module first:
cpan[1]> force install Taint
Then: cpan Apache2::TaintRequest