On Tue, Mar 25, 2003 at 01:02:52PM -0000, [EMAIL PROTECTED] wrote:
> I'm not sure if this the right place to mention it or the right time but I
> still get (that is before the last two snapshots Michael has made available) a
> few problems building the latest DBI and DBD::ODBC on VMS with Perl 5.8.1 that
> I believe might be down to MakeMaker.
These are both problems in DBI's Makefile.PL, not MakeMaker. Both can
be fixed with simple patches to Makefile.PL (for a) and lib/DBI/DBD.pm
(for b) by simply adding in $(NOECHO) $(NOOP) as you suggest. Patch
attached. You'll probably also need to send something similar to the
DBD::ODBC author as he likely parroted some of the DBI Makefile.PL code.
> I added the following to our instructions for using our OOB ODBC driver with
> Perl DBI/DBD::ODBC which identify the problems:
>
> When building DBI:
>
> With DBI-1.35 and this Perl snapshot we had two problems with the
> makefile generated from the Makefile.PL by MakeMaker:
>
> [a] "%MMS-F-GWKNOACTS, Actions to update CONFIG are unknown."
>
> This seems to be caused by a rule with no action. If you search the
> generated descrip.mms file for the line:
>
> config :: $(changes_pm)
>
> add on the next line:
>
> $(NOECHO) $(NOOP)
>
> Make sure you put a tab before "$(NOECHO)".
>
> [b] "%MMS-F-GWKNOACTS, Actions to update [.BLIB.ARCH.AUTO.DBI]DRIVER.XST
> are unknown."
>
> This seems to be caused by the lines generated by MakeMaker
> commented as "these two keep make -j4 working". e.g. in descrip.mms
> search for:
>
>
> # these two keep make -j4 working
> $(DBI_DRIVER_XST) :: pm_to_blib
> $(DBI_INSTARCH_DIR)Driver_xst.h :: pm_to_blib
>
> and comment out (with a #) the two rules after the comment.
>
> You may also see %SYSTEM-W-BADFILEVER errors for dbiprof.pl.rno,
> dbiproxy.pl.rno and possibly dbish.pl.rno (pre 1.35). This
> problem is due to the double file extension which is invalid in
> VMS but we currently do not know the solution (you can ignore it).
>
> [a] and [b] above also happen with DBD::ODBC.
>
> Martin
> --
> Martin J. Evans
> Easysoft Ltd, UK
> Development
>
> On 25-Mar-2003 Michael G Schwern wrote:
> > The latest MakeMaker snapshot (www.makemaker.org) is feeling much better
> > about VMS. Its down to a small handful of problems, the major one being
> > a bug in the doc_*_install targets having to do with perllocal.pod not
> > being properly created. I should be able to fix that one tommorrow.
> >
> > Still need help with the newline escaping in order to test split_command().
> >
> > Not yet sure why install.t is failing or why 'mmk pm_to_blib' doesn't
> > show any skip messages, just copies.
> >
> > Here's what I see when running the snapshot on VMS against 5.8.0:
> >
> > Failed Test Stat Wstat Total Fail Failed List of Failed
> > ------------------------------------------------------------------------------
> > -
> > t/basic.t 44 1024 48 20 41.67% 27-45 48
> > t/install.t 44 1024 18 3 16.67% 9 13 17
> > t/split_command.t 44 1024 6 2 33.33% 4 6
> > 7 tests and 52 subtests skipped.
> > Failed 3/30 test scripts, 90.00% okay. 25/454 subtests failed, 94.49% okay.
> >
> >
> > --
> > 7. It is always something
> > -- RFC 1925
>
--
<GuRuThuG> make a channel called #Perl, and infest it with joking and
fun.... it doesnt make alot of sense.
--- Makefile.PL 2003/03/25 13:42:27 1.1
+++ Makefile.PL 2003/03/25 13:42:50
@@ -280,6 +280,7 @@
changes_pm = ' . File::Spec->catfile($self->{INST_LIB}, 'DBI', 'Changes.pm') . '
config :: $(changes_pm)
+ $(NOECHO) $(NOOP)
$(changes_pm): Changes
$(NOECHO) $(MKPATH) $(inst_libdbi)
--- lib/DBI/DBD.pm 2003/03/25 13:43:02 1.1
+++ lib/DBI/DBD.pm 2003/03/25 13:43:41
@@ -3647,7 +3647,10 @@
# these two keep make -j4 working
$(DBI_DRIVER_XST) :: pm_to_blib
+ $(NOECHO) $(NOOP)
+
'.$xstf_h.' :: pm_to_blib
+ $(NOECHO) $(NOOP)
# ---
';