mxcl/homebrew — Issue #10419: mp4box build error on Lion (gpac)
Author: lczekaj
Created: 2012-02-23 07:17:50+00:00
State: open

tried to install mp4box but while compiling gpac i get an error:

In file included from compositor/mesh.c:33:
compositor/gl_inc.h:45:10: fatal error: 'GL/gl.h' file not found
#include
^
1 error generated.
make[1]: *** [compositor/mesh.opic] Error 1
make: *** [lib] Error 2

==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/gpac.rb#L59
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.3
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
==> Build Flags
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments

Error: Failed executing: make

I use Lion on Macbook Air 13 i5.