# JavaScript-SpiderMonkey-0.08/Makefile.PL use ExtUtils::MakeMaker; use File::Copy qw( cp ); WriteMakefile( 'NAME' => 'JavaScript::SpiderMonkey', 'VERSION_FROM' => 'SpiderMonkey.pm', ( $] >= 5.005 ? ( ABSTRACT_FROM => 'SpiderMonkey.pm', AUTHOR => 'Mike ') : () ), 'LIBS' => ' -L../js/src/Debug -ljs32 ', 'DEFINE' => '-DXP_PC', #or -DXP_UNIX 'INC' => "-I../js -I../js/src -I../js/src/Debug", 'OBJECT' => '../js/src/Debug/*.lib $(O_FILES)', ) and # copy the dll to where SpiderMonkey.dll can find it for the test print " cp( '../js/src/Debug/js32.dll', './blib/arch/auto/JavaScript/SpiderMonkey/js32.dll'); 0 or 1: ", cp( '../js/src/Debug/js32.dll', './blib/arch/auto/JavaScript/SpiderMonkey/js32.dll'); __END__ Download these two files in the same directory: js-1.5-rc4a.tar.gz JavaScript-SpiderMonkey-0.08.tar.gz Then go to a commandline and execute these commands: gzip -cd js-1.5-rc4a.tar.gz |tar -xv cd js\src\ nmake -f js.mak cd ..\.. gzip -cd JavaScript-SpiderMonkey-0.08.tar.gz |tar -xv cd JavaScript-SpiderMonkey-0.08 perl Makefile.PL nmake nmake test nmake install