Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^7: Make program used by Perl in windows

by Anonymous Monk
on May 02, 2012 at 08:00 UTC ( #968385=note: print w/replies, xml ) Need Help??

in reply to Re^6: Make program used by Perl in windows
in thread Make program used by Perl in windows

Is it just a tradition or is it more?

Tradition is more :)

Targeting yet another variant of make seems like a spectacular waste of time :)

I wouldn't target gnu make, i'd target its replacement, makepp - Compatible but reliable and improved replacement for make, Or I would target, and you automagically support everything and then some (I know, wishful thinking again )

Yes, I know. And ExtUtils::MakeMaker is also "doomed" by it's maintainer!

Seems you've missed the problem behind the punchline, have you actually watched read the slideshow? Or at minimum The Plea? Schwerns point is, make is non-portable external tool, don't patch MakeMaker to work with another make or do something new, just extend Module::Build, switch your distributions to Module::Build

  • Comment on Re^7: Make program used by Perl in windows

Replies are listed 'Best First'.
Re^8: Make program used by Perl in windows
by Corion (Pope) on May 02, 2012 at 08:08 UTC

    The thing is that Module::Build has failed in its 10 years of existence to take over from ExtUtils::MakeMaker. In my opinion quite rightfully so, as it is far easier to debug a Makefile using make -n than it is to debug various opaque layers of Module::Build to find out what goes wrong.

    In retrospect, it seems that Module::Build falls in the same category as ORMs - instead of "I don't know SQL, so I want to write database access as if it were Perl" it falls in the pit of "I don't know make so I want to write module installation/compilation as if they were Perl".

    I understand that extending ExtUtils::MakeMaker may be much hairier than extending Module::Build, but when it fails, the Makefile generated by EU:MM is far easier to debug and "fix" (by direct editing) than divining the error cause from the Module::Build modules and inventing a fix for them.

      Me too, I completely understand and I agree :)

      Even though it recently took me a bit to find makemaker overrides dmake MAXLINELENGTH -- after I went through all the trouble of editing dmake config to add a larger limit, makemaker lowballed me, I still prefer makemaker, even though I hate makefiles :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968385]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2018-01-16 11:47 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (177 votes). Check out past polls.