Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 33161
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: bohica [...] ntlworld.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.42
Fixed in: (no value)



Subject: Generated Makefile contains syntax error with missing }
C:\martin\DBD-ODBC-1.15>perl --version This is perl, v5.10.0 built for MSWin32-x86-multi-thread C:\martin\DBD-ODBC-1.15>perl -MExtUtils::MakeMaker -le "print $ExtUtils::MakeMak er::VERSION;" 6.42 Run perl Makefile.PL for DBD::ODBC and then nmake and it fails like this: C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp Changes blib\l ib\DBD\ODBC\Changes.pm syntax error at -e line 1, next char ) Missing right curly or square bracket at -e line 1, at end of line Execution of -e aborted due to compilation errors. NMAKE : fatal error U1077: 'C:\strawberry\perl\bin\perl.exe' : return code '0xff ' Stop. The command being executed is: C:\strawberry\perl\bin\perl.exe -MExtUtils::Install -e "pm_to_blib({{@A RGV}, 'blib\lib\auto', '')" -- ODBC.pm blib\lib\DBD\ODBC.pm notice the double {{. I believe the error is in the generated Makefile which contains these lines: ECHO = $(ABSPERLRUN) -l -e "print qq{{@ARGV}" -- ECHO_N = $(ABSPERLRUN) -e "print qq{{@ARGV}" -- MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e "install({{@ARGV}, '$(VERBINST)', 0, '$(UNINST)');" -- $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e "pm_to_blib({{@ARGV}, '$(INST_LIB)\auto', '$(PM_FILTER)')" -- \ ODBC.pm $(INST_LIB)\DBD\ODBC.pm Of course, this may be an issue with DBD::ODBC's Makefile.PL but if it is I cannot see it. Please let me know if there is anything else required. Martin -- Martin J. Evans Wetherby, UK
Subject: Re: [rt.cpan.org #33161] Generated Makefile contains syntax error with missing }
Date: Tue, 12 Feb 2008 02:37:58 -0800
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Martin J Evans via RT wrote: Show quoted text
> The command being executed is: > > C:\strawberry\perl\bin\perl.exe -MExtUtils::Install -e "pm_to_blib({{@A > RGV}, 'blib\lib\auto', '')" -- ODBC.pm blib\lib\DBD\ODBC.pm > > notice the double {{. > > I believe the error is in the generated Makefile which contains these lines: > > ECHO = $(ABSPERLRUN) -l -e "print qq{{@ARGV}" -- > ECHO_N = $(ABSPERLRUN) -e "print qq{{@ARGV}" -- > > MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e "install({{@ARGV}, > '$(VERBINST)', 0, '$(UNINST)');" -- > > $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e "pm_to_blib({{@ARGV}, > '$(INST_LIB)\auto', '$(PM_FILTER)')" -- \ > ODBC.pm $(INST_LIB)\DBD\ODBC.pm > > Of course, this may be an issue with DBD::ODBC's Makefile.PL but if it > is I cannot see it. > > Please let me know if there is anything else required.
Something as fundamental as this and MakeMaker would never have passed tests. The simplest way to check if the problem is caused by DBD::ODBC is to try and install a different module with a simple Makefile.PL and see if it exhibits the same behavior. If it doesn't then DBD::ODBC is doing something funny. -- <Schwern> What we learned was if you get confused, grab someone and swing them around a few times -- Life's lessons from square dancing
Subject: Re: [rt.cpan.org #33161] Generated Makefile contains syntax error with missing }
Date: Tue, 12 Feb 2008 02:43:02 -0800
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Martin J Evans via RT wrote: Show quoted text
> Run perl Makefile.PL for DBD::ODBC and then nmake and it fails like this:
^^^^^ There's the problem. MakeMaker thinks you're using dmake because that's what Configure says and dmake has different escape conventions from nmake. Either switch to dmake or inform MakeMaker that you're using nmake like so: perl Makefile.PL MAKE=nmake or edit Config_heavy.pl to reflect your preferred make. -- 54. “Napalm sticks to kids” is *not* a motivational phrase. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/
On Tue Feb 12 05:43:26 2008, schwern@pobox.com wrote: Show quoted text
> Martin J Evans via RT wrote:
> > Run perl Makefile.PL for DBD::ODBC and then nmake and it fails like
> this: > ^^^^^ > > There's the problem. MakeMaker thinks you're using dmake because > that's what > Configure says and dmake has different escape conventions from nmake. > > Either switch to dmake or inform MakeMaker that you're using nmake > like so: > > perl Makefile.PL MAKE=nmake > > or edit Config_heavy.pl to reflect your preferred make. > >
Thank you. You are of course right. Apologies for using some of your precious time. Martin -- Martin J. Evans Wetherby, UK