Operating System - OpenVMS
1745877 Members
4223 Online
108723 Solutions
New Discussion

Re: HP Perl CPAN modules installation problem

 
SOLVED
Go to solution
Alex Chupahin
Super Advisor

Re: HP Perl CPAN modules installation problem

Unfortunately still I'm not good.
another system 8.4, clean from any perl

trying to compile PERL:

 

$MMK

.....

Making all in ext/DynaLoader
 MMK "all" /DESCRIPTION=descrip.mms /MACRO=("PERL_CORE=1")
MCR SYS$SYSROOT:[SYSMGR.ALEX.PERL.PERL-5_14_2]miniperl.exe "-I[--.lib]" "-I[--.
lib]" "-MExtUtils::Command" -e "rm_rf" "--" [--]
cannot opendir for [--]: directory not found at /SYS$SYSROOT/SYSMGR/ALEX/PERL/P
ERL-5_14_2/dist/ExtUtils-Command/lib/ExtUtils/Command.pm line 134
cannot remove directory for [--]: file not found at /SYS$SYSROOT/SYSMGR/ALEX/PE
RL/PERL-5_14_2/dist/ExtUtils-Command/lib/ExtUtils/Command.pm line 134
MCR SYS$SYSROOT:[SYSMGR.ALEX.PERL.PERL-5_14_2]miniperl.exe "-I[--.lib]" "-I[--.
lib]" "-MExtUtils::Command" -e "cp" "--"  [--]
%MMK-I-ACTNOUPD, action did not update target DYNALOADER.OBJ
Link /NoTrace/NoMap/Share=PERLSHR.EXE DynaLoader.obj, []perlshr_bld.opt/Option,
 perlshr_attr.opt/Option
%LINK-F-OPENIN, error opening SYS$COMMON:[SYSMGR.ALEX.PERL.PERL-5_14_2]DYNALOAD
ER.OBJ; as input
-RMS-E-DNF, directory not found
-SYSTEM-W-NOSUCHFILE, no such file

 

The same error
what is wrong?

Is there any known working perl version ?

Hoff
Honored Contributor
Solution

Re: HP Perl CPAN modules installation problem

Follow these instructions exactly, and do not diverge from what is listed save for the device and directory name you will use.  Instructions: <http://search.cpan.org/dist/perl/README.vms>

 

For this case, unpack the Perl distribution into the SYS$SYSDEVICE:[PERL-5_14_2...] directory.

 

Do NOT use SYS$SYSROOT:[SYSMGR.ALEX.PERL.PERL-5_14_2], nor any other SYS$SYSROOT-based directory.

 

As listed in the directions, use the specified MMK or MMS command generated by the CONFIGURE tool.

 

In general, you should avoid using a SYS$ROOT-based directory (such as SYS$MANAGER), as many build procedures and many tools are not written to expect that particular directory structure usage.  Weird errors can result. 

Alex Chupahin
Super Advisor

Re: HP Perl CPAN modules installation problem

Perl 5.12.4

 

The same error

 

Alex Chupahin
Super Advisor

Re: HP Perl CPAN modules installation problem

I've Tryed procedure exactly as recommended by Hoff (thank you very much for you and all)

first: still incomplete build procedure:

DynaLoader.C not found

I've maden it by myself via hands regards to other success modules in OpenVMS

Compilation is finished successfully.

Now I'm testing compiled perl

 

Second: MMS is not work, only MMK required.

Alex Chupahin
Super Advisor

Re: HP Perl CPAN modules installation problem

ALL THINGS STILL BAD

Is there anywhere true working perl installation???

What I'm doing wrong now?

 

I make all things EXACTLY follow by instruction in README.VMS

Then wish to use CPAN.

$CPAN

after all questions I just get error

 

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes]
Looking for CPAN mirrors near you (please be patient)
The flock() function is unimplemented at /perl_root/lib/CPAN/Mirrors.pm line 23, <STDIN> line 69.

Alex Chupahin
Super Advisor

Re: HP Perl CPAN modules installation problem

dont work with same error
$perl "-MCPAN" "-e" "shell"

 

also