Skip to content

Instantly share code, notes, and snippets.

@tomoh1r
Last active Aug 29, 2015
Embed
What would you like to do?
ActivePerl x64 5.18.2 、 nmake 、 Windows で App:cpanminus インストールしようとしたら失敗
OS: Windows 7 Home Premium x64
Perl (perl -V):
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
Platform:
osname=MSWin32, osvers=6.1, archname=MSWin32-x64-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=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfields',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.6.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 -static-libgcc -static-libstdc++ -L"C:\Perl\5.18.2-x64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib"'
libpth=C:\MinGW\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 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
libc=, so=dll, useshrplib=true, libperl=libperl518.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl\5.18.2-x64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\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_PRESERVE_IVUV PERL_SAWAMPERSAND
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
USE_SITECUSTOMIZE
Locally applied patches:
ActivePerl Build 1802 [298023]
Built under MSWin32
Compiled at Apr 15 2014 10:38:37
%ENV:
PERL_CPANM_OPT="-l C:\Some\USER\.local\cpanm\01"
@INC:
C:/Perl/5.18.2-x64/lib
(venv) [2014/17/24 11:17:02] PS ~\Downloads
> perl cpanm -v App::cpanminus
cpanm (App::cpanminus) 1.7016 on perl 5.018002 built for MSWin32-x64-multi-thread
Work directory is C:\Users\SOME/.cpanm/work/1416795435.2084
You have LWP 6.05
Falling back to Archive::Tar 1.96
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.84)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.54)
Searching App::cpanminus on cpanmetadb ...
--> Working on App::cpanminus
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7016.tar.gz ... OK
Unpacking App-cpanminus-1.7016.tar.gz
Entering App-cpanminus-1.7016
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.84)
Running Makefile.PL
Configuring App-cpanminus-1.7016 ... Checking if your kit is complete...
Looks good
Generating a nmake-style Makefile
Writing Makefile for App::cpanminus
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (1.001002)
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.84)
Checking if you have Module::Build 0.38 ... Yes (0.4203)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.54)
! Can't configure the distribution. You probably need to have 'make'. See C:\Users\SOME\.cpanm\work\1416795435.2084\build.log for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment