Hi.
I know this is a mod_perl list, not a perl list per se, but maybe someone here knows the
issue..
On my Windows XP laptop, I have just de-installed my old Perl 5.10 and installed
ActivePerl 5.16 (which caused some issues with mod_perl now resolved, see previous post
today).
But I am having another problem : whenever I try to install a CPAN module, it starts
nicely enough, but then invariably crashes at some point with a message :
C:Perlbinperl.exe: not found
dmake.exe: Error code 255, while making 'blib\lib\.exists'
(a more lengthy excerpt below).
I figure that it must be misinterpreting the backslashes in the path to Perl (which is at
C:\perl\bin\perl), but I cannot imagine that I would be the only one to have experienced this.
Any clue as to how to fix this ?
More output lines of an example, trying to install Template::Toolkit :
...
AppConfig-1.66/t/novars.t
AppConfig-1.66/t/state.t
AppConfig-1.66/t/sys.t
AppConfig-1.66/TODO
CPAN.pm: Building A/AB/ABW/AppConfig-1.66.tar.gz
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Checking if your kit is complete...
Looks good
Writing Makefile for AppConfig
Writing MYMETA.yml and MYMETA.json
C:Perlbinperl.exe: not found
dmake.exe: Error code 255, while making 'blib\lib\.exists'
ABW/AppConfig-1.66.tar.gz
C:\Perl\site\bin\dmake.exe -- NOT OK
CPAN: YAML::XS loaded ok (v0.39)
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running make for A/AB/ABW/Template-Toolkit-2.24.tar.gz
Has already been unwrapped into directory C:\Perl\cpan\build\Template-Toolkit
CPAN.pm: Building A/AB/ABW/Template-Toolkit-2.24.tar.gz
Warning: Prerequisite 'AppConfig => 1.56' for 'ABW/Template-Toolkit-2.24.tar.gz
.66.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
CPAN: Time::HiRes loaded ok (v1.9725)
C:Perlbinperl.exe: not found
dmake.exe: Error code 255, while making 'blib\lib\.exists'
ABW/Template-Toolkit-2.24.tar.gz
C:\Perl\site\bin\dmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
C:\Perl\bin>
...
Output of perl -V :
C:\Perl\bin>perl -V
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='C:\Perl\site\bin\gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DPERL_TEXTMODE_SCRIPTS -DUSE_SITEC
USTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T
-DHASATTRIBUTE -fno-strict-aliasin
g -mms-bitfields',
optimize='-O2',
cppflags='-DWIN32'
ccversion='', gccversion='3.4.5 (mingw-vista special r3)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='C:\Perl\site\bin\g++.exe', ldflags ='-L"C:\Perl\lib\CORE"'
libpth=\lib
libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32
-loleaut32 -lnetapi32 -luuid -lw
s2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt
perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32
-lole32 -loleaut32 -lnetapi32 -luuid
-lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -L"C:\Perl\lib\CORE"'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
USE_ITHREADS USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_SITECUSTOMIZE
Locally applied patches:
ActivePerl Build 1603 [296746]
Built under MSWin32
Compiled at Mar 13 2013 11:29:21
@INC:
C:/Perl/site/lib
C:/Perl/lib
.
C:\Perl\bin>