Subject: | Mac::Carbon fails to install with cpanm |
Date: | Fri, 15 Feb 2019 14:04:44 +0100 |
To: | bug-Mac-Carbon [...] rt.cpan.org |
From: | Gabriella Turek <turek [...] mpi-cbg.de> |
I have installed Mac::Carbon on my Mac BookPro 15” running Mojave and using cpan no problem.
I was then trying to installed in a Travis CI build and it failed. I then tried to reinstall it on my Mac using
the same command and I get the same error as there. Below is the output.
I will have to figure something else to do install it on Travis….
tomancak-mac-25: Yes Mistress 120>> cpanm -v --reinstall Mac::Carbon
cpanm (App::cpanminus) 1.7044 on perl 5.018002 built for darwin-thread-multi-2level
Work directory is /Users/turek/.cpanm/work/1550235625.19918
You have make /usr/bin/make
You have LWP 6.05
You have /sw/bin/tar: tar (GNU tar) 1.29
Copyright (c) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL Version 3 oder sp"ater <http://gnu.org/licenses/gpl.html>
Dies ist freie Software: Sie d"urfen sie "andern und weiter verbreiten.
Es gibt KEINERLEI GARANTIE, so weit das Gesetz es erlaubt.
Geschrieben von John Gilmore und Jay Fenlason.
You have /sw/bin/unzip
Searching Mac::Carbon () on cpanmetadb ...
--> Working on Mac::Carbon
Fetching http://www.cpan.org/authors/id/C/CN/CNANDOR/Mac-Carbon-0.82.tar.gz ... OK
Unpacking Mac-Carbon-0.82.tar.gz
Mac-Carbon-0.82/
Mac-Carbon-0.82/AppleEvents/
Mac-Carbon-0.82/Carbon.h
Mac-Carbon-0.82/Carbon.pm
Mac-Carbon-0.82/Changes
Mac-Carbon-0.82/common.pl
Mac-Carbon-0.82/Components/
Mac-Carbon-0.82/Files/
Mac-Carbon-0.82/fixargs.pl
Mac-Carbon-0.82/Gestalt/
Mac-Carbon-0.82/InternetConfig/
Mac-Carbon-0.82/MacPerl/
Mac-Carbon-0.82/Makefile.PL
Mac-Carbon-0.82/MANIFEST
Mac-Carbon-0.82/MANIFEST.SKIP
Mac-Carbon-0.82/Memory/
Mac-Carbon-0.82/MoreFiles/
Mac-Carbon-0.82/Notification/
Mac-Carbon-0.82/OSA/
Mac-Carbon-0.82/Processes/
Mac-Carbon-0.82/QuickDraw/
Mac-Carbon-0.82/README
Mac-Carbon-0.82/Resources/
Mac-Carbon-0.82/Sound/
Mac-Carbon-0.82/Speech/
Mac-Carbon-0.82/t/
Mac-Carbon-0.82/typemap
Mac-Carbon-0.82/Types/
Mac-Carbon-0.82/xsubpps/
Mac-Carbon-0.82/xsubpps/xsubpp-5.6.1
Mac-Carbon-0.82/xsubpps/xsubpp-5.8.0
Mac-Carbon-0.82/Types/Makefile.PL
Mac-Carbon-0.82/Types/t/
Mac-Carbon-0.82/Types/Types.pm
Mac-Carbon-0.82/Types/Types.xs
Mac-Carbon-0.82/Types/t/Types.t
Mac-Carbon-0.82/t/Carbon.t
Mac-Carbon-0.82/Speech/eg/
Mac-Carbon-0.82/Speech/Makefile.PL
Mac-Carbon-0.82/Speech/Speech.pm
Mac-Carbon-0.82/Speech/Speech.xs
Mac-Carbon-0.82/Speech/t/
Mac-Carbon-0.82/Speech/typemap
Mac-Carbon-0.82/Speech/t/Speech.t
Mac-Carbon-0.82/Speech/eg/Cellist.plx
Mac-Carbon-0.82/Speech/eg/DumpVoices.plx
Mac-Carbon-0.82/Speech/eg/JukeBox.plx
Mac-Carbon-0.82/Speech/eg/Phonemes.plx
Mac-Carbon-0.82/Sound/Makefile.PL
Mac-Carbon-0.82/Sound/Sound.pm
Mac-Carbon-0.82/Sound/Sound.xs
Mac-Carbon-0.82/Sound/t/
Mac-Carbon-0.82/Sound/typemap
Mac-Carbon-0.82/Sound/t/Scream.rsrc
Mac-Carbon-0.82/Sound/t/Sound.t
Mac-Carbon-0.82/Resources/Makefile.PL
Mac-Carbon-0.82/Resources/Resources.pm
Mac-Carbon-0.82/Resources/Resources.xs
Mac-Carbon-0.82/Resources/t/
Mac-Carbon-0.82/Resources/t/Resources.t
Mac-Carbon-0.82/QuickDraw/typemap
Mac-Carbon-0.82/Processes/eg/
Mac-Carbon-0.82/Processes/Makefile.PL
Mac-Carbon-0.82/Processes/Processes.pm
Mac-Carbon-0.82/Processes/Processes.xs
Mac-Carbon-0.82/Processes/t/
Mac-Carbon-0.82/Processes/typemap
Mac-Carbon-0.82/Processes/t/Processes.t
Mac-Carbon-0.82/Processes/eg/Processes.plx
Mac-Carbon-0.82/OSA/eg/
Mac-Carbon-0.82/OSA/Makefile.PL
Mac-Carbon-0.82/OSA/OSA.pm
Mac-Carbon-0.82/OSA/OSA.xs
Mac-Carbon-0.82/OSA/typemap
Mac-Carbon-0.82/OSA/eg/AppleScript.eg
Mac-Carbon-0.82/OSA/eg/AppleScript2.eg
Mac-Carbon-0.82/OSA/eg/Frontier.eg
Mac-Carbon-0.82/OSA/eg/Record.eg
Mac-Carbon-0.82/Notification/Makefile.PL
Mac-Carbon-0.82/Notification/Notification.pm
Mac-Carbon-0.82/Notification/Notification.xs
Mac-Carbon-0.82/Notification/t/
Mac-Carbon-0.82/Notification/typemap
Mac-Carbon-0.82/Notification/t/Notification.rsrc
Mac-Carbon-0.82/Notification/t/Notification.t
Mac-Carbon-0.82/MoreFiles/eg/
Mac-Carbon-0.82/MoreFiles/Makefile.PL
Mac-Carbon-0.82/MoreFiles/MF.xs
Mac-Carbon-0.82/MoreFiles/MoreFiles.pm
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/
Mac-Carbon-0.82/MoreFiles/t/
Mac-Carbon-0.82/MoreFiles/t/MoreFiles.t
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/DirectoryCopy.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/DirectoryCopy.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/FileCopy.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/FileCopy.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/FSpCompat.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/FSpCompat.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/FullPath.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/FullPath.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/IterateDirectory.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/IterateDirectory.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/MoreDesktopMgr.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/MoreDesktopMgr.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/MoreFiles.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/MoreFiles.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/MoreFilesExtras.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/MoreFilesExtras.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/Optimization.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/OptimizationEnd.h
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/Search.c
Mac-Carbon-0.82/MoreFiles/MoreFilesSrc/Search.h
Mac-Carbon-0.82/MoreFiles/eg/Application.plx
Mac-Carbon-0.82/MoreFiles/eg/Iterate.plx
Mac-Carbon-0.82/Memory/Makefile.PL
Mac-Carbon-0.82/Memory/Memory.pm
Mac-Carbon-0.82/Memory/Memory.xs
Mac-Carbon-0.82/Memory/t/
Mac-Carbon-0.82/Memory/t/Memory.t
Mac-Carbon-0.82/MacPerl/MacPerl.pm
Mac-Carbon-0.82/MacPerl/MacPerl.xs
Mac-Carbon-0.82/MacPerl/Makefile.PL
Mac-Carbon-0.82/MacPerl/OSA.xs
Mac-Carbon-0.82/MacPerl/t/
Mac-Carbon-0.82/MacPerl/t/MacPerl.t
Mac-Carbon-0.82/InternetConfig/eg/
Mac-Carbon-0.82/InternetConfig/InternetConfig.pm
Mac-Carbon-0.82/InternetConfig/InternetConfig.xs
Mac-Carbon-0.82/InternetConfig/Makefile.PL
Mac-Carbon-0.82/InternetConfig/typemap
Mac-Carbon-0.82/InternetConfig/eg/IC.plx
Mac-Carbon-0.82/InternetConfig/eg/ICDump.plx
Mac-Carbon-0.82/InternetConfig/eg/ICDumpMap.plx
Mac-Carbon-0.82/Gestalt/Gestalt.pm
Mac-Carbon-0.82/Gestalt/Gestalt.xs
Mac-Carbon-0.82/Gestalt/Makefile.PL
Mac-Carbon-0.82/Gestalt/t/
Mac-Carbon-0.82/Gestalt/t/Gestalt.t
Mac-Carbon-0.82/Files/Files.pm
Mac-Carbon-0.82/Files/Files.xs
Mac-Carbon-0.82/Files/Makefile.PL
Mac-Carbon-0.82/Files/t/
Mac-Carbon-0.82/Files/typemap
Mac-Carbon-0.82/Files/t/Alias.t
Mac-Carbon-0.82/Files/t/Constants.t
Mac-Carbon-0.82/Files/t/Files.t
Mac-Carbon-0.82/Files/t/Info.t
Mac-Carbon-0.82/Components/Components.pm
Mac-Carbon-0.82/Components/Components.xs
Mac-Carbon-0.82/Components/eg/
Mac-Carbon-0.82/Components/Makefile.PL
Mac-Carbon-0.82/Components/t/
Mac-Carbon-0.82/Components/typemap
Mac-Carbon-0.82/Components/t/Components.t
Mac-Carbon-0.82/Components/eg/ListComponents.plx
Mac-Carbon-0.82/AppleEvents/AppleEvents.pm
Mac-Carbon-0.82/AppleEvents/AppleEvents.xs
Mac-Carbon-0.82/AppleEvents/CarbonAE.h
Mac-Carbon-0.82/AppleEvents/eg/
Mac-Carbon-0.82/AppleEvents/Makefile.PL
Mac-Carbon-0.82/AppleEvents/PerlAEUtils.cp
Mac-Carbon-0.82/AppleEvents/PerlAEUtils.h
Mac-Carbon-0.82/AppleEvents/t/
Mac-Carbon-0.82/AppleEvents/t/desc.t
Mac-Carbon-0.82/AppleEvents/t/event.t
Mac-Carbon-0.82/AppleEvents/t/helper.pl
Mac-Carbon-0.82/AppleEvents/eg/AEReceiver.eg
Mac-Carbon-0.82/AppleEvents/eg/AEReceiver2.eg
Mac-Carbon-0.82/AppleEvents/eg/AESender.eg
Mac-Carbon-0.82/AppleEvents/eg/AESender2.eg
Entering Mac-Carbon-0.82
META.yml/json not found. Creating skeleton for it.
Running Makefile.PL
Configuring Mac-Carbon-0.82 ... Checking if your kit is complete...
Looks good
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Mac::Carbon
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.34)
Checking if you have Test::More 0 ... Yes (1.302162)
Building and testing Mac-Carbon-0.82 ... cp Carbon.pm blib/lib/Mac/Carbon.pm
cp AppleEvents.pm ../blib/lib/Mac/AppleEvents.pm
cp AppleEvents.pod ../blib/lib/Mac/AppleEvents.pod
"/usr/bin/perl" ../xsubpps/xsubpp-5.8.0 -noprototypes -typemap '/System/Library/Perl/5.18/ExtUtils/typemap' AppleEvents.xs > AppleEvents.xsc
mv AppleEvents.xsc AppleEvents.c
cc -c -I/Developer/Headers/FlatCarbon/ -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -fpascal-strings -arch i386 -Os -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" AppleEvents.c
AppleEvents.xs:59:10: fatal error: 'EXTERN.h' file not found
#include "EXTERN.h"
^~~~~~~~~~
1 error generated.
make[1]: *** [AppleEvents.o] Error 1
make: *** [subdirs] Error 2
FAIL
! Installing Mac::Carbon failed. See /Users/turek/.cpanm/work/1550235625.19918/build.log for details. Retry with --force to force install it.
Message body not shown because it is not plain text.