Re: Another sighting of Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
?b , 2004-01-08 12:40, Barrie Slaymaker ?g?D?G Below is a quick patch to make --add actuall add the requested file(s) instead of merely scanning it for dependancies. Wait, --add really works for me. What file(s) failed to --add for you? Are they .pm files? I'll need to tackle an extract all .pm and .pod modules to somewhere in @INC behavior to get my online help working (vcp help VCP::Foo scans @INC for VCP/Foo.{pm,pod} and POD::Texts it). Any guidance about where to look, what to change? I think one possible way is to force-assign the temp/cache file name into the $INC{} hash, instead of their current value of CODE(abcdef). How to do that is left as an exercise for the list, or at least until I get more tuits. :-) Thanks, /Autrijus/ signature.asc Description: =?UTF-8?Q?=E9=80=99=E6=98=AF=E6=95=B8=E4=BD=8D=E5=8A=A0=E7=B0=BD?= =?UTF-8?Q?=E7=9A=84=E9=83=B5?= =?UTF-8?Q?=E4=BB=B6?=
Re: Another sighting of Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
On Sat, Jan 10, 2004 at 01:52:03AM +0800, Autrijus Tang wrote: ?b , 2004-01-08 12:40, Barrie Slaymaker ?g?D?G Below is a quick patch to make --add actuall add the requested file(s) instead of merely scanning it for dependancies. Wait, --add really works for me. What file(s) failed to --add for you? Are they .pm files? Hopefully it's PEBKAC. Here's what I do and how I'm checking (*lots* of -adds elided). I'm expecting to see a lib/VCP/DB_File.pm in the .zip file and neither I nor vcp can find it: C:\Perforce\VCPbin\build_vcp_executable.pl pp -o vcp.exe -lib=lib --add=VCP::ConfigFileUtils ... --add=VCP::DB_File ... --add=VCP::Utils::vss bin/vcp C:\Perforce\VCPwzunzip -v vcp.exe | grep DB_File 4802 DeflatN 1482 70% 01/09/2004 14:14 b942fe2c lib/VCP/DB_File/big_records.pm 4341 DeflatN 1379 69% 01/09/2004 14:14 161f2ac8 lib/VCP/DB_File/sdbm.pm C:\Perforce\VCP.\vcp.exe help Can't locate VCP/DB_File.pm in @INC (@INC contains: CODE(0xa3dbcc) CODE(0xd27230) .) at VCP/DB_File/sdbm.pm line 33. BEGIN failed--compilation aborted at VCP/DB_File/sdbm.pm line 33. Compilation failed in require at VCP/DB_File/big_records.pm line 62. BEGIN failed--compilation aborted at VCP/DB_File/big_records.pm line 62. Compilation failed in require at VCP/Revs.pm line 27. BEGIN failed--compilation aborted at VCP/Revs.pm line 27. Compilation failed in require at VCP/Plugin.pm line 34. BEGIN failed--compilation aborted at VCP/Plugin.pm line 34. Compilation failed in require at VCP.pm line 31. Compilation failed in require at script/vcp line 274. BEGIN failed--compilation aborted at script/vcp line 274. C:\Perforce\VCP You can see the source for DB_File here in case it's a scanner bug: http://makeashorterlink.com/?Y41032407 I think one possible way is to force-assign the temp/cache file name into the $INC{} hash, instead of their current value of CODE(abcdef). How to do that is left as an exercise for the list, or at least until I get more tuits. :-) This is fundable for reasonable amounts of funding. I'll dig in and do it or you can. My alternative is to simply bundle the files I need from the disk in to and to have Perl code in vcp.exe extract them as need be. /Autrijus/ - Barrie
Re: Another sighting of Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
On Sun, Dec 28, 2003 at 10:59:41AM +0800, Autrijus Tang wrote: , 2003-12-23 11:50, Andy Balaam More info: After reading Autrijus' message here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00670.html I tried to do what he said: Thanks for the input, and sorry that I did not reply this earlier. Can you give 0.76_99 a try? It works on my WinXP home edition here... Woohoo! That, with perl5.8.2, fixes VCP on WinXP. Many thanks to Andy and Autrijus! Below is a quick patch to make --add actuall add the requested file(s) instead of merely scanning it for dependancies. I'll need to tackle an extract all .pm and .pod modules to somewhere in @INC behavior to get my online help working (vcp help VCP::Foo scans @INC for VCP/Foo.{pm,pod} and POD::Texts it). Any guidance about where to look, what to change? - Barrie --- script\pp Tue Jan 06 16:18:50 2004 +++ c:\perl\bin\pp Wed Jan 07 23:31:05 2004 @@ -172,6 +172,8 @@ @Input = grep !/\.pm\z/i, @Input; +$zip-addFile( $_ ) for @files; + $zip-addDirectory('', 'script') if @Input and $] = 5.008; my $script_filter = PAR::Filter-new( @{ opt(f) } ) if opt(f);
Re: Another sighting of Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
On Tue, Dec 23, 2003 at 03:14:47AM +, Andy Balaam wrote: Hi All, I'm trying to compile a Perl script (the XMLTV tools - http://sourceforge.net/projects/xmltv) into a Win32 executable on Windows XP Home using a custom compiled Perl 5.8.0 (compiled with MinGW). I'm using PAR 0.76. [Note for those following my previous activity: I gave up on Borland BCC55 and am now using MinGW, which has worked well for me - PAR compiles at least.] I am getting the same problems that Barrie Slaymaker reported here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00423.html Whew! I'm not crazy, and this rules out VMware. It also breaks for me on Win2K. I'll try the Win95 compatibility mode, but until I get to it, you might want to see if this shows any significant or useful differences between the win95 mode or not: http://razor.bindview.com/tools/desc/strace_readme.html I ran it on my foo.exe and noticed that some of the file reads got extra garbage bytes in them (IIRC), but I didn't think to try it on parl.exe. - Barrie
Re: Another sighting of Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
, 2003-12-23 11:50, Andy Balaam More info: After reading Autrijus' message here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00670.html I tried to do what he said: Thanks for the input, and sorry that I did not reply this earlier. Can you give 0.76_99 a try? It works on my WinXP home edition here... :-) Thanks, /Autrijus/ signature.asc Description: =?UTF-8?Q?=E9=80=99=E6=98=AF=E6=95=B8=E4=BD=8D=E5=8A=A0=E7=B0=BD?= =?UTF-8?Q?=E7=9A=84=E9=83=B5?= =?UTF-8?Q?=E4=BB=B6?=
Re: Another sighting of Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
I've added a question to the FAQ about this problem.
Re: Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
I apoligise if this message doesn't get posted to the par mailing list correctly - I'm trying here... I, too, had problems with parl.exe not spawning. I am running Windows XP Pro (WinXP WinXPPro), and I have MSVC++ installed. I am using ActiveState's perl. Whenever I tried to generate things with pp, I would get this error (Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372), and a nice little MS window would pop up asking me if I wanted to debug, etc. Even better, if I ran parl.exe, it would immediately crash, giving me the same window, but no error message. Finally, I used ppm to install par, and -lo and behold!-, it seems to be working. I guess it couldn't find Par.pm and was dying. Hope my experience helps!! Peter __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
Re: Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
In case it helps, it looks like parl.exe runs consistently for me on WinXPPro. I don't have your program to try, but running pp on simple scripts and executing them also appears to work correctly. Setup: OS: WinXPPro Perl: Activestate 5.8.0 Built 00:45:44 Mar 31, 2003 PAR: 0.75 (from binary) If there is anything I can help test for this, please let me know. Thanks, Nathan Barrie Slaymaker wrote: pp looks to be very nice, but I can't seem to get parl.exe to load reliably on WinXPPro, example session below. Any ideas? Thanks, Barrie C:\Perforce\VCPparl C:\Perforce\VCPparl C:\Perforce\VCPparl C:\Perforce\VCPparl C:\Perforce\VCPpp -o vcp.exe bin/vcp Can't spawn C:\Perl\bin\parl.exe: No error at C:\Perl\bin\pp line 372. C:\Perforce\VCPparl C:\Perforce\VCPparl Usage: C:\Perl\bin\parl.exe [ -Alib.par ] [ -Idir ] [ -Mmodule ] [ src.par ] [ p rogram.pl ] C:\Perl\bin\parl.exe [ -B|-b ] [-Ooutfile] src.par C:\Perforce\VCPpp -o vcp.exe bin/vcp C:\Perforce\VCPvcp.exe Can't locate VCP/Logger.pm in @INC (@INC contains: CODE(0xc29844) CODE(0xd151e0) .) at script/vcp line 271. BEGIN failed--compilation aborted at script/vcp line 271.
Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
pp looks to be very nice, but I can't seem to get parl.exe to load reliably on WinXPPro, example session below. Any ideas? Thanks, Barrie C:\Perforce\VCPparl C:\Perforce\VCPparl C:\Perforce\VCPparl C:\Perforce\VCPparl C:\Perforce\VCPpp -o vcp.exe bin/vcp Can't spawn C:\Perl\bin\parl.exe: No error at C:\Perl\bin\pp line 372. C:\Perforce\VCPparl C:\Perforce\VCPparl Usage: C:\Perl\bin\parl.exe [ -Alib.par ] [ -Idir ] [ -Mmodule ] [ src.par ] [ p rogram.pl ] C:\Perl\bin\parl.exe [ -B|-b ] [-Ooutfile] src.par C:\Perforce\VCPpp -o vcp.exe bin/vcp C:\Perforce\VCPvcp.exe Can't locate VCP/Logger.pm in @INC (@INC contains: CODE(0xc29844) CODE(0xd151e0) .) at script/vcp line 271. BEGIN failed--compilation aborted at script/vcp line 271.
Re: Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
On Sep 27 2003, Barrie Slaymaker wrote: On Sep 27 2003, Barrie Slaymaker wrote: pp looks to be very nice, but I can't seem to get parl.exe to load reliably on WinXPPro, example session below. Any ideas? More info: parl.exe launches reliably on Win2KPro. Spoke too soon. Every once in a while I get the same failure when running pp on Win2KPro. I also get silent, quick exits occasionally when running the generated executable, unfortunately. I'm running both Win2K and WinXP under VMWare, but all other executables seem to load well and run (we run some pretty serious C++ compiles on win2k, for instance). - Barrie
Re: Can't spawn parl.exe: No error at c:\Perl\bin\pp line 372
On Sep 27 2003, Autrijus Tang wrote: Bummer. Having no WinXP here I can't test it at all. However, what version of VC++ are you using to compile parl.exe on WinXP? It's a binary install hidden from me by PAR-0.75's Makefile.PL magic :). - Barrie