----- Original Message ----- From: "John_Ramsden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 18 March 2004 14:10 Subject: Using perl scripts to make projects on Windows and Unix
> > My colleague, a Unix bod, is bitching like hell at the need > to build our project (written in perl) on both Unix and Windows. > > It may not be completely relevant to perl, but does anyone have > any suggestions or pointers to producing Makefiles and/or scripts > that keep this process as simple as possible, without having to > use Cygwin? > Yes, use Microsoft nmake and MVC (Microsoft Visual C++) and you should be able to build standard CPAN modules. This is what ActiveState use for their builds. nmake is free, see http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe You only need MVC if you are adding any XS modules. This approach is fine for existing CPAN modules. > For example, one of his problems is that the Makefile actions > cannot involve any unix shell syntax. > > I suggested that he could get round most of his difficulties > by using suitable perl scripts, and maybe there's even a 'Make' > module. For new code you are writing, have a look at Module::Build. This is a pure perl mechanism which does the same 4 steps as a normal CPAN install: configure, build, test, install, but the module is pure perl and does not involve make. Ivor. _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
