At 7:52 PM -0400 7/17/06, Boyd, Robert L wrote:
>I'm trying to add some modules to my Perl setup on VMS 7.3-2.
>
>I am finding the process of reading the instructions for doing this a
>bit confusing.  I ftp'ed a kit such as the fileutils kit in tgz format
>to a directory somewhere.
>
>Is there a particular directory under the perl_root that I'm supposed to
>put the files? 

You should definitely NOT unpack anything under perl_root directly.
Since you should be depending on the install process to add the new
module to your Perl installation, it doesn't really matter where else
it goes while you build it.  Once you have built and tested it, then
install it, which will put all the relevant bits in the correct
location under perl_root.

>I tried doing the gunzip and vmstar x on the resulting
>tar file.  This produced a subdirectory.
>
>I set default to the subdirectory and did MMK.  That seemed to go ok.

You're leaving out a step.  The normal sequence would be:

$ perl Makefile.PL
$ mmk
$ mmk test
$ mmk install

So please verify that you ran the Makefile.PL before running MMK?  I
just tried VMS::FileUtils against the current development release and
had no problem.  I have not tried it with Perl 5.8.6, which is what
you appear to be using, but I doubt that would make a difference.

>Then I did MMK TEST.  This produced:
>
>mmk test
>olddef = F$Environment("Default")
>Set Default [.root]
>MMK all /Macro=(LIB="", LIBPERL_A="libperl.olb",
>LINKTYPE="dynamic",     PREFIX="",
>OPTIMIZE="/List/Machine/Show=Expan",
>        PASTHRU_DEFINE="",      PASTHRU_INC="")
>Set Default 'olddef'
>olddef = F$Environment("Default")
>Set Default [.safename]
>MMK all /Macro=(LIB="", LIBPERL_A="libperl.olb",
>LINKTYPE="dynamic",     PREFIX="",
>OPTIMIZE="/List/Machine/Show=Expan",
>        PASTHRU_DEFINE="",      PASTHRU_INC="")
>Set Default 'olddef'
>MCR $30$dkb0:[perl5_8_6]perl.exe "-MExtUtils::Command::MM" "-e"
>"test_harness(0, '[.blib.lib]', '[.blib.arch]')" t/*.t
>t/root........
>Can't locate VMS/FileUtils/Root.pm in @INC (@INC contains: .
>perl_root:[lib.VMS_AXP.5_8_6] perl_root:[lib] perl_root:[lib.site_perl.
>VMS_AXP] perl_root:[lib.site_perl] /perl_root/lib/site_perl .) at
>t/root.t line 5.

The file it's missing should be in [.blib.lib.vms.fileutils] under
the directory where you unpacked VMS::FileUtils.   Is it?

>BEGIN failed--compilation aborted at t/root.t line 5.
>%SYSTEM-W-NOSUCHFILE, no such file
>dubious
>        Test returned status 2320 (wstat 256, 0x100)
>                (VMS status is 2320)
>t/safename....
>Can't locate VMS/FileUtils/SafeName.pm in @INC (@INC contains: .
>perl_root:[lib.VMS_AXP.5_8_6] perl_root:[lib] perl_root:[lib.site_p
>erl.VMS_AXP] perl_root:[lib.site_perl] /perl_root/lib/site_perl .) at
>t/safename.t line 3.
>BEGIN failed--compilation aborted at t/safename.t line 3.
>%SYSTEM-W-NOSUCHFILE, no such file
>dubious
>        Test returned status 2320 (wstat 256, 0x100)
>                (VMS status is 2320)
>FAILED--2 test scripts could be run, alas--no output ever seen
>%RMS-E-FNF, file not found
>%MMK-F-ERRUPD, error status %X00018292 occurred when updating target
>TEST_DYNAMIC
>
>How do I deal with the "Can't local ...." problem?  Is there something
>I'm supposed to do that I haven't already done?
>
>Is this a case of "if only you had read pages x,y and z then you'd know
>that you missed doing blah, blah and blah?"
>
>Thanks for any and all pointers to figuring out how this stuff can work.
>
>Robert Boyd


-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to