<div dir="ltr">On Sun, Sep 4, 2016 at 1:10 AM, Samuel Dupree <span dir="ltr"><<a target="_blank" href="mailto:sdupree@speakeasy.net">sdupree@speakeasy.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">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:<br></blockquote><div><br></div><div>Do you want to build the master branch or a release?<br></div><div>In the latter case, you should be able to run just "./configure" instead of "./autogen.sh". This would avoid the autotools altogether.<br></div><div>If this is you case, you might also want to follow the guide here: <a href="https://www.cairographics.org/end_to_end_build_for_mac_os_x/">https://www.cairographics.org/end_to_end_build_for_mac_os_x/</a><br></div><div><br></div><div>If you want to build master (or any generic commit), you will need to run ./autogen.sh, hence you will need autotools in your enviroment.<br></div><div>From your logs, it looks like glibtoolize expects sed to be available in  /usr/local/Library/ENV/4.3/sed but it finds nothing there.<br></div><div>How did you setup your build environment?<br><br></div><div>A very easy way to set up the environment involves installing autoconf, automake and libtool using "Homebrew".<br></div><br></div><div class="gmail_quote">Andrea<br></div><div class="gmail_quote"><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<br>
<br>
users-MacBook-Pro:cairo user$ ./autogen.sh<br>
autoreconf: Entering directory `.'<br>
autoreconf: <a target="_blank" rel="noreferrer" href="http://configure.ac">configure.ac</a>: not using Gettext<br>
autoreconf: running: aclocal -I build ${ACLOCAL_FLAGS}<br>
autoreconf: <a target="_blank" rel="noreferrer" href="http://configure.ac">configure.ac</a>: tracing<br>
autoreconf: running: glibtoolize --copy<br>
/usr/local/bin/glibtoolize: line 406: /usr/local/Library/ENV/4.3/sed<wbr>: No such file or directory<br>
/usr/local/bin/glibtoolize: line 2513: /usr/local/Library/ENV/4.3/sed<wbr>: No such file or directory<br>
/usr/local/bin/glibtoolize: line 2513: /usr/local/Library/ENV/4.3/sed<wbr>: No such file or directory<br>
/usr/local/bin/glibtoolize: line 3601: /usr/local/Library/ENV/4.3/sed<wbr>: No such file or directory<br>
/usr/local/bin/glibtoolize: line 3845: /usr/local/Library/ENV/4.3/sed<wbr>: No such file or directory<br>
/usr/local/bin/glibtoolize: line 861: /usr/local/Library/ENV/4.3/sed<wbr>: No such file or directory<br>
: putting auxiliary files in '.'.<br>
: copying file './ltmain.sh'<br>
/usr/local/bin/glibtoolize: line 3771: /usr/local/Library/ENV/4.3/sed<wbr>: No such file or directory<br>
autoreconf: running: /usr/local/Cellar/autoconf/2.6<wbr>9/bin/autoconf<br>
autoreconf: running: /usr/local/Cellar/autoconf/2.6<wbr>9/bin/autoheader<br>
autoreconf: running: automake --add-missing --copy --no-force<br>
<a target="_blank" rel="noreferrer" href="http://configure.ac:18">configure.ac:18</a>: installing 'build/ar-lib'<br>
<a target="_blank" rel="noreferrer" href="http://configure.ac:10">configure.ac:10</a>: installing 'build/compile'<br>
<a target="_blank" rel="noreferrer" href="http://configure.ac:22">configure.ac:22</a>: installing 'build/config.guess'<br>
<a target="_blank" rel="noreferrer" href="http://configure.ac:22">configure.ac:22</a>: installing 'build/config.sub'<br>
<a target="_blank" rel="noreferrer" href="http://configure.ac:16">configure.ac:16</a>: installing 'build/install-sh'<br>
<a target="_blank" rel="noreferrer" href="http://configure.ac:22">configure.ac:22</a>: error: required file 'build/ltmain.sh' not found<br>
<a target="_blank" rel="noreferrer" href="http://configure.ac:16">configure.ac:16</a>: installing 'build/missing'<br>
build/Makefile.am.changelog:57<wbr>: warning: '%'-style pattern rules are a GNU make extension<br>
Makefile.am:81:   'build/Makefile.am.changelog' included from here<br>
parallel-tests: installing 'build/test-driver'<br>
boilerplate/Makefile.am: installing 'build/depcomp'<br>
perf/Makefile.sources:7: warning: source file '../src/cairo-time.c' is in a subdirectory,<br>
perf/Makefile.sources:7: but option 'subdir-objects' is disabled<br>
perf/Makefile.am:3:   'perf/Makefile.sources' included from here<br>
automake: warning: possible forward-incompatibility.<br>
automake: At least a source file is in a subdirectory, but the 'subdir-objects'<br>
automake: automake option hasn't been enabled.  For now, the corresponding output<br>
automake: object file(s) will be placed in the top-level directory.  However,<br>
automake: this behaviour will change in future Automake versions: they will<br>
automake: unconditionally cause object files to be placed in the same subdirectory<br>
automake: of the corresponding sources.<br>
automake: You are advised to start using 'subdir-objects' option throughout your<br>
automake: project, to avoid future incompatibilities.<br>
perf/Makefile.sources:15: warning: source file '../src/cairo-error.c' is in a subdirectory,<br>
perf/Makefile.sources:15: but option 'subdir-objects' is disabled<br>
perf/Makefile.am:3:   'perf/Makefile.sources' included from here<br>
perf/Makefile.sources:18: warning: source file '../src/cairo-error.c' is in a subdirectory,<br>
perf/Makefile.sources:18: but option 'subdir-objects' is disabled<br>
perf/Makefile.am:3:   'perf/Makefile.sources' included from here<br>
perf/Makefile.sources:18: warning: source file '../src/cairo-hash.c' is in a subdirectory,<br>
perf/Makefile.sources:18: but option 'subdir-objects' is disabled<br>
perf/Makefile.am:3:   'perf/Makefile.sources' included from here<br>
test/Makefile.am:352: warning: user target 'recheck' defined here ...<br>
/usr/local/Cellar/automake/1.1<wbr>5/share/automake-1.15/am/<a target="_blank" rel="noreferrer" href="http://check.am">check<wbr>.am</a>: ... overrides Automake target 'recheck' defined here<br>
autoreconf: automake failed with exit status: 1<br>
users-MacBook-Pro:cairo user$<br>
<br>
<br>
<br>
Any suggestions?<br>
<br>
Sam Dupree.<span class="gmail-HOEnZb"><font color="#888888"><br>
-- <br>
cairo mailing list<br>
<a target="_blank" href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a target="_blank" rel="noreferrer" href="https://lists.cairographics.org/mailman/listinfo/cairo">https://lists.cairographics.or<wbr>g/mailman/listinfo/cairo</a></font></span></blockquote></div><br></div></div>