m.nooning m.nooning-at-comcast.net |newsgroups3| schrieb:
I remember the emails back and forth about it, but obviously I did not pay enough attention. I will have to reread them and/or RTFM to see how to make an executable now, since pp no longer works.

pp *should* work. If it doesn't, it's still a bug. It is also, of course still maintained by the same people. It's just not in the PAR package I released but in its own PAR-Packer distro so I could separate all the C stuff from PAR.

[...]

Trying to open a subshell in the build directory...
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for C:\Perl\cpan\sources\authors\id\S\SM\SMUELLER\PAR-0.970_01.tar.gz ok
Scanning cache C:\Perl/cpan/build for sizes
Subroutine AUTOLOAD redefined at C:/perl/lib/Compress/Zlib.pm line 84.
Subroutine isaFilehandle redefined at C:/perl/lib/Compress/Zlib.pm line 106. Subroutine isaFilename redefined at C:/perl/lib/Compress/Zlib.pm line 115.
Subroutine gzopen redefined at C:/perl/lib/Compress/Zlib.pm line 122.
Subroutine ParseParameters redefined at C:/perl/lib/Compress/Zlib.pm line 139. Subroutine deflateInit redefined at C:/perl/lib/Compress/Zlib.pm line 205. Subroutine inflateInit redefined at C:/perl/lib/Compress/Zlib.pm line 217. Subroutine Compress::Zlib::deflateStream::deflateParams redefined at C:/perl/lib/Compress/Zlib.pm line 227.
Subroutine compress redefined at C:/perl/lib/Compress/Zlib.pm line 256.
Subroutine uncompress redefined at C:/perl/lib/Compress/Zlib.pm line 287.
Constant subroutine Compress::Zlib::MAGIC1 redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::MAGIC2 redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::OSCODE redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::FTEXT redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::FHCRC redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::FEXTRA redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::FNAME redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::FCOMMENT redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::NULL redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::RESERVED redefined at C:/perl/lib/constant.pm line 103. Constant subroutine Compress::Zlib::MIN_HDR_SIZE redefined at C:/perl/lib/constant.pm line 103.
Subroutine memGzip redefined at C:/perl/lib/Compress/Zlib.pm line 326.
Subroutine _removeGzipHeader redefined at C:/perl/lib/Compress/Zlib.pm line 357.
Subroutine memGunzip redefined at C:/perl/lib/Compress/Zlib.pm line 416.

Those errors aren't related to PAR. But they seem to indicate some or the other problem with your CPAN shell or your perl installation per se. No idea what's happening.

As a comment for MinGW users, I was getting the errors shown below during the installation of various items.

gcc: unrecognized option `-nologo'
gcc: unrecognized option `-nodefaultlib'
 ... ld.exe: cannot find -libpath:C:\Perl\lib\CORE
... sitecustomize.pl did not return a C:\perl\site\lib\sitecustomize.pl

Through experimentation, it seems I had to go to my MinGW32 shell (MSYS) and do
perl -MConfig_m Makefile.PL
nmake

and then switch to the Windows command prompt to do

nmake test
nmake install

I never had to do that before.

I got this error before when compiling parl.exe under Mingw+ASPerl. It doesn't happen with strawberry.

One thing you might try is adding a "1;" to the end of sitecustomize.pl.

The problem is that gcc doesn't know the -libpath switch. It's VC specific. So what I did to compile PAR-Packer was
- normal perl Makefile.PL, nmake dance
- when an error occurred, cd to myldr
--> run the command at fault with -libdir replaced by -I or -L
--> nmake again until no more errors
- nmake test
- nmake install

Not perfect, I know. I'm not sure why this happens. AS did some clever things to support mingw and for some reason - maybe related to PAR::Packer, maybe not - they break down here.

Steffen

Reply via email to