[cairo] Installing Cairo on a MacBook Pro

Samuel Dupree sdupree at speakeasy.net
Sat Sep 3 23:10:35 UTC 2016


I'm attempting to install Cairo on a MacBook Pro running Mac OS X 
10.11.6 (El Capitan). I'm running into several issues as depicted in the 
output from ./autogen.sh run below:


users-MacBook-Pro:cairo user$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I build ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy
/usr/local/bin/glibtoolize: line 406: /usr/local/Library/ENV/4.3/sed: No 
such file or directory
/usr/local/bin/glibtoolize: line 2513: /usr/local/Library/ENV/4.3/sed: 
No such file or directory
/usr/local/bin/glibtoolize: line 2513: /usr/local/Library/ENV/4.3/sed: 
No such file or directory
/usr/local/bin/glibtoolize: line 3601: /usr/local/Library/ENV/4.3/sed: 
No such file or directory
/usr/local/bin/glibtoolize: line 3845: /usr/local/Library/ENV/4.3/sed: 
No such file or directory
/usr/local/bin/glibtoolize: line 861: /usr/local/Library/ENV/4.3/sed: No 
such file or directory
: putting auxiliary files in '.'.
: copying file './ltmain.sh'
/usr/local/bin/glibtoolize: line 3771: /usr/local/Library/ENV/4.3/sed: 
No such file or directory
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:18: installing 'build/ar-lib'
configure.ac:10: installing 'build/compile'
configure.ac:22: installing 'build/config.guess'
configure.ac:22: installing 'build/config.sub'
configure.ac:16: installing 'build/install-sh'
configure.ac:22: error: required file 'build/ltmain.sh' not found
configure.ac:16: installing 'build/missing'
build/Makefile.am.changelog:57: warning: '%'-style pattern rules are a 
GNU make extension
Makefile.am:81:   'build/Makefile.am.changelog' included from here
parallel-tests: installing 'build/test-driver'
boilerplate/Makefile.am: installing 'build/depcomp'
perf/Makefile.sources:7: warning: source file '../src/cairo-time.c' is 
in a subdirectory,
perf/Makefile.sources:7: but option 'subdir-objects' is disabled
perf/Makefile.am:3:   'perf/Makefile.sources' included from here
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 
'subdir-objects'
automake: automake option hasn't been enabled.  For now, the 
corresponding output
automake: object file(s) will be placed in the top-level directory.  
However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same 
subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option 
throughout your
automake: project, to avoid future incompatibilities.
perf/Makefile.sources:15: warning: source file '../src/cairo-error.c' is 
in a subdirectory,
perf/Makefile.sources:15: but option 'subdir-objects' is disabled
perf/Makefile.am:3:   'perf/Makefile.sources' included from here
perf/Makefile.sources:18: warning: source file '../src/cairo-error.c' is 
in a subdirectory,
perf/Makefile.sources:18: but option 'subdir-objects' is disabled
perf/Makefile.am:3:   'perf/Makefile.sources' included from here
perf/Makefile.sources:18: warning: source file '../src/cairo-hash.c' is 
in a subdirectory,
perf/Makefile.sources:18: but option 'subdir-objects' is disabled
perf/Makefile.am:3:   'perf/Makefile.sources' included from here
test/Makefile.am:352: warning: user target 'recheck' defined here ...
/usr/local/Cellar/automake/1.15/share/automake-1.15/am/check.am: ... 
overrides Automake target 'recheck' defined here
autoreconf: automake failed with exit status: 1
users-MacBook-Pro:cairo user$



Any suggestions?

Sam Dupree.


More information about the cairo mailing list