Skip Menu |
 

This queue is for tickets about the Compress-Raw-Zlib CPAN distribution.

Report information
The Basics
Id: 100759
Status: resolved
Priority: 0/
Queue: Compress-Raw-Zlib

People
Owner: Nobody in particular
Requestors: john.poole [...] oracle.com
Cc:
AdminCc:

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



Subject: 2.066 Fails to Build in Strawberry Perl 32
Download (untitled) / with headers
text/plain 3.7k
Show quoted text
cpan> install Compress::Raw::Zlib
results in: c:/strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/4.7.3/../../../../x86_64-w64-m ingw32/bin/ld.exe: Zlib.o: bad reloc address 0xf60 in section `.rdata' c:/strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/4.7.3/../../../../x86_64-w64-m ingw32/bin/ld.exe: final link failed: Invalid operation collect2.exe: error: ld returned 1 exit status dmake.exe: Error code 129, while making 'blib\arch\auto\Compress\Raw\Zlib\Zlib. xs.dll' PMQS/Compress-Raw-Zlib-2.066.tar.gz C:\STRAWB~2\c\bin\dmake.exe -- NOT OK Stopping: 'install' failed for 'Compress::Raw::Zlib'. Failed during this command: PMQS/Compress-Raw-Zlib-2.066.tar.gz : make NO A log of the attempt is at: http://pastebin.com/JAWDDfQz This is a fresh Strawberry Perl 32 installation: C:\Users\jlpoole\Documents>C:/strawberry32/perl/bin/perl -V Summary of my perl5 (revision 5 version 20 subversion 1) configuration: Platform: osname=MSWin32, osvers=6.3, archname=MSWin32-x86-multi-thread-64int uname='Win32 strawberry-perl 5.20.1.1 #1 Mon Sep 15 18:25:23 2014 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT _CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitf ields', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.8.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\STRAWB~2\perl\lib\CORE" -L"C:\STRAWB~2\c\lib"' libpth=C:\STRAWB~2\c\lib C:\STRAWB~2\c\i686-w64-mingw32\lib C:\STRAWB~2\c\li b\gcc\i686-w64-mingw32\4.8.3 libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladva pi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lver sion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl520.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\STRAWB~2\perl\lib\CORE" -L"C:\STRA WB~2\c\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Sep 15 2014 18:29:20 @INC: C:/strawberry32/perl/site/lib C:/strawberry32/perl/vendor/lib C:/strawberry32/perl/lib . C:\Users\jlpoole\Documents> However, I do have C:\Strawberry [64 bit version] installed. I just installed the 32 bit version to coincide with some MinGW processes. I'm wondering if there may be a problem with Strawberry32 being installed after Strawberry64 and the cpan modules getting confused. I'll look further into this question.
Subject: NOT_A_BUG: 2.066 Fails to Build in Strawberry Perl 32
From: john.poole [...] oracle.com
Download (untitled) / with headers
text/plain 4.6k
On Sat Dec 06 18:44:58 2014, jlpoole wrote: Show quoted text
> cpan> install Compress::Raw::Zlib
> > results in: > c:/strawberry/c/bin/../lib/gcc/x86_64-w64- > mingw32/4.7.3/../../../../x86_64-w64-m > ingw32/bin/ld.exe: Zlib.o: bad reloc address 0xf60 in section `.rdata' > c:/strawberry/c/bin/../lib/gcc/x86_64-w64- > mingw32/4.7.3/../../../../x86_64-w64-m > ingw32/bin/ld.exe: final link failed: Invalid operation > collect2.exe: error: ld returned 1 exit status > dmake.exe: Error code 129, while making > 'blib\arch\auto\Compress\Raw\Zlib\Zlib. > xs.dll' > PMQS/Compress-Raw-Zlib-2.066.tar.gz > C:\STRAWB~2\c\bin\dmake.exe -- NOT OK > Stopping: 'install' failed for 'Compress::Raw::Zlib'. > Failed during this command: > PMQS/Compress-Raw-Zlib-2.066.tar.gz : make NO > > A log of the attempt is at: http://pastebin.com/JAWDDfQz > > This is a fresh Strawberry Perl 32 installation: > > C:\Users\jlpoole\Documents>C:/strawberry32/perl/bin/perl -V > Summary of my perl5 (revision 5 version 20 subversion 1) > configuration: > > Platform: > osname=MSWin32, osvers=6.3, archname=MSWin32-x86-multi-thread-64int > uname='Win32 strawberry-perl 5.20.1.1 #1 Mon Sep 15 18:25:23 2014 > i386' > config_args='undef' > hint=recommended, useposix=true, d_sigaction=undef > useithreads=define, usemultiplicity=define > use64bitint=define, use64bitall=undef, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS > -DPERL_IMPLICIT > _CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing > -mms-bitf > ields', > optimize='-s -O2', > cppflags='-DWIN32' > ccversion='', gccversion='4.8.3', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 > ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long > long', > lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='g++', ldflags ='-s -L"C:\STRAWB~2\perl\lib\CORE" > -L"C:\STRAWB~2\c\lib"' > libpth=C:\STRAWB~2\c\lib C:\STRAWB~2\c\i686-w64-mingw32\lib > C:\STRAWB~2\c\li > b\gcc\i686-w64-mingw32\4.8.3 > libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 > -ladvapi32 > -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm > -lversion > -lodbc32 -lodbccp32 -lcomctl32 > perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool > -lcomdlg32 -ladva > pi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr > -lwinmm -lver > sion -lodbc32 -lodbccp32 -lcomctl32 > libc=, so=dll, useshrplib=true, libperl=libperl520.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags='-mdll -s -L"C:\STRAWB~2\perl\lib\CORE" > -L"C:\STRA > WB~2\c\lib"' > > > Characteristics of this binary (from libperl): > Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY > PERLIO_LAYERS PERL_DONT_CREATE_GVSV > PERL_HASH_FUNC_ONE_AT_A_TIME_HARD > PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS > PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE > PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS > USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE > USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO > USE_PERL_ATOF > Built under MSWin32 > Compiled at Sep 15 2014 18:29:20 > @INC: > C:/strawberry32/perl/site/lib > C:/strawberry32/perl/vendor/lib > C:/strawberry32/perl/lib > . > > C:\Users\jlpoole\Documents> > > However, I do have C:\Strawberry [64 bit version] installed. I just > installed the 32 bit version to coincide with some MinGW processes. > I'm wondering if there may be a problem with Strawberry32 being > installed after Strawberry64 and the cpan modules getting confused. > I'll look further into this question.
It turned out, indeed, that my SYSTEM environment had 3 different Perls (Activestate, Strawberry64, & Strawberry32) in the PATH variable. I removed all reference to perl in SYSTEM's PATH, made sure my personal PATH contained no references. Then I modified C:\Strawberr32\perl\bin\cpan.bat by adding this line after the "echo off": set PATH=C:\Strawberry32\c\bin;C:\Strawberry32\perl\site\bin;C:\Strawberry32\perl\bin;%PATH% I then was able to launch Strawberry32 cpan and successfully install both Compress::Raw::Zlib and IO::Uncompress::UnXz. This bug may be closed and serve as a warning to anyone who has installed more than one Perl system on their box -- the installers ignore the presence of other Perl installs... pity.
Good to hear you got it sorted. cheers Paul


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.