Skip Menu |

This queue is for tickets about the dmake CPAN distribution.

Report information
The Basics
Id: 13277
Status: resolved
Priority: 0/
Queue: dmake

People
Owner: Nobody in particular
Requestors: jbruen_3 [...] hotmail.com
Cc:
AdminCc:

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



Subject: dmake error -see below
Am trying to use DMAKE on an XP box. When I run it, I get an error: dmake: makefile: line 699: Error: -- Expecting macro or rule defn, found neither Am I having cockpit/bootstrap problems, here or... The makefile in question is generated from a makefile.pl script that is circa 2003... Could I have a bad/obselete makefile? Version 4.2 DMAKE
[guest - Thu Jun 16 14:34:58 2005]: Show quoted text
> Version 4.2 DMAKE
Please note that the versions of DMAKE on CPAN are "4.10, PL 1", "4.3-20050307-SHAY" and "4.4-20050606-SHAY". Since your DMAKE is none of these, I'm inclined to close this bug. However, I would suggest that you try with the latest dmake, available from http://search.cpan.org/dist/dmake/ If this still doesn't work then please send details of which distribution it is that you're trying to build so that I can try it myself. Cheers, - Steve
[jbruen_3@hotmail.com - Fri Jun 17 09:18:50 2005]: Show quoted text
> I had the problem with : 4.4-20050606-SHAY
OK. So what is the problem, then? Is it a CPAN distribution that you are trying to build? Is it something else publicly available? Can you send me or attach here the modules/makefiles involved? I can't fix anything merely on the basis that "there is a problem". I'm going to need to know what the problem is ;-) - Steve
[jbruen_3@hotmail.com - Fri Jun 17 18:59:45 2005]: Show quoted text
> The problem is I get the error as documented in my initial log: > > dmake: makefile: line 699: Error: -- Expecting macro or rule defn, > found > neither > > when trying to "make" on an "old" build...circa 2003 > > Here is the source of the makefile > > http://search.cpan.org/~pkent/Module-Dependency-1.13/
Thanks for the link. I downloaded that module and tried building it using dmake-4.4-20050606-SHAY and it all works fine for me (using perl-5.86. built with dmake). What did you mean when you said "when trying to "make" on an "old" build"? Have you regenerated the Makefile (by running "perl Makefile.PL") or are you just running "dmake" on a Makefile that was previously generated? Could you attach the Makefile to this ticket (or email it to me) so that I can compare it with mine?
[jbruen_3@hotmail.com - Mon Jun 20 10:26:23 2005]: Show quoted text
> See attached
Ah. Looks like an nmake format Makefile. No wonder dmake doesn't understand it. Are you using ActivePerl by any chance? If so then your perl is configured to use nmake rather than dmake, hence ExtUtils-MakeMaker has generated an nmake format Makefile. In this case you must either rebuild perl yourself using dmake instead of nmake, or else obtain nmake and use that for building CPAN distributions. You can't have perl built with one make program and then try to use a different make program to build CPAN distributions. If you don't have Visual C++ then you can get an old nmake from: http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/nmake15.exe The ".NET Framework SDK v1.1" also contains a (newer) nmake and is also freely downloadable from the MS website.
Did the above explain your problem? If so, I will close this bug report.