[Module-build-general] Module::Build 0.18_02 FAIL on Windows nmake
Status: Beta
Brought to you by:
kwilliams
|
From: <ajs...@ya...> - 2003-06-09 02:15:23
|
I tried installing Module::Build 0.18_02 on Windows XP, via: perl Makefile.PL nmake nmake test nmake install but, alas, the "nmake test" step failed with: "Don't know how to to make test" It seems that Windows NMAKE does not like .DEFAULT very much (?). Please bear in mind that I am a bit of a make ignoramus. There is another problem: the Module::Build distribution contains a file INSTALL, yet Windows is case insensitive, so a target of install : says, annoyingly, "'install' is up-to-date" when you try a 'nmake install'. Curiously, using a target of: install :: seems to fix this, but I don't understand why (explanations and alternative workarounds welcome). Anyway, I was able to get it to work on both Windows and Linux by adding the following 4 lines to sub fake_makefile in Compat.pm, right after the 'all' target: test :: $^X $build test install :: $^X $build install /-\ http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. |