在MacOS 10.14.6上进行perl(5.30.0)安装失败

时间:2019-09-22 13:15:08

标签: perl installation perlbrew

我有一个最新的XCode副本:11.0版(11A420a) 我使用perlbrew进行安装,最后一次成功的安装是2018年7月26日5-28.0

这是日志的尾巴:


    Finishing processing Unicode properties
    Compiling Perl properties
    Creating Perl synonyms
    Writing tables
    Making pod file
    Making test script
    Updating 'mktables.lst'
    ./miniperl -Ilib -MExtUtils::Miniperl -e 'writemain(\"perlmain.c", @ARGV)' DynaLoader 
    cc -c -DPERL_CORE -fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/opt/local/include -DPERL_USE_SAFE_PUTENV -std=c89 -O3 -Wall -Werror=declaration-after-statement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings perlmain.c
    cc -c -DPERL_CORE -fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/opt/local/include -DPERL_USE_SAFE_PUTENV -std=c89 -O3 -Wall -Werror=declaration-after-statement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings op.c
    cc -c -DPERL_CORE -fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/opt/local/include -DPERL_USE_SAFE_PUTENV -std=c89 -O3 -Wall -Werror=declaration-after-statement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings perl.c
    ./miniperl -Ilib make_ext.pl DynaLoader.o  MAKE="/Applications/Xcode.app/Contents/Developer/usr/bin/make" LIBPERL_A=libperl.a LINKTYPE=static CCCDLFLAGS=
    Generating a Unix-style Makefile
    Writing Makefile for DynaLoader
    "../../miniperl" "-I../../lib" DynaLoader_pm.PL DynaLoader.pm
    rm -f DynaLoader.xs
    cp dl_dlopen.xs DynaLoader.xs
    "../../miniperl" "-I../../lib" "../../lib/ExtUtils/xsubpp" -noprototypes -typemap '/Users/roger/perl5/perlbrew/build/perl-5.30.0/perl-5.30.0/ext/DynaLoader/../../lib/ExtUtils/typemap'  DynaLoader.xs > DynaLoader.xsc
    mv DynaLoader.xsc DynaLoader.c
    cc -c   -fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/opt/local/include -DPERL_USE_SAFE_PUTENV -Wall -Werror=declaration-after-statement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -O3   -DVERSION=\"1.45\" -DXS_VERSION=\"1.45\"  "-I../.."  -DLIBC="" DynaLoader.c
    rm -rf ../../DynaLoader.o
    cp DynaLoader.o ../../DynaLoader.o
    rm -f libperl.a
    /opt/local/bin/ar rc libperl.a op.o     perl.o  gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o dquote.o time64.o   DynaLoader.o
    /opt/local/bin/ranlib: object: libperl.a(op.o) malformed object (unknown load command 1)
    /opt/local/bin/ar: internal ranlib command failed
    make: *** [libperl.a] Error 1
    ##### Brew Failed #####

0 个答案:

没有答案