Michael G Schwern <[EMAIL PROTECTED]> wrote on 12/30/2004 05:22:30 PM:
> On Thu, Dec 30, 2004 at 04:47:18PM -0500, [EMAIL PROTECTED] wrote: > > I might even get to my big module collection test with this.... > > Wait for the next alpha. I have to fix that IGNORE problem first. Warning: this message contains long lines that may have been wrapped by my MUA at weird places. With ExtUtils::MakeMaker 6.25_07, perl 5.8.6, mmk V3.9-6, and a test case of a slightly modified DBI 1.45 initially I obtain: %MMK-F-CANTUPD, cannot update target MCR - sources unknown $ MCR dga2:[perl-5_8_6_root]perl.exe "-MExtUtils::Command" -e cp Changes [.blib.lib.DBI]Changes.pm $ MCR dga2:[perl-5_8_6_root]perl.exe "-MExtUtils::Command" -e cp Roadmap.pod [.blib.lib.DBI]Roadmap.pm cp [.lib.dbd]dbm.pm [.blib.lib.dbd]dbm.pm cp [.lib.win32]dbiodbc.pm [.blib.lib.win32]dbiodbc.pm cp [.lib.dbi]w32odbc.pm [.blib.lib.dbi]w32odbc.pm herein are many completed commands. In a subsequent attempt to simply run mmk in the directory: $ mmk %MMK-F-CANTUPD, cannot update target MCR - sources unknown $ show symbol $status $STATUS == "%X1C14805C" It appears that it wants to consider MCR as a target for some reason. A run of mmk/log indicates that it wants to update a file called perl.c (itself apparenty derived from perl.xsi). This is beginning to look like a problem with the XSUBPP macros. Contrast the following search (think grep) done to the descrip.mms generated for DBI 1.45 by MakeMaker 6.17: $ sea descrip.mms xsubpp # --- MakeMaker tool_xsubpp section: XSUBPPDIR = perl_root:[lib.ExtUtils] XSUBPP = $(PERLRUN) $(XSUBPPDIR)xsubpp XSUBPPDEPS = perl_root:[lib.ExtUtils]typemap typemap XSUBPPARGS = -typemap perl_root:[lib.ExtUtils]typemap -typemap typemap $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(MMS$TARGET_NAME).xs >$(MMS$TARGET) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(MMS$TARGET_NAME).xs >$(MMS$TARGET_NAME).c perl.c dbi.c : $(XSUBPPDEPS) Compared to the same search for the 6.25_07 generated descrip.mms file: $ sea descrip.mms xsubpp # --- MakeMaker tool_xsubpp section: XSUBPPDIR = perl_root:[lib.ExtUtils] XSUBPP = $(PERLRUN) $(XSUBPPDIR)/xsubpp XSUBPPDEPS = perl_root:[lib.ExtUtils]typemap typemap $(XSUBPP) XSUBPPARGS = -typemap perl_root:[lib.ExtUtils]typemap -typemap typemap XSUBPP_EXTRA_ARGS = $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(MMS$TARGET_NAME).xs >$(MMS$TARGET) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(MMS$TARGET_NAME).xs >$(MMS$TARGET_NAME).c dbi.c perl.c : $(XSUBPPDEPS) If I remove the extraneous $(XSUBPP) macro from the XSUBPPDEPS assignment I now obtain: $ mmk MCR dga2:[perl-5_8_6_root]perl.exe perl_root:[lib.ExtUtils]/xsubpp -typemap perl_root:[lib.ExtUtils]typemap -typemap typemap PERL.xs >PERL.C Can't open perl script "perl_root:[lib.extutils]/xsubpp": file specification syntax error %RMS-F-SYN, file specification syntax error %MMK-F-ERRUPD, error status %X000186D4 occurred when updating target PERL.C If I correct the XSUBPP path like so: --- descrip.mms Fri Dec 31 12:36:21 2004 +++ descrip.mms;-1 Fri Dec 31 12:34:12 2004 @@ -229,7 +229,7 @@ # --- MakeMaker tool_xsubpp section: XSUBPPDIR = perl_root:[lib.ExtUtils] -XSUBPP = $(PERLRUN) $(XSUBPPDIR)xsubpp +XSUBPP = $(PERLRUN) $(XSUBPPDIR)/xsubpp XSPROTOARG = XSUBPPDEPS = perl_root:[lib.ExtUtils]typemap typemap XSUBPPARGS = -typemap perl_root:[lib.ExtUtils]typemap -typemap typemap I now obtain: $ mmk CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj /NOANSI_ALIAS/float=ieee/ieee=denorm_results/Define=(DBI_NO_THREADS,"V ERSION=""1.45""","XS_VERSION=""1.45""")/Include=(perl_root:[lib.VMS_AXP.5_8_6.CORE])/NoList PERL.c %RMS-F-SYN, file specification syntax error ^ %CC-E-DECLARATOR, Invalid declarator. Which looks like a problem with DBI code not MakeMaker. I hope that provides some useful feedback. Sorry I do not yet have a path for the XSUBPP problems on VMS. Peter Prymmer