[ppm install PAR worked and pp on a simple script worked. However, I still would like to know the answers to the questions below.]
--Suresh "Suresh Govindachar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, On Win98, perl v5.8.0 built for MSWin32-x86-multi-thread (ActiveState Binary build 804) I successfully installed: Archive-Zip-1.09 Module-ScanDeps-0.39 PAR-Dist-0.07 but am having trouble installing par-0.79. 1) I have PAR-0.79-MSWin32-x86-multi-thread-5.8.2.par but don't know what to do with it! The install note mentions "Module::Install framework" and says "no action is required on your part" -- but one has to something with the PAR-0.79-MSWin32-x86-multi-thread-5.8.2.par file, mustn't one? I thought about just copying over the stuff in the <0.79>.par file to my installation -- but: a) the <0.79>.par file has a /script subdirectory which is not in the existing installation tree c:\opt\perl. b) the existing installation tree has c:\opt\perl\lib as well as c:\opt\perl\site\lib -- so which lib should be the destination directory? (Archive-Zip, Module-ScanDeps and Par-Dist have ended up in c:\opt\perl\site\lib.) Now, the "perl Makefile.PL" command is happy about finding the right version of Archive-Zip, Module-ScanDeps and PAR-Dist: *** ExtUtils::AutoInstall version 0.56 *** Checking for dependencies... [Core Features] - File::Temp ...loaded. (0.13) - Compress::Zlib ...loaded. (1.16 >= 1.16) - Archive::Zip ...loaded. (1.09 >= 1) - Module::ScanDeps ...loaded. (0.39 >= 0.37) - PAR::Dist ...loaded. (0.07 >= 0.06) *** ExtUtils::AutoInstall configuration finished. Writing Makefile for the par.exe program Usage: xsubpp [-v] [-C++] [-except] [-prototypes] [-noversioncheck] [-nolinenumbers] [-nooptimize] [-noinout] [-noargtypes] [-s pattern] [-typemap typemap]... file.xs Writing Makefile for PAR 2) BUT ppm query * lists Archive-Zip but not Module-ScanDeps and not PAR-Dist. Why not? [Update: doing "ppm install PAR" reinstalled Module-ScanDeps and PAR-Dist again -- why this reinstall?] 3) And, once everything is installed, does the pp command require a compiler to generate .exe from .pl? 4) Perl2exe can cross-compile -- for example, from linux one can convert a .pl file to a .exe file that will run on Windows -- a windows exe file can be created on Linux. However, the example in PAR::Tutorial "Cross-platform Packages" requires one to run pp on a Windows platform to generate an executable that runs on Windows. Why is there this limitation in pp? 5) Are there any references to help understand the Bonus Slides in PAR::Tutorial, and to understand what goes on inside "Heavy.pm"? --Suresh
