On 5 Jul 2004 at 10:03, the.noonings wrote: > I still cannot install PAR 0.85 in Windows XP Pro, perl v5.8.4. > > I have the prebuilt binary > > 07/03/2004 09:03 AM 876,426 PAR-0.85-MSWin32-x86-multi-thread-5.8.4.par > > I did nmake clean, then switched to a cygwin box (for the unzip function) and did > > $ unzip PAR-0.85-MSWin32-x86-multi-thread-5.8.4.par > > Be aware that "nmake clean" wipes out > script/parl.exe > script/parldyn.exe > so the prebuilt binary needs unzipped again after an nmake clean.
If you are going to use the pre-built binary manually downloaded, you don't need to unzip it. Just put the par in the PAR-0.85 dir. It will unzip automatically during the nmake. > Anyway, I then switched back to the Windows command prompt and did > > C:\Documents and Settings\malcolm\My Documents\temp\PAR-0.85\PAR>perl Makefile.PL > *** ExtUtils::AutoInstall version 0.59 > *** Checking for dependencies... > [Core Features] > - File::Temp ...loaded. (0.14 >= 0.05) > - Compress::Zlib ...loaded. (1.33 >= 1.16) > - Archive::Zip ...loaded. (1.06 >= 1) > - Module::ScanDeps ...loaded. (0.46 >= 0.45) > - PAR::Dist ...loaded. (0.06 >= 0.06) > [Windows --icon and --info support] > - Parse::Binary ...loaded. (0.06 >= 0.04) > - Win32::Exe ...loaded. (0.08 >= 0.04) > *** ExtUtils::AutoInstall configuration finished. > Checking if your kit is complete... > Warning: the following files are missing in your kit: > script/parl.exe > script/parldyn.exe > Please inform the author. > Note (probably harmless): No library found for oldnames.lib > Note (probably harmless): No library found for libc.lib > Writing Makefile for the par.exe program > Writing Makefile for PAR > > C:\Documents and Settings\malcolm\My Documents\temp\PAR-0.85\PAR>nmake > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > c:\perl\bin\perl.exe .\file2c.pl C:\Perl\bin\perl58.dll my_perl.c load_me_0 > 0 30000 > cl -c -Zm1000 -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE > -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_ > SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_LIBC_READFIX > -I"C:\Perl\lib\CORE" main.c > main.c > C:\perl\lib\CORE\perl.h(380) : fatal error C1083: Cannot open include file: > 'sys/types.h': No such file or directory > 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. > If you have a C compiler installed, the nmake will ignore the pre-built binary and try to compile from scratch. If you really want to use the pre-built, you will have to hide the C compiler ( rename the C bin dir or rename cl.exe temporarily ). If you intended to compile, the inability to find sys/types.h above indicates that you need to run vcvars32.bat to set up the include path. If you are running the C++ Toolkit 2003 and you haven't also downloaded the SDK or the additional include files, you hit some more missing stuff next (see my earlier post). Alan Stewart
