Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 74042
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

Owner: Nobody in particular
Requestors: davetgerrard [...]

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

Subject: Failed install of List::MoreUtils
Date: Mon, 16 Jan 2012 17:20:44 +0000
To: bug-Perl-Dist-Strawberry [...]
From: Dave Gerrard <davetgerrard [...]>
Download (untitled) / with headers
text/plain 1.1k
Hi, Installation of the module List::MoreUtils has failed using cpan and subsequently using dmake within the strawberry\cpan\build\List-MoreUtils.. directory. After 'perl Makefile.PL' I get hundreds of lines of output (only the last 10 or so are shown below) and the module fails to install. I'm running strawberry perl Truncated output:- MoreUtils.o:MoreUtils.c:(.text+0xed9d): undefined reference to `Perl_sv_free' MoreUtils.o:MoreUtils.c:(.text+0xeda9): undefined reference to `Perl_get_context' MoreUtils.o:MoreUtils.c:(.text+0xedb5): undefined reference to `Perl_sv_free2' MoreUtils.o:MoreUtils.c:(.text+0xedc1): undefined reference to `Perl_get_context' MoreUtils.o:MoreUtils.c:(.text+0xedd0): undefined reference to `Perl_sv_free2' MoreUtils.o:MoreUtils.c:(.text+0xee01): undefined reference to `Perl_get_context' MoreUtils.o:MoreUtils.c:(.text+0xee15): undefined reference to `Perl_croak' MoreUtils.o:MoreUtils.c:(.text+0xd49b): undefined reference to `Perl_sv_free2' MoreUtils.o:MoreUtils.c:(.text+0xd4b5): undefined reference to `Perl_sv_free' collect2: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\List\MoreUtils\MoreUtils.dll' Best, Dave Gerrard
It should install smoothly.

Could you please send the output of the following commands:

perl -V

echo %PATH%

Subject: Re: [ #74042] Failed install of List::MoreUtils
Date: Thu, 19 Jan 2012 13:32:51 +0000
To: bug-Perl-Dist-Strawberry [...]
From: Dave Gerrard <davetgerrard [...]>
Requested output below. I notice that there is more than one Perl in my PATH (I had activestate perl installed and un-installed but didn't manually change the path myself). Best, Dave Gerrard C:\strawberry\cpan\build\List-MoreUtils-0.33-3mlImg>perl -V Summary of my perl5 (revision 5 version 12 subversion 3) configuration: Platform: osname=MSWin32, osvers=6.1, archname=MSWin32-x64-multi-thread uname='Win32 strawberryperl #1 Sun May 15 09:43:50 2011 x64' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-al iasing -mms-bitfields -DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.4.3', gccosandvers='' intsize=4, longsize=4, ptrsize=8, 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:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\li b"' libpth=C:\strawberry\c\lib C:\strawberry\c\x86_64-w64-mingw32\lib 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=libperl512.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\st rawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Built under MSWin32 Compiled at May 15 2011 09:52:35 %ENV: PERL_JSON_BACKEND="JSON::XS" PERL_YAML_BACKEND="YAML" @INC: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib . C:\strawberry\cpan\build\List-MoreUtils-0.33-3mlImg>echo %PATH% C:\Perl64\site\bin;C:\Perl64\bin;C:\Perl\bin\perl.exe;C:\Program Files (x86)\MiK TeX 2.9\miktex\bin;c:\Rtools\bin;c:\Rtools\MinGW\bin;c:\Rtools\MinGW64\bin;C:\Us ers\Public\Apps\Rtools;C:\Program Files\R\R-2.13.1\bin;C:\Users\Public\Apps\Rtoo ls;C:\Program Files\R\R-2.13.1\bin\x64;C:\Program Files (x86)\MPICH2\bin;C:\Prog ram Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Comm on Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows \System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Dell \DW WLAN Card;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Pro gram Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files (x86 )\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Windows Live\Share d;C:\Program Files (x86)\Graphviz2.20\bin;C:\Program Files (x86)\QuickTime\QTSys tem\;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\/ Program Files (x86)\/Graphviz2.20/bin On 19 January 2012 13:18, kmx via RT <>wrote: Show quoted text
> <URL: > > > It should install smoothly. > > Could you please send the output of the following commands: > > perl -V > > echo %PATH% > > -- > kmx > >
I think the trouble is that you have some other gcc.exe compiler somewhere in PATH (my guess: c:\Rtools\MinGW\bin or c:\Rtools\MinGW64\bin)

what is your output of: gcc -v


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

Please report any issues with to