Operating System - HP-UX
1832988 Members
2673 Online
110048 Solutions
New Discussion

Re: Perl 5.8.7 Install Error

 
MikeL_4
Super Advisor

Perl 5.8.7 Install Error

I'm installing perl 5.8.7 and when I get to the "make test" procedure I receive error:

t/op/filetest.............................Can't locate Config_heavy.pl in @INC (
@INC contains: ../lib) at ../lib/Config.pm line 66.
# Looks like you planned 10 tests but ran 5.
FAILED at test 6


and then several "join" error messages:

ext/threads/shared/t/0nothread............ok
ext/threads/shared/t/av_refs..............Can't call method "join" on an undefin
ed value at ../ext/threads/shared/t/av_refs.t line 50.
FAILED at test 4
ext/threads/shared/t/av_simple............Can't call method "join" on an undefin
ed value at ../ext/threads/shared/t/av_simple.t line 47.
FAILED at test 10
ext/threads/shared/t/cond.................Can't call method "join" on an undefin
ed value at ../ext/threads/shared/t/cond.t line 53.
FAILED at test 3
ext/threads/shared/t/disabled.............ok
ext/threads/shared/t/hv_refs..............Can't call method "join" on an undefin
ed value at ../ext/threads/shared/t/hv_refs.t line 45.
FAILED at test 4

any idea where I might of gone wrong ???
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Perl 5.8.7 Install Error

You might find the depot version of perl is easier to install than complining it yourself.

http://software.hp.com

You'll be transferred to the new site, which I've yet to memorize.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: Perl 5.8.7 Install Error

Here is a link to Perl 5.8.2 in software.hp.com,

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL
"A ship in the harbor is safe, but that is not what ships are built for"
VEL_1
Valued Contributor

Re: Perl 5.8.7 Install Error

Hi,

Sometimes when compiling perl source or perl related products, the files( .pm, .pl ) should be installed first for some of the tests executed by "make test". OR these modules path should be in @INC.



H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.7 Install Error

What's the OS and architecture?

Why do you need a threaded perl?
Do you *need* a threaded perl?

DBD-Oreacle does NOT need a threaded perl!

raj is not correct. Certainly for 5.8.7 all tests should pass

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
MikeL_4
Super Advisor

Re: Perl 5.8.7 Install Error


We don't want to use the depot install as this installs in /usr/local/bin and we need to run multiple versions of perl..

I did resolve the thread errors and reran the make test and now only come up with one error:

/op/filetest.............................Can't locate Config_heavy.pl in @INC (
@INC contains: ../lib) at ../lib/Config.pm line 66.
# Looks like you planned 10 tests but ran 5.
FAILED at test 6

The Config_heavy.pl is in ./perl-5.8.7/lib and I must be doing something wrong not to include thet path in the @INC...

Any ideas??
MikeL_4
Super Advisor

Re: Perl 5.8.7 Install Error

I resolved issue and was able to compile perl 5.8.7

Issued: export LD_LIBRARY_PATH=..../perl-5.8.7/lib before running the Configure.sh make make test make install...


Thanks
H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.7 Install Error

FWIW *my* depots install in /opt/perl and /opt/perl64
But they are all unthreaded builds including defined-or and a lot of up-to-date modules

My HP ITRC site pages can be found at (please use LA as primary choice):

USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn