- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Difficulty with installing perl modules via CPAN
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 12:16 PM
тАО08-19-2008 12:16 PM
Difficulty with installing perl modules via CPAN
/opt/perl/bin/cpan install SOAP::WSDL
This errors out with:
Can't locate Module/Build/Compat.pm in @INC (..
So, I tried installing Module::Build, which also fails during "make test":
Running make test
/opt/perl_32/bin/perl Build --makefile_env_macros 1 test
t/basic...............ok
t/compat..............21/60
Stop.
# Failed test in t/compat.t at line 56.
Stop.
t/compat..............26/60
# Failed test in t/compat.t at line 63.
# Failed test in t/compat.t at line 64.
# 'MAKE TEST
# 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_32/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
# '
# doesn't match '(?-xism:DONE\.|SUCCESS)'
t/compat..............59/60 # Looks like you failed 3 tests of 60.
t/compat.............. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/60 subtests
This is on a vPar on a rx7640, running 11.23, with perl version D.5.8.8.B (as provided in the Dec 2007 MCOE media).
Does anyone have any suggestions on how to resolve this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 12:49 AM
тАО08-20-2008 12:49 AM
Re: Difficulty with installing perl modules via CPAN
Try this instead:
$ cd /tmp
$ wget http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Module-Build-0.2808_01.tar.gz
$ gzip -d < Module-Build-0.2808_01.tar.gz | tar xf -
$ cd Module-Build-0.2808_01
$ /opt/perl/bin/perl Makefile.PL
$ make
$ make test
$ make install UNINST=1
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 05:35 AM
тАО08-20-2008 05:35 AM
Re: Difficulty with installing perl modules via CPAN
# make test
/opt/perl/bin/perl Build --makefile_env_macros 1 test
t/basic...............ok
t/compat..............33/122
Stop.
# Failed test (t/compat.t at line 237)
Stop.
t/compat..............40/122
# Failed test (t/compat.t at line 243)
# Failed test (t/compat.t at line 244)
# 'MAKE TEST
# 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/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
# '
# doesn't match '(?-xism:DONE\.|SUCCESS)'
t/compat..............73/122
Stop.
t/compat..............84/122
# Failed test (t/compat.t at line 237)
t/compat..............119/122 # Looks like you failed 4 tests of 122.
t/compat.............. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/122 subtests
t/destinations........ok
t/ext.................ok
t/extend..............ok
t/files...............ok
t/help................ok
t/install.............ok
t/manifypods..........ok
t/mbyaml..............ok
t/metadata............ok
t/metadata2...........ok
t/moduleinfo..........ok
t/new_from_context....ok
t/notes...............ok
t/par.................skipped: C_support not enabled
t/parents.............ok
t/pod_parser..........ok
t/ppm.................skipped: C_support not enabled
t/runthrough..........ok
t/signature...........skipped: $ENV{TEST_SIGNATURE} is not set
t/test_type...........ok
t/test_types..........ok
t/tilde...............ok
t/versions............ok
t/xs..................skipped: C_support not enabled
Test Summary Report
-------------------
t/compat (Wstat: 1024 Tests: 122 Failed: 4)
Failed tests: 39-41, 84
Non-zero exit status: 4
Files=26, Tests=815, 40 wallclock secs ( 0.43 usr 0.10 sys + 28.32 cusr 9.15 csys = 38.00 CPU)
Result: FAIL
Failed 1/26 test programs. 4/815 subtests failed.
*** Error exit code 255
Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 05:41 AM
тАО08-20-2008 05:41 AM
Re: Difficulty with installing perl modules via CPAN
Do you have 'prove' ?
$ prove -vb t/compat.t
Should show the exact failures for every failing test.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 06:21 AM
тАО08-20-2008 06:21 AM
Re: Difficulty with installing perl modules via CPAN
t/compat....
1..122
ok 1 - Loaded
ok 2 - Module::Build->new_from_context
ok 3 - small Makefile.PL created
ok 4 - Makefile.PL does not require a perl version
ok 5 - Makefile.PL ran without error
ok 6 - Makefile exists
ok 7 - (skipping cleanup)
ok 8 - Makefile has correct PREREQ_PM line
ok 9 - make ran without error
ok 10 - make test ran without error
ok 11 - make test output indicated success
ok 12 - make realclean ran without error
ok 13 - Makefile.PL ran without error (postargs: INSTALLDIRS=vendor)
ok 14 - Makefile exists
ok 15 - Makefile cleaned up
ok 16 - cleaned up Makefile
ok 17 - Module::Build->new_from_context
ok 18 - passthrough Makefile.PL created
ok 19 - Makefile.PL does not require a perl version
ok 20 - Makefile.PL ran without error
ok 21 - Makefile exists
ok 22 - (skipping cleanup)
ok 23 - Makefile has correct PREREQ_PM line
ok 24 - make ran without error
ok 25 - make test ran without error
ok 26 - make test output indicated success
ok 27 - make realclean ran without error
ok 28 - Makefile.PL ran without error (postargs: INSTALLDIRS=vendor)
ok 29 - Makefile exists
ok 30 - Makefile cleaned up
ok 31 - cleaned up Makefile
ok 32 - Module::Build->new_from_context
ok 33 - traditional Makefile.PL created
ok 34 - Makefile.PL does not require a perl version
ok 35 - Makefile.PL ran without error
ok 36 - Makefile exists
ok 37 - (skipping cleanup)
ok 38 - Makefile has correct PREREQ_PM line
Stop.
not ok 39 - make ran without error
# Failed test 'make ran without error'
# in t/compat.t at line 237.
ok 40 - make test ran without error
ok 41 - make test output indicated success
ok 42 - make realclean ran without error
ok 43 - Makefile.PL ran without error (postargs: INSTALLDIRS=vendor)
ok 44 - Makefile exists
ok 45 - Makefile cleaned up
ok 46 - cleaned up Makefile
ok 47 - Module::Build->new_from_context
ok 48 - small Makefile.PL created
ok 49 - Makefile.PL has 'require 5.008008;'
ok 50 - Makefile.PL ran without error
ok 51 - Makefile exists
ok 52 - (skipping cleanup)
ok 53 - Makefile has correct PREREQ_PM line
ok 54 - make ran without error
ok 55 - make test ran without error
ok 56 - make test output indicated success
ok 57 - make realclean ran without error
ok 58 - Makefile.PL ran without error (postargs: INSTALLDIRS=vendor)
ok 59 - Makefile exists
ok 60 - Makefile cleaned up
ok 61 - cleaned up Makefile
ok 62 - Module::Build->new_from_context
ok 63 - passthrough Makefile.PL created
ok 64 - Makefile.PL has 'require 5.008008;'
ok 65 - Makefile.PL ran without error
ok 66 - Makefile exists
ok 67 - (skipping cleanup)
ok 68 - Makefile has correct PREREQ_PM line
ok 69 - make ran without error
ok 70 - make test ran without error
ok 71 - make test output indicated success
ok 72 - make realclean ran without error
ok 73 - Makefile.PL ran without error (postargs: INSTALLDIRS=vendor)
ok 74 - Makefile exists
ok 75 - Makefile cleaned up
ok 76 - cleaned up Makefile
ok 77 - Module::Build->new_from_context
ok 78 - traditional Makefile.PL created
ok 79 - Makefile.PL has 'require 5.008008;'
ok 80 - Makefile.PL ran without error
ok 81 - Makefile exists
ok 82 - (skipping cleanup)
ok 83 - Makefile has correct PREREQ_PM line
Stop.
not ok 84 - make ran without error
# Failed test 'make ran without error'
# in t/compat.t at line 237.
ok 85 - make test ran without error
ok 86 - make test output indicated success
ok 87 - make realclean ran without error
ok 88 - Makefile.PL ran without error (postargs: INSTALLDIRS=vendor)
ok 89 - Makefile exists
ok 90 - Makefile cleaned up
ok 91 - cleaned up Makefile
ok 92 - Module::Build->new_from_context
ok 93 - fake_makefile lived
ok 94 - found 'realclean' in fake_makefile output
ok 95 - saw warning about 'build_class'
ok 96 - passthrough Makefile.PL created
ok 97 - Makefile.PL failed
ok 98 - custom builder wasn't found
ok 99 - small Makefile.PL created
ok 100 - Makefile.PL failed
ok 101 - custom builder wasn't found
ok 102 - passthrough Makefile.PL created via subclass
ok 103 - Makefile.PL ran without error
ok 104 - small Makefile.PL created via subclass
ok 105 - Makefile.PL ran without error
ok 106 - passthrough Makefile.PL ran with arguments
ok 107 - Build.PL generated
ok 108 - installdirs is core
ok 109 - tests set for verbose
ok 110 - custom libdir
ok 111 - PERL_POLLUTE set
ok 112 - make test ran without error
ok 113 - Should be verbose
ok 114 - make test without verbose ran ok
ok 115 - Should be non-verbose
ok 116 - Sample installation directory should be cleaned up
ok 117 - Makefile shouldn't exist
ok 118 - Makefile.PL cleaned up
ok 119 - install_base set
ok 120 - Tildes should be expanded
ok 121 - Makefile shouldn't exist
ok 122 - Makefile.PL cleaned up
# Looks like you failed 2 tests of 122.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/122 subtests
Test Summary Report
-------------------
t/compat (Wstat: 512 Tests: 122 Failed: 2)
Failed tests: 39, 84
Non-zero exit status: 2
Files=1, Tests=122, 21 wallclock secs ( 0.08 usr 0.01 sys + 16.00 cusr 4.38 csys = 20.47 CPU)
Result: FAIL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 06:50 AM
тАО08-20-2008 06:50 AM
Re: Difficulty with installing perl modules via CPAN
So, the obvious next question is: Are you running on a NFS or other file system that might get hurt by time stamps, like a Samba or CiFS share, AFS, or SSHFS?
In that case, don't use that FS to create/test your modules, but use a local disk that is not affected and try again from scratch.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 07:13 AM
тАО08-20-2008 07:13 AM
Re: Difficulty with installing perl modules via CPAN
I have since also tested in /tmp on a rx3600 (vg00 is on local IR volume on integrated SAS controller). Errors are still reported in t/compat but at a different location. The "prove -vb t/compat" never completes.
Any other ideas?
$ make test
/opt/perl_32/bin/perl Build --makefile_env_macros 1 test
t/basic...............ok
t/compat..............ok 30/122
Stop.
# Failed test (t/compat.t at line 237)
t/compat..............NOK 39
Stop.
t/compat..............NOK 40# Failed test (t/compat.t at line 243)
t/compat..............NOK 41# Failed test (t/compat.t at line 244)
# 'MAKE TEST
# 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_32/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
# '
# doesn't match '(?-xism:DONE\.|SUCCESS)'
t/compat..............ok 121/122# Looks like you failed 3 tests of 122.
t/compat..............dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 39-41
Failed 3/122 tests, 97.54% okay
t/destinations........ok
8/113 skipped: various reasons
t/ext.................ok
t/extend..............ok
t/files...............ok
t/help................ok
t/install.............ok
t/manifypods..........ok
t/mbyaml..............ok
t/metadata............ok
t/metadata2...........ok
4/18 skipped: YAML_support feature is not enabled
t/moduleinfo..........ok
t/new_from_context....ok
t/notes...............ok
t/par.................skipped
all skipped: C_support not enabled
t/parents.............ok
t/pod_parser..........ok
t/ppm.................skipped
all skipped: C_support not enabled
t/runthrough..........ok
11/32 skipped: various reasons
t/signature...........skipped
all skipped: $ENV{TEST_SIGNATURE} is not set
t/test_type...........ok
t/test_types..........ok
t/tilde...............ok
t/versions............ok
t/xs..................skipped
all skipped: C_support not enabled
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/compat.t 3 768 122 3 2.46% 39-41
4 tests and 23 subtests skipped.
Failed 1/26 test scripts, 96.15% okay. 3/815 subtests failed, 99.63% okay.
*** Error exit code 255
Stop.
$ prove -vb t/compat.t
t/compat....1..122
ok 1 - Loaded
ok 2 - Module::Build->new_from_context
ok 3 - small Makefile.PL created
ok 4 - Makefile.PL does not require a perl version
Can't locate Module/Build/Compat.pm in @INC (@INC contains: t/lib blib/arch blib/lib t/bundled /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/5.8.8 /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/site_perl/5.8.8 /opt/perl_32/lib/site_perl /opt/perl_32/lib/vendor_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/vendor_perl/5.8.8 /opt/perl_32/lib/vendor_perl .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
not ok 5 - Makefile.PL ran without error
# Failed test 'Makefile.PL ran without error'
# in t/compat.t at line 271.
not ok 6 - Makefile exists
# Failed test 'Makefile exists'
# in t/compat.t at line 272.
ok 7 - (skipping cleanup)
ok 8 # skip Makefile not found
Make: No arguments or description file. Stop.
# Failed test 'make ran without error'
not ok 9 - make ran without error
# in t/compat.t at line 237.
Make: Don't know how to make test. Stop.
# Failed test 'make test ran without error'
# in t/compat.t at line 243.
# Failed test 'make test output indicated success'
# in t/compat.t at line 244.
# 'MAKE TEST
# '
# doesn't match '(?-xism:DONE\.|SUCCESS)'
not ok 10 - make test ran without error
not ok 11 - make test output indicated success
Make: Don't know how to make realclean. Stop.
# Failed test 'make realclean ran without error'
# in t/compat.t at line 249.
not ok 12 - make realclean ran without error
Can't locate Module/Build/Compat.pm in @INC (@INC contains: t/lib blib/arch blib/lib t/bundled /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/5.8.8 /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/site_perl/5.8.8 /opt/perl_32/lib/site_perl /opt/perl_32/lib/vendor_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/vendor_perl/5.8.8 /opt/perl_32/lib/vendor_perl .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
# Failed test 'Makefile.PL ran without error (postargs: INSTALLDIRS=vendor)'
# in t/compat.t at line 271.
# Failed test 'Makefile exists'
# in t/compat.t at line 272.
not ok 13 - Makefile.PL ran without error (postargs: INSTALLDIRS=vendor)
not ok 14 - Makefile exists
Make: Don't know how to make realclean. Stop.
ok 15 - Makefile cleaned up
ok 16 - cleaned up Makefile
ok 17 - Module::Build->new_from_context
ok 18 - passthrough Makefile.PL created
ok 19 - Makefile.PL does not require a perl version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 07:51 AM
тАО08-20-2008 07:51 AM
Re: Difficulty with installing perl modules via CPAN
$ make install UNINST=1
I'm running on HP-UX 10.20, 11.00, 11.11, 11.23/PA, 11.23/IPF, and 11.31/IPF, and I have never seen this error.
Sorry I cannot be more specific.
FYI Module::Build is never used at runtime, so you won't compromise your system. If the module that requires Module::Build for the configuration fase fails, you still have not broken anything at all, so installing it is pretty safe.
Most CPAN modules still use ExtUtils::MakeMaker (including all of my own modules, as I do not like Module::Build at all). It is just a framework that creates your build environment: the Makefile.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 08:21 AM
тАО08-20-2008 08:21 AM
Re: Difficulty with installing perl modules via CPAN
I meant to give you 10pts on that last one, but for some reason it's showing 3 again. If you get a moment to respond again, I'll add 7. :-)
Anyway. Based on your explanation, I was able to complete the manual install of Modules::Build. From there, I was able to use "cpan" to complete the install of SOAP::WSDL.
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 08:25 AM
тАО08-20-2008 08:25 AM
Re: Difficulty with installing perl modules via CPAN
At least this thread has yet another piece of information other people can use. :)
Thanks for the feedback!
Enjoy, Have FUN! H.Merijn [ Just Another Perl Hacker ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2008 08:29 AM
тАО08-20-2008 08:29 AM