At 4:18 PM +0100 8/3/06, Martin J. Evans wrote:
>Hi,
>
>I am attempting to install DBI on OpenVMS V8.2-1 on Itanium.
>
>I downloaded perl 5.8.6 from HP's site and installed it - it appears to work.
>
>perl makefile.pl appears to run without errors.
>
>but mms all finishes with:
>
>MCR annar$dka0:[sys0.syscommon.perl5_8_6]perl.exe -e "print
>qq{PerlShr/Share\n}" >>DBI.OPT
>Copy/NoConfirm DBI.OPT [.BLIB.ARCH.AUTO.DBI]DBI.OPT
>MCR annar$dka0:[sys0.syscommon.perl5_8_6]perl.exe -p -e "s/~DRIVER~/Perl/g"
>Driver.xst > Perl.xsi
>%MMS-F-GWKNOACTS, Actions to update PERL.C are unknown.
>
>which suggests to me mms does not know how to convert an xsi file into c since
>the descrip.mms says:
>
>C_FILES  = dbi.c perl.c
>
># The main dependancy (technically correct but probably not used)
>Perl.c : Perl.xsi
>
>I can't find any rule to convert an .xsi into a .c in the mms file.

The .xsi is just something used by the .xs and does not need to be
converted into anything.

The following rules in your descrip.mms should take care of it:

# --- MakeMaker xs_c section:

.xs.c :
        $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(MMS$TARGET_NAME).xs 
>$(MMS$TARGET)


# --- MakeMaker xs_o section:

.xs$(OBJ_EXT) :
        $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(MMS$TARGET_NAME).xs 
>$(MMS$TARGET_NAME).c
        $(CCCMD) $(CCCDLFLAGS) $(MMS$TARGET_NAME).c

My guess is that you are running into a case sensitivity problem.
You could try changing the rule from

.xs.c

to

.xs.C

Probably the easiest thing to do is wipe out the directory and unpack
the DBI archive again, forcing ODS-2 style (and uppercase) names like
so:

$ vmstar -xovf DBI-1_51.tar

I think there is an MMS bug here in that it can't preserve case but
is sometimes (when applying implicit rules) case sensitive.  You
could also try MMK instead.

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

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

Reply via email to