david0 / homebrew-audio

Audio formulae for the Homebrew package manager
32 stars 11 forks source link

calf plug-ins won't build #3

Closed jcelerier closed 8 years ago

jcelerier commented 8 years ago

I get the following error when installing :

==> Installing david0/audio/calf
==> Cloning https://github.com/calf-studio-gear/calf.git
Cloning into '/Users/jcelerier/Library/Caches/Homebrew/calf--git'...
remote: Counting objects: 703, done.
remote: Compressing objects: 100% (617/617), done.
remote: Total 703 (delta 155), reused 509 (delta 82), pack-reused 0
Receiving objects: 100% (703/703), 10.58 MiB | 1.84 MiB/s, done.
Resolving deltas: 100% (155/155), done.
Checking connectivity... done.
==> Checking out branch master
==> Downloading https://github.com/david0/calf/commit/d2f174083d97ce0f6930fc2876
######################################################################## 100,0%
==> Patching
==> Applying d2f174083d97ce0f6930fc28764fdec80810f464.patch
patching file configure.ac
patching file src/Makefile.am
==> ./autogen.sh --disable-dependency-tracking --prefix=/usr/local/Cellar/calf/H
==> make install
Last 15 lines from /Users/jcelerier/Library/Logs/Homebrew/calf/02.make:
         ^
1 error generated.
make[2]: *** [modules_limit.lo] Error 1
1 error generated.
1 error generated.
make[2]: *** [audio_fx.lo] Error 1
make[2]: *** [modules_delay.lo] Error 1
1 error generated.
make[2]: *** [metadata.lo] Error 1
1 error generated.
make[2]: *** [modules_comp.lo] Error 1
1 error generated.
make[2]: *** [modules_tools.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

is there some kind of verbose option that I could use to make the report more useful ?

david0 commented 8 years ago

-v makes the output more verbose and also shows where the full compile logs are stored. -d is very convenient for debugging purposes.

It looks like I have the same problem and I reported that to upstream (calf-studio-gear/calf#94). Let me know when you see different compile errors.

In the meantime you could try to compile an older version adding this lines:

  version '72b13fa8670738e735184494554a9d6f3fad56ac'
  url "https://github.com/calf-studio-gear/calf.git", :revision=>'72b13fa8670738e735184494554a9d6f3fad56ac'

and removing the --HEAD parameter should work

jcelerier commented 8 years ago

Okay, by viewing the logs it seems that it is not the same error :

./calf/giface.h:30:10: fatal error: 'cairo/cairo.h' file not found

include <cairo/cairo.h>

It builds fine (at the commit you mentioned) when I brew install cairo.

jcelerier commented 8 years ago

thanks :+1: