On 13 Feb 2008, Adrian Howard suggested: 

>Run the individual failing tests with prove, e.g.
>       prove -lv t/compat.t
>or run all the tests in verbose mode.
>     ./Build test verbose=1

./Build test verbose=1 created so much output that it wrapped my secure
shell buffer; even using prove I had to redirect the output to a file to
capture it all.
prove -lv t/compat.t > prove.txt 2>&1

The output showed tests 5, 15, and 25 failing. 5 & 15 because:
Can't locate Module/Build/ConfigData.pm in @INC 
find showed that the module exists here:
./blib/lib/Module/Build/ConfigData.pm
but /blib is not in @INC.  I copied the module to the lib directory to
resolve the issue.  
cp blib/lib/Module/Build/ConfigData.pm lib/Module/Build/ConfigData.pm

Test 25 is still failing and I'm at a loss as to what to do.  The
relevant section of the prove output is below.  I verified that all
files mentioned exist and are readable by ALL, not just the root user.
I googled and found this has something to do with the linker and that
setting LD_LIBRARY_PATH or SHLIB_PATH may have some affect, but I have
no idea what to set it to.  I am using the following HP compiler.
[/tmp/perl_modules/Module-Build-0.2808] # ls -l /usr/bin | grep cc
lr-xr-xr-t   1 root       sys             15 Feb  7 11:49 ar ->
/usr/ccs/bin/ar
lrwxr-xr-t   1 root       sys             15 Feb  7 11:49 cc ->
/usr/ccs/bin/cc
[/tmp/perl_modules/Module-Build-0.2808] # what /usr/ccs/bin/cc
/usr/ccs/bin/cc:
        HP aC++/C for Itanium(R)-based systems B3910B A.05.50 [May 15
2003]

Any help will be greatly appreciated.  I haven't looked at the ppm
failures yet...one at a time...
Paula 

---prove output (watch for wrapping)---
ok 24 - Makefile should exist
make
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
         make -f Makefile.old clean > /dev/null 2>&1
        /opt/perl_64/bin/perl Makefile.PL 
Checking if your kit is complete...
Looks good
Writing Makefile for Simple
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
        false
*** Error exit code 1

Stop.
not ok 25

#   Failed test at t/compat.t line 56.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/Cwd
/Cwd.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns Permission
denied.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/IO/
IO.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns Permission denied.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/IO/
IO.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns Permission denied.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/Tim
e/HiRes/HiRes.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns
Permission denied.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/Tim
e/HiRes/HiRes.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns
Permission denied.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/POS
IX/POSIX.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns Permission
denied.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/POS
IX/POSIX.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns Permission
denied.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/Fil
e/Glob/Glob.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns
Permission denied.
/usr/lib/hpux64/dld.so: Cannot map text for
library</opt/perl_64/lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/Fil
e/Glob/Glob.so>: mmap(0x0, 0x6a40, 0x5, 0x41, 10, 0x0) returns
Permission denied.
ok 26 

Reply via email to