http://www.perlmonks.org?node_id=529880

jschollen has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

looks like PDL is back to haunt me :-(
I'm very greatfull for all the help you have given me. Now, a new problem arouse.

I was trying to compile PDL 2.4.2 again on another Windows XP SP2 machine (Which has Platform SDK for Windows Server 2003 SP1, Microsoft .NET framework SDK 1.1, .Net framework, NMake 1.50, Microsoft Visual C++ Toolkit 2003 and Absoft Pro Fortran 8.0). I'm still using perl 5.8.6.

After I changed:
cd Basic\Core nmake Core.xs del getdev.pl # this one is important, otherwise you get a # circular Makefile dependence! cd ..\.. perl Makefile.PL # with F77CONF=win32/win32f77.pl if you want slate +c nmake

I get the following error message:
Running Mkbootstrap for PDL::Graphics::PGPLOT::Window () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Window.b +s C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('N +AME'=>\"PD L::Graphics::PGPLOT::Window\", 'DLBASE' => 'Window', 'DL_FUNCS' => { +}, 'FUNCLI ST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:..\..\..\blib\arch\auto\PDL\Graphics\PGPLOT\Window\W +indow.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\ +CORE" -ma chine:x86 Window.obj C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel +32.lib use r32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib +ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib vers +ion.lib od bc32.lib odbccp32.lib msvcrt.lib -def:Window.def Creating library ..\..\..\blib\arch\auto\PDL\Graphics\PGPLOT\Window +\Window.li b and object ..\..\..\blib\arch\auto\PDL\Graphics\PGPLOT\Window\Window +.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 ..\..\.. +\blib\arch \auto\PDL\Graphics\PGPLOT\Window\Window.dll C:\Perl\bin\perl.exe -MExtUtils::Command -e cp Window.bs ..\.. +\..\blib\a rch\auto\PDL\Graphics\PGPLOT\Window\Window.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 ..\..\.. +\blib\arch \auto\PDL\Graphics\PGPLOT\Window\Window.bs cp LUT.pm ..\..\blib\lib\PDL\Graphics\LUT.pm NMAKE : fatal error U1095: expanded command line '@ C:\Perl\bin\perl.e +xe -MExtUt ils::Install -e "pm_to_blib({@ARGV}, '..\..\..\blib\lib\auto', '')" st +airs9.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/stairs9.fits random3.fits +..\..\..\b lib\lib\PDL\Graphics\LUT\tables/random3.fits ramp.fits ..\..\..\blib\ +lib\PDL\Gr aphics\LUT\tables/ramp.fits aips0.fits ..\..\..\blib\lib\PDL\Graphics +\LUT\table s/aips0.fits idl4.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl4 +.fits sta irs8.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/stairs8.fits rand +om5.fits . .\..\..\blib\lib\PDL\Graphics\LUT\tables/random5.fits rainbow2.fits . +.\..\..\bl ib\lib\PDL\Graphics\LUT\tables/rainbow2.fits random2.fits ..\..\..\bl +ib\lib\PDL \Graphics\LUT\tables/random2.fits rainbow4.fits ..\..\..\blib\lib\PDL +\Graphics\ LUT\tables/rainbow4.fits rainbow.fits ..\..\..\blib\lib\PDL\Graphics\ +LUT\tables /rainbow.fits smooth2.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/ +smooth2.fi ts blue.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/blue.fits smo +oth3.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/smooth3.fits red.fits ..\.. +\..\blib\l ib\PDL\Graphics\LUT\tables/red.fits green.fits ..\..\..\blib\lib\PDL\ +Graphics\L UT\tables/green.fits random4.fits ..\..\..\blib\lib\PDL\Graphics\LUT\ +tables/ran dom4.fits bgyrw.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/bgyrw. +fits colo r.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/color.fits staircase +.fits ..\. .\..\blib\lib\PDL\Graphics\LUT\tables/staircase.fits idl6.fits ..\..\ +..\blib\li b\PDL\Graphics\LUT\tables/idl6.fits light.fits ..\..\..\blib\lib\PDL\ +Graphics\L UT\tables/light.fits rainbow3.fits ..\..\..\blib\lib\PDL\Graphics\LUT +\tables/ra inbow3.fits idl11.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl1 +1.fits id l15.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl15.fits backgr. +fits ..\.. \..\blib\lib\PDL\Graphics\LUT\tables/backgr.fits manycol.fits ..\..\. +.\blib\lib \PDL\Graphics\LUT\tables/manycol.fits isophot.fits ..\..\..\blib\lib\ +PDL\Graphi cs\LUT\tables/isophot.fits random6.fits ..\..\..\blib\lib\PDL\Graphic +s\LUT\tabl es/random6.fits idl2.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/i +dl2.fits idl12.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl12.fits rando +m1.fits .. \..\..\blib\lib\PDL\Graphics\LUT\tables/random1.fits pastel.fits ..\. +.\..\blib\ lib\PDL\Graphics\LUT\tables/pastel.fits idl5.fits ..\..\..\blib\lib\P +DL\Graphic s\LUT\tables/idl5.fits smooth.fits ..\..\..\blib\lib\PDL\Graphics\LUT +\tables/sm ooth.fits idl14.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl14. +fits' too long Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop.

I installed the latest ExtUtil::MakeMaker (version 6.30)

I also deactivaded the PLPLOT and the SLATEC functions in perldl.conf and ran perl MakeFile.PL again, after which I ran nmake again.
Unfortunately, all efforts seem in vain.

Can someone help me?

Edit: g0n - readmore tags