Re: Installing Cairo on a MacBook Pro
Andrea Canciani <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAN_5=BDbXEEXovoDfB4QbdTmbdCT7Hrtk_h-WXjTiaa2SiWt_w@mail.gmail.com> |
On Sun, Sep 4, 2016 at 1:10 AM, Samuel Dupree <[email protected]> wrote: > 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: > Do you want to build the master branch or a release? In the latter case, you should be able to run just "./configure" instead of "./autogen.sh". This would avoid the autotools altogether. If this is you case, you might also want to follow the guide here: https://www.cairographics.org/end_to_end_build_for_mac_os_x/ 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. 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. How did you setup your build environment? A very easy way to set up the environment involves installing autoconf, automake and libtool using "Homebrew". Andrea > > > 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. > -- > cairo mailing list > [email protected] > https://lists.cairographics.org/mailman/listinfo/cairo -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo