Subject: | 2.066 Fails to Build in Strawberry Perl 32 |
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.