Skip to content

Instantly share code, notes, and snippets.

@david0
Last active December 14, 2016 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save david0/6b73867e124c6e746a8c5485572eece9 to your computer and use it in GitHub Desktop.
Save david0/6b73867e124c6e746a8c5485572eece9 to your computer and use it in GitHub Desktop.
calf compile without cairo fails
HEAD is now at c439140 Phaser, Flanger, Multi Chorus: add play/pause toggle for LFO in order to control modulation manually; fixes #103
==> Downloading https://github.com/david0/calf/commit/d2f174083d97ce0f6930fc28764fdec80810f464.patch
Already downloaded: /Users/ottodavid/Library/Caches/Homebrew/calf--patch-e63a29017ce1cfff2a374f48fc3f2d99463851e88e5462aa5bc6475a870124f7.patch
==> Verifying calf--patch-e63a29017ce1cfff2a374f48fc3f2d99463851e88e5462aa5bc6475a870124f7.patch checksum
==> Patching
==> Applying d2f174083d97ce0f6930fc28764fdec80810f464.patch
/usr/bin/patch -g 0 -f -p1 -i /private/tmp/calf--patch-20161214-2143-1jm19xk/d2f174083d97ce0f6930fc28764fdec80810f464.patch
patching file configure.ac
patching file src/Makefile.am
==> ./autogen.sh --disable-dependency-tracking --prefix=/usr/local/Cellar/calf/HEAD-c439140 --with-lv2-dir=/usr/local/Cellar/calf/HEAD-c439140/lib/lv2/
configure.ac:8: installing './compile'
configure.ac:8: installing './config.guess'
configure.ac:8: installing './config.sub'
configure.ac:11: installing './install-sh'
configure.ac:11: installing './missing'
gui/Makefile.am:3: warning: wildcard $(srcdir: non-POSIX variable name
gui/Makefile.am:3: (probably a GNU make extension)
gui/Makefile.am:4: warning: wildcard $(srcdir: non-POSIX variable name
gui/Makefile.am:4: (probably a GNU make extension)
gui/icons/LV2/Makefile.am:1: warning: wildcard *.svg: non-POSIX variable name
gui/icons/LV2/Makefile.am:1: (probably a GNU make extension)
src/Makefile.am: installing './depcomp'
checking build system type... x86_64-apple-darwin15.5.0
checking host system type... x86_64-apple-darwin15.5.0
checking how to print strings... printf
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for a sed that does not truncate output... /usr/local/Homebrew/Library/Homebrew/shims/super/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin15.5.0 file names to x86_64-apple-darwin15.5.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.5.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of clang... none
checking dependency style of clang++... none
checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ANSI C header files... (cached) yes
checking for memory.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_Parse in -lexpat... yes
checking jack/jack.h usability... yes
checking jack/jack.h presence... yes
checking for jack/jack.h... yes
checking for GLIB_DEPS... yes
checking for FLUIDSYNTH_DEPS... yes
checking for sordi... no
checking for JACK_DEPS... yes
checking for jack_port_register in -ljack... yes
checking for JACK_MIDI_DEPS... yes
checking for LV2_DEPS... yes
checking for LASH_DEPS... no
checking for LASH_DEPS... no
checking for SLV2_HACK... no
checking for GUI_DEPS... no
checking whether to allow LV2... yes
checking whether to enable experimental/unfinished features... yes
checking whether to enable debugging mode... no
checking whether to compile with SSE... no
checking whether the linker supports -z,nodelete... no
checking where to install LV2 plugins... /usr/local/Cellar/calf/HEAD-c439140/lib/lv2/
checking for BASH_COMPLETION... no
Calf configured
Debug mode: no
With SSE: no
Experimental plugins: yes
Common GUI code: no (GTK+ 2.12 and cairo 1.2 or newer required)
LV2 enabled: yes
LV2 GTK+ GUI enabled: no
JACK host enabled: no
LASH enabled: no
Old-style JACK MIDI: no
Installation prefix: /usr/local/Cellar/calf/HEAD-c439140
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating calf.desktop
config.status: creating gui/Makefile
config.status: creating gui/icons/LV2/Makefile
config.status: creating icons/Makefile
config.status: creating src/Makefile
config.status: creating src/calf/Makefile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
==> make install
Making install in src
Making install in calf
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
/bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -ffast-math -finline-limit=80 -I/usr/local/Cellar/fluid-synth/1.1.6/include -I/usr/local/Cellar/lv2/1.12.0/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -O2 -O3 -finline-functions -finline-functions-called-once -Wall -c -o audio_fx.lo audio_fx.cpp
/bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -ffast-math -finline-limit=80 -I/usr/local/Cellar/fluid-synth/1.1.6/include -I/usr/local/Cellar/lv2/1.12.0/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -O2 -O3 -finline-functions -finline-functions-called-once -Wall -c -o analyzer.lo analyzer.cpp
/bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -ffast-math -finline-limit=80 -I/usr/local/Cellar/fluid-synth/1.1.6/include -I/usr/local/Cellar/lv2/1.12.0/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -O2 -O3 -finline-functions -finline-functions-called-once -Wall -c -o lv2wrap.lo lv2wrap.cpp
/bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -ffast-math -finline-limit=80 -I/usr/local/Cellar/fluid-synth/1.1.6/include -I/usr/local/Cellar/lv2/1.12.0/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -O2 -O3 -finline-functions -finline-functions-called-once -Wall -c -o metadata.lo metadata.cpp
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -ffast-math -finline-limit=80 -I/usr/local/Cellar/fluid-synth/1.1.6/include -I/usr/local/Cellar/lv2/1.12.0/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -O2 -O3 -finline-functions -finline-functions-called-once -Wall -c audio_fx.cpp -fno-common -DPIC -o .libs/audio_fx.o
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -ffast-math -finline-limit=80 -I/usr/local/Cellar/fluid-synth/1.1.6/include -I/usr/local/Cellar/lv2/1.12.0/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -O2 -O3 -finline-functions -finline-functions-called-once -Wall -c analyzer.cpp -fno-common -DPIC -o .libs/analyzer.o
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -ffast-math -finline-limit=80 -I/usr/local/Cellar/fluid-synth/1.1.6/include -I/usr/local/Cellar/lv2/1.12.0/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -O2 -O3 -finline-functions -finline-functions-called-once -Wall -c lv2wrap.cpp -fno-common -DPIC -o .libs/lv2wrap.o
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -ffast-math -finline-limit=80 -I/usr/local/Cellar/fluid-synth/1.1.6/include -I/usr/local/Cellar/lv2/1.12.0/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -O2 -O3 -finline-functions -finline-functions-called-once -Wall -c metadata.cpp -fno-common -DPIC -o .libs/metadata.o
In file included from analyzer.cpp:24:
./calf/giface.h:30:10: fatal error: 'cairo/cairo.h' file not found
#include <cairo/cairo.h>
^
In file included from metadata.cpp:22:
./calf/giface.h:30:10: fatal error: 'cairo/cairo.h' file not found
#include <cairo/cairo.h>
^
In file included from lv2wrap.cpp:2:
In file included from ./calf/lv2wrap.h:29:
./calf/giface.h:30:10: fatal error: 'cairo/cairo.h' file not found
#include <cairo/cairo.h>
^
1 error generated.
make[2]: *** [lv2wrap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
In file included from audio_fx.cpp:22:
In file included from ./calf/audio_fx.h:28:
./calf/giface.h:30:10: fatal error: 'cairo/cairo.h' file not found
#include <cairo/cairo.h>
^
make[2]: *** [analyzer.lo] Error 1
1 error generated.
make[2]: *** [metadata.lo] Error 1
1 error generated.
make[2]: *** [audio_fx.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment