develooper Front page | perl.makemaker | Postings from April 2002

[acme@astray.com: DBD-mysql-2.1013 & bleadperl]

Thread Next
From:
Leon Brocard
Date:
April 16, 2002 09:08
Subject:
[acme@astray.com: DBD-mysql-2.1013 & bleadperl]
Message ID:
20020416160040.GB21450@ns0
[copied to makemaker@perl.org just so you know that bleadperl
makemaker is being stricter than it used to be]

Bleadperl MakeMaker doesn't appear to like the Makefile.PL
in DBD-mysql-2.1013:

Checking if your kit is complete...
Looks good
Can't use string ("dbimon pmysql") as an ARRAY ref while "strict refs" in use at /home/acme//lib/perl5/5.7.3/ExtUtils/MM_Unix.pm line 1407.

It turns out that dbimon and pmysql aren't actually in the
distribution so the following patch makes everything ok:

--- Makefile.PL.orig	Tue Apr 16 09:51:39 2002
+++ Makefile.PL	Tue Apr 16 09:54:32 2002
@@ -77,7 +77,6 @@
 $cflags .= " -DDBD_MYSQL_WITH_SSL" if $opt->{'ssl'};
 my %o = ( 'NAME' => 'DBD::mysql',
 	  'INC' => $cflags,
-	  'EXE_FILES' => 'dbimon pmysql',
 	  'dist'         => { 'SUFFIX'       => ".gz",
 			      'DIST_DEFAULT' => 'all installhtml tardist',
 			      'COMPRESS'     => "gzip -9f" },

HTH, Leon
-- 
Leon Brocard.............................http://www.astray.com/
Nanoware...............................http://www.nanoware.org/

.... I don't worry about driving when I'm tired - I sleep just fine

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About