Haining,

I suspect that we have gotten a little off track. Going back to your
original note, the question was whether you could get a valid local install
starting from
$ perl Makefile.pl "PREFIX=path"

I have to confess I don't know what this is supposed to do. I infer from
your note that you expect it to install your modules somewhere other than
PERL_ROOT:[LIB]. I couldn't get it to do this under VMS; the install went
into PERL_ROOT anyway. Maybe someone who knows more about how the 'install'
target works will enlighten both of us.

Craig's advice on figuring out why it won't compile looks good to me. All I
can add is to confirm that it _will_ compile, test successfully, and
install under:
* OpenVMS AXP 7.1-1 H2,
* Perl 5.6.1,
* Dec C 5.6-003
* MMK 3.9-2
At least, after fiddling with DESCRIP.MMS a little to shorten some command
lines.

This leaves the problem of how to successfully use it locally if PREFIX
doesn't work. I suspect it's possible to do a "hand-install" from your kit,
once built. If you look for key files, you find

$ ! Here is where installed modules are found.
$ dir perl_root:[*...]*calc.exe,calc.pm

Directory PERL_ROOT:[LIB.SITE_PERL.VMS_AXP.AUTO.DATE.CALC]

PL_DATE__CALC.EXE;1
                         186/195      30-OCT-2002 13:58:58.55

Total of 1 file, 186/195 blocks.

Directory PERL_ROOT:[LIB.SITE_PERL.DATE]

CALC.PM;1                 17/30       29-SEP-2002 06:11:21.00

Total of 1 file, 17/30 blocks.

Grand total of 2 directories, 2 files, 203/225 blocks.
$! And here is where they are in the build directory.
$ dir [.blib...]*calc.exe,calc.pm

Directory USERS:[WYANT.DATE.BLIB.ARCH.AUTO.DATE.CALC]

PL_DATE__CALC.EXE;1
                         186/195      30-OCT-2002 13:58:58.55

Total of 1 file, 186/195 blocks.

Directory USERS:[WYANT.DATE.BLIB.LIB.DATE]

CALC.PM;1                 17/30       29-SEP-2002 06:11:21.00

Total of 1 file, 17/30 blocks.

Grand total of 2 directories, 2 files, 203/225 blocks.
$

This makes it look like if you can put the contents of [.blib.lib] where
you want them, and then create the architecture directory ([.VMS_AXP] in my
case) under it and put the contents of [.blib.arch] there, it will work. I
have not tried this, but I have confirmed that the following Perl script
compiles on a system where Date::Calc has never been installed:

use lib 'users:[wyant.date.blib.lib]';
use lib 'users:[wyant.date.blib.arch]';
use Date::Calc;

and the success of a correct "hand-install" seems to follow.

Tom Wyant



This communication is for use by the intended recipient and contains 
information that may be privileged, confidential or copyrighted under
applicable law.  If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited.  Please notify the sender
by return e-mail and delete this e-mail from your system.  Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer.  This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.

 Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean

            http://www.DuPont.com/corp/email_disclaimer.html


Reply via email to