Skip Menu |
 

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 64576
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: terziyski [...] abv.bg
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: pp bug
Date: Fri, 7 Jan 2011 17:22:07 +0200 (EET)
To: bug-par [...] rt.cpan.org
From: Ивайло Терзийски <terziyski [...] abv.bg>
Hi, After an attempt to make an executable with pp on MS Windows Vista Enterprise from .pl I have received the following message: Undefined subroutine &amp;version::vxs::_VERSION called at C:/Perl/site/lib/PAR/Packer.pm line 566. My environment: This is perl, v5.10.0 built for MSWin32-x86-multi-thread (with 5 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 1004 [287188] provided by ActiveState http://www.ActiveState.com Built Sep 3 2008 13:16:37 _______________________________________________________________ Locally applied patches: ActivePerl Build 1004 [287188] 33741 avoids segfaults invoking S_raise_signal() (on Linux) 33763 Win32 process ids can have more than 16 bits 32809 Load 'loadable object' with non-default file extension 32728 64-bit fix for Time::Local Built under MSWin32 Compiled at Sep 3 2008 13:16:37 @INC: C:/Perl/site/lib C:/Perl/lib . ______________________________________________________________ Par-Packer 1.008 Faithfully yours, I. Terziyski
Download (untitled) / with headers
text/plain 471b
The basics, please: - your versions of PAR, PAR::Packer, Module::ScanDeps? - did you build them yourself? if so, did you run the test suite? - did you run the packed executable on the same machine where you packed it? - did you try a minimal example, e.g. pp -o hello.exe -e "print qq[hello\n]" .\hello.exe Note that this a probably a lost cause, because PAR::Packer does NOT work fully with Perl 5.10.0 (all versions below or above are OK). Cheers, Roderich
Subject: Re: [rt.cpan.org #64576] pp bug
Date: Mon, 10 Jan 2011 12:52:48 +0200 (EET)
To: bug-PAR-Packer [...] rt.cpan.org
From: Ивайло Терзийски <terziyski [...] abv.bg>
Download (untitled) / with headers
text/plain 1009b
Hi, Module::ScanDeps ver 0.98 PAR ver 1.000 Par::Packer 1.008 This is Win32 version - installed with PPM I have received this message in attempt to compile. Even with minimal example I receive this error message - so I am not able to compile anything. Show quoted text
>-------- Оригинално писмо -------- >От: "Roderich Schupp via RT" >Относно: [rt.cpan.org #64576] pp bug >До: terziyski@abv.bg >Изпратено на: Петък, 2011, Януари 7 18:23:04 EET
Show quoted text
> > >The basics, please: > >- your versions of PAR, PAR::Packer, Module::ScanDeps? >- did you build them yourself? if so, did you run the test suite? >- did you run the packed executable on the same machine where you packed it? >- did you try a minimal example, e.g. > > pp -o hello.exe -e "print qq[hello\n]" > .\hello.exe > >Note that this a probably a lost cause, because PAR::Packer does >NOT work fully with Perl 5.10.0 (all versions below or above are OK). > >Cheers, Roderich > >
Download (untitled) / with headers
text/plain 553b
On 2011-01-10 05:53:00, terziyski@abv.bg wrote: Show quoted text
> This is Win32 version - installed with PPM
OK, sometimes prebuilt versions of PAR::Packer don't work with your installed version of Perl (even if they claim to do so). Please build PAR::Packer from source (including running "[dn]make test") and attach build+test log. Show quoted text
> I have received this message in attempt to compile.
Just for clarification: pp doesn't "compile" anything - it merely packs your script and all needed modules into something like a self-extracting zip file. Cheers, Roderich
Subject: Re: [rt.cpan.org #64576] pp bug
Date: Tue, 11 Jan 2011 07:39:41 +0200 (EET)
To: bug-PAR-Packer [...] rt.cpan.org
From: Ивайло Терзийски <terziyski [...] abv.bg>
Download (untitled) / with headers
text/plain 1.3k
Hi, I've upgraded PAR packet from ver 1.000 to ver 1.002 "please build PAR::Packer from source (including running "[dn]make test")" - How to do that in Windows Vista Ent environment ? "Just for clarification: pp doesn't "compile" anything - it merely packs your script and all needed modules into something like a self-extracting zip file." - I don't have any output from command "pp -o test example.pl" Only the error message : "Undefined subroutine &amp;version::vxs::_VERSION called at C:/Perl/site/lib/PAR/Packer.pm line" 566. Show quoted text
>-------- Оригинално писмо -------- >От: "Roderich Schupp via RT" >Относно: [rt.cpan.org #64576] pp bug >До: terziyski@abv.bg >Изпратено на: Понеделник, 2011, Януари 10 15:14:30 EET
Show quoted text
> > >On 2011-01-10 05:53:00, terziyski@abv.bg wrote:
>> This is Win32 version - installed with PPM
> >OK, sometimes prebuilt versions of PAR::Packer don't work >with your installed version of Perl (even if they claim to do so). >Please build PAR::Packer from source (including running "[dn]make test") >and attach build+test log. >
>> I have received this message in attempt to compile.
> >Just for clarification: pp doesn't "compile" anything - it merely >packs your script and all needed modules into something >like a self-extracting zip file. > >Cheers, Roderich > > >
Download (untitled) / with headers
text/plain 808b
On 2011-01-11 00:39:53, terziyski@abv.bg wrote: Show quoted text
>> please build> PAR::Packer from source (including running "[dn]make test")
> - How to do that in Windows Vista Ent environment ?
Like any other Perl module, e.g. using the "cpan" command. You'll need a C compiler for PAR::Packer. If you you have VisualStudio, just make sure that the path to the C compiler is in the environment when you invoke "cpan". Otherwise use MingW. I think ActiveState has a ppm "mingw" or something, install that first. Show quoted text
> - I don't have any output from command "pp -o test example.pl" Only
the error message : "Undefined subroutine &amp;version::vxs::_VERSION called at C:/Perl/site/lib/PAR/Packer.pm line" 566. Is this really the same error message when trying to pp the trivial example (hello.exe)? Cheers, Roderich
Subject: Re: [rt.cpan.org #64576] pp bug
Date: Wed, 12 Jan 2011 13:27:38 +0200 (EET)
To: bug-PAR-Packer [...] rt.cpan.org
From: Ивайло Терзийски <terziyski [...] abv.bg>
Download (untitled) / with headers
text/plain 7.4k
1. cpan> install PAR::Packer Going to read C:\Perl\cpan\Metadata Database was generated on Mon, 10 Jan 2011 22:37:39 GMT Running install for module 'PAR::Packer' Running make for R/RS/RSCHUPP/PAR-Packer-1.008.tar.gz Checksum for C:\Perl\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer-1.008.tar.g z ok Scanning cache C:\Perl/cpan/build for sizes ............................................................................DONE PAR-Packer-1.008/ PAR-Packer-1.008/myldr/ PAR-Packer-1.008/myldr/run_with_inc.pl PAR-Packer-1.008/myldr/encode_append.pl PAR-Packer-1.008/myldr/win32.res PAR-Packer-1.008/myldr/sha1.c.PL PAR-Packer-1.008/myldr/win32.coff PAR-Packer-1.008/myldr/static.c PAR-Packer-1.008/myldr/Makefile.PL PAR-Packer-1.008/myldr/env.c PAR-Packer-1.008/myldr/internals.c PAR-Packer-1.008/myldr/win32.obj PAR-Packer-1.008/myldr/main.c PAR-Packer-1.008/myldr/file2c.pl PAR-Packer-1.008/myldr/usernamefrompwuid.c PAR-Packer-1.008/myldr/parlsig.pl PAR-Packer-1.008/myldr/mktmpdir.h PAR-Packer-1.008/myldr/utils.c PAR-Packer-1.008/myldr/mktmpdir.c PAR-Packer-1.008/MANIFEST.SKIP PAR-Packer-1.008/contrib/ PAR-Packer-1.008/contrib/stdio/ PAR-Packer-1.008/contrib/stdio/Stdio_readme.txt PAR-Packer-1.008/contrib/stdio/Stdio.pm PAR-Packer-1.008/contrib/gui_pp/ PAR-Packer-1.008/contrib/gui_pp/gpp_readme.txt PAR-Packer-1.008/contrib/gui_pp/gpp PAR-Packer-1.008/contrib/pare/ PAR-Packer-1 .008/contrib/pare/pare_readme.txt PAR-Packer-1.008/contrib/pare/pare PAR-Packer-1.008/contrib/procedural_pp/ PAR-Packer-1.008/contrib/procedural_pp/pp_old PAR-Packer-1.008/contrib/automated_pp_test/ PAR-Packer-1.008/contrib/automated_pp_test/automated_pp_test.pl PAR-Packer-1.008/contrib/automated_pp_test/hello_tk.pl PAR-Packer-1.008/contrib/automated_pp_test/hi.ico PAR-Packer-1.008/contrib/automated_pp_test/pipe_a_command.pm PAR-Packer-1.008/contrib/automated_pp_test/prior_to_test.pm PAR-Packer-1.008/contrib/automated_pp_test/remove_file_and_try_executable_again. pm PAR-Packer-1.008/contrib/automated_pp_test/test_in_further_subdir.pm PAR-Packer-1.008/contrib/extract_embedded/ PAR-Packer-1.008/contrib/extract_embedded/extract-embedded.pl PAR-Packer-1.008/contrib/docs/ PAR-Packer-1.008/contrib/docs/where_is_it.txt PAR-Packer-1.008/contrib/docs/who_am_i.txt PAR-Packer-1.008/inc/ PAR-Packer-1.008/inc/Module/ PAR-Packer-1.008/inc/Module/Install.pm PAR-Packer- 1.008/inc/Module/Install/ PAR-Packer-1.008/inc/Module/Install/Win32.pm PAR-Packer-1.008/inc/Module/Install/Makefile.pm PAR-Packer-1.008/inc/Module/Install/WriteAll.pm PAR-Packer-1.008/inc/Module/Install/PAR.pm PAR-Packer-1.008/inc/Module/Install/Fetch.pm PAR-Packer-1.008/inc/Module/Install/Include.pm PAR-Packer-1.008/inc/Module/Install/Metadata.pm PAR-Packer-1.008/inc/Module/Install/Can.pm PAR-Packer-1.008/inc/Module/Install/Base.pm PAR-Packer-1.008/inc/PerlIO.pm PAR-Packer-1.008/inc/Test/ PAR-Packer-1.008/inc/Test/More.pm PAR-Packer-1.008/inc/Test/Builder/ PAR-Packer-1.008/inc/Test/Builder/IO/ PAR-Packer-1.008/inc/Test/Builder/IO/Scalar.pm PAR-Packer-1.008/inc/Test/Builder/Module.pm PAR-Packer-1.008/inc/Test/Builder.pm PAR-Packer-1.008/inc/parent.pm PAR-Packer-1.008/script/ PAR-Packer-1.008/script/pp PAR-Packer-1.008/script/par.pl PAR-Packer-1.008/script/tkpp PAR-Packer-1.008/script/parl.pod PAR-Packer-1.008/t/ PAR-Packer-1.008/t/20-pp.t PAR-Packer -1.008/t/30-current_exec.t PAR-Packer-1.008/t/00-pod.t PAR-Packer-1.008/t/test-proc PAR-Packer-1.008/t/40-packer_cd_option.t PAR-Packer-1.008/t/90-rt59710.t PAR-Packer-1.008/t/10-parl-generation.t PAR-Packer-1.008/Makefile.PL PAR-Packer-1.008/package/ PAR-Packer-1.008/package/parl.nsi PAR-Packer-1.008/ChangeLog PAR-Packer-1.008/lib/ PAR-Packer-1.008/lib/PAR/ PAR-Packer-1.008/lib/PAR/Packer.pm PAR-Packer-1.008/lib/PAR/StrippedPARL/ PAR-Packer-1.008/lib/PAR/StrippedPARL/Dynamic.pm PAR-Packer-1.008/lib/PAR/StrippedPARL/Static.pm PAR-Packer-1.008/lib/PAR/StrippedPARL/Base.pm PAR-Packer-1.008/lib/PAR/Filter/ PAR-Packer-1.008/lib/PAR/Filter/PodStrip.pm PAR-Packer-1.008/lib/PAR/Filter/Bleach.pm PAR-Packer-1.008/lib/PAR/Filter/PatchContent.pm PAR-Packer-1.008/lib/PAR/Filter/Bytecode.pm PAR-Packer-1.008/lib/PAR/Filter/Obfuscate.pm PAR-Packer-1.008/lib/PAR/Filter.pm PAR-Packer-1.008/lib/pp.pm PAR-Packer-1.008/lib/App/ PAR-Packer-1.008/lib/App/Packer/ PAR-Pac ker-1.008/lib/App/Packer/PAR.pm PAR-Packer-1.008/TODO PAR-Packer-1.008/MANIFEST PAR-Packer-1.008/README PAR-Packer-1.008/AUTHORS PAR-Packer-1.008/META.yml CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.008.tar.gz Set up gcc environment - 4.5.0 Checking if your kit is complete... Looks good Note (probably harmless): No library found for perl510.lib Note (probably harmless): No library found for -lkernel32 Note (probably harmless): No library found for -luser32 Note (probably harmless): No library found for -lgdi32 Note (probably harmless): No library found for -lwinspool Note (probably harmless): No library found for -lcomdlg32 Note (probably harmless): No library found for -ladvapi32 Note (probably harmless): No library found for -lshell32 Note (probably harmless): No library found for -lole32 Note (probably harmless): No library found for -loleaut32 Note (probably harmless): No library found for -lnetapi32 Note (probably harmless): No library found for -luuid Note (probably harmless): No library found for -lws2_32 Note (probably harmless): No library found for -lmpr Note (probably harmless): No library found for -lwinmm Note (probably harmless): No library found f or -lversion Note (probably harmless): No library found for -lodbc32 Note (probably harmless): No library found for -lodbccp32 Note (probably harmless): No library found for -lmsvcrt Writing Makefile for the par.exe program Writing Makefile for PAR::Packer Undefined subroutine &amp;version::vxs::_VERSION called at inc/Module/Install/Makefile.pm line 357. Warning: No success on command[c:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site ] RSCHUPP/PAR-Packer-1.008.tar.gz c:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: RSCHUPP/PAR-Packer-1.008.tar.gz : writemakefile NO 'c:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned status 512 2. yes it's the same error. Show quoted text
>-------- Оригинално писмо -------- >От: "Roderich Schupp via RT" >Относно: [rt.cpan.org #64576] pp bug >До: terziyski@abv.bg >Изпратено на: Вторник, 2011, Януари 11 12:20:54 EET
Show quoted text
> > >On 2011-01-11 00:39:53, terziyski@abv.bg wrote:
>>> please build> PAR::Packer from source (including running "[dn]make test")
>> - How to do that in Windows Vista Ent environment ?
> >Like any other Perl module, e.g. using the "cpan" command. >You'll need a C compiler for PAR::Packer. > >If you you have VisualStudio, just make sure that the path >to the C compiler is in the environment when you invoke "cpan". >Otherwise use MingW. I think ActiveState has a ppm "mingw" >or something, install that first. >
>> - I don't have any output from command "pp -o test example.pl" Only
>the error message : "Undefined subroutine &amp;version::vxs::_VERSION >called at C:/Perl/site/lib/PAR/Packer.pm line" 566. > >Is this really the same error message when trying to pp the >trivial example (hello.exe)? > >Cheers, Roderich > > > >
Subject: Re: [rt.cpan.org #64576] pp bug
Date: Wed, 12 Jan 2011 13:46:57 +0200 (EET)
To: bug-PAR-Packer [...] rt.cpan.org
From: Ивайло Терзийски <terziyski [...] abv.bg>
Download (untitled) / with headers
text/plain 2.4k
Under MingW shell - installing by hand: $ perl Makefile.PL Set up gcc environment - 4.5.0 Checking if your kit is complete... Looks good Note (probably harmless): No library found for perl510.lib Note (probably harmless): No library found for -lkernel32 Note (probably harmless): No library found for -luser32 Note (probably harmless): No library found for -lgdi32 Note (probably harmless): No library found for -lwinspool Note (probably harmless): No library found for -lcomdlg32 Note (probably harmless): No library found for -ladvapi32 Note (probably harmless): No library found for -lshell32 Note (probably harmless): No library found for -lole32 Note (probably harmless): No library found for -loleaut32 Note (probably harmless): No library found for -lnetapi32 Note (probably harmless): No library found for -luuid Note (probably harmless): No library found for -lws2_32 Note (probably harmless): No library found for -lmpr Note (probably harmless): No library found for -lwinmm Note (probably harmless) : No library found for -lversion Note (probably harmless): No library found for -lodbc32 Note (probably harmless): No library found for -lodbccp32 Note (probably harmless): No library found for -lmsvcrt Writing Makefile for the par.exe program Writing Makefile for PAR::Packer Undefined subroutine &amp;version::vxs::_VERSION called at inc/Module/Install/Makefile.pm line 357. Show quoted text
>-------- Оригинално писмо -------- >От: "Roderich Schupp via RT" >Относно: [rt.cpan.org #64576] pp bug >До: terziyski@abv.bg >Изпратено на: Вторник, 2011, Януари 11 12:20:54 EET
Show quoted text
> > >On 2011-01-11 00:39:53, terziyski@abv.bg wrote:
>>> please build> PAR::Packer from source (including running "[dn]make test")
>> - How to do that in Windows Vista Ent environment ?
> >Like any other Perl module, e.g. using the "cpan" command. >You'll need a C compiler for PAR::Packer. > >If you you have VisualStudio, just make sure that the path >to the C compiler is in the environment when you invoke "cpan". >Otherwise use MingW. I think ActiveState has a ppm "mingw" >or something, install that first. >
>> - I don't have any output from command "pp -o test example.pl" Only
>the error message : "Undefined subroutine &amp;version::vxs::_VERSION >called at C:/Perl/site/lib/PAR/Packer.pm line" 566. > >Is this really the same error message when trying to pp the >trivial example (hello.exe)? > >Cheers, Roderich > > > >
Download (untitled) / with headers
text/plain 660b
On 2011-01-12 06:47:08, terziyski@abv.bg wrote: Show quoted text
> Writing Makefile for PAR::Packer Undefined subroutine &amp;version::v
s::_VERSION called at inc/Module/Install/Makefile.pm line 357. Your Perl installation looks broken: check for conflicting versions of the module "version.pm" along your module search path (@INC). There's probably a "version.pm" from the Perl core and another one from CPAN. Both may have an XS part in ...\auto\version\vxs\vxs.dll, one of which may be missing etc. Looks like "use version" loads the Perl part of version.pm from one installation and the XS part (vxs.dll) from the other and they are not compatible. Cheers, Roderich
Subject: Re: [rt.cpan.org #64576] pp bug
Date: Thu, 13 Jan 2011 11:04:39 +0200 (EET)
To: bug-PAR-Packer [...] rt.cpan.org
From: Ивайло Терзийски <terziyski [...] abv.bg>
Download (untitled) / with headers
text/plain 1.1k
Hi, Roderich After upgrading with PPM, package 'version' from ver.0.79 to ver.0.88 and reinstalling package Par::Packer ver.1.008 everything works fine. You can close the ticket. Thank you for assistance and time. Show quoted text
>-------- Оригинално писмо -------- >От: "Roderich Schupp via RT" >Относно: [rt.cpan.org #64576] pp bug >До: terziyski@abv.bg >Изпратено на: Сряда, 2011, Януари 12 17:14:24 EET
Show quoted text
> > >On 2011-01-12 06:47:08, terziyski@abv.bg wrote:
>> Writing Makefile for PAR::Packer Undefined subroutine &amp;version::v
>s::_VERSION called at inc/Module/Install/Makefile.pm line 357. > >Your Perl installation looks broken: check for conflicting >versions of the module "version.pm" along your module search path >(@INC). There's probably a "version.pm" from the Perl core >and another one from CPAN. Both may have an XS part in >...\auto\version\vxs\vxs.dll, one of which may be missing etc. >Looks like "use version" loads the Perl part of version.pm >from one installation and the XS part (vxs.dll) from >the other and they are not compatible. > >Cheers, Roderich > >
Thanks for folowing thru :) Cheers, Roderich


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.