Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.96k stars 11.34k forks source link

Gource requires GLEW #1608

Closed mdonoughe closed 14 years ago

mdonoughe commented 14 years ago

~ $ brew install gource 1 ↵ ==> Cloning git://github.com/acaudwell/Gource.git Updating /Users/mdonoughe/Library/Caches/Homebrew/gource-HEAD ==> autoreconf -f -i ==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/gource/ 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 for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin10.3.0 checking host system type... i386-apple-darwin10.3.0 checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/c++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of /usr/bin/c++... none checking how to run the C++ preprocessor... /usr/bin/c++ -E checking for X... disabled checking for a sed that does not truncate output... /usr/bin/sed checking for gcc... /usr/bin/cc checking whether we are using the GNU C compiler... yes checking whether /usr/bin/cc accepts -g... yes checking for /usr/bin/cc option to accept ISO C89... none needed checking dependency style of /usr/bin/cc... none checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking how to run the C preprocessor... /usr/bin/cc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 whether we are using the Microsoft C compiler... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for GL/gl.h... yes checking for OpenGL/gl.h... yes checking for OpenGL library... -framework OpenGL checking for GL/glu.h... yes checking for OpenGL/glu.h... yes checking for OpenGL Utility library... yes checking for varargs GLU tesselator callback function type... no checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.10... yes checking for freetype-config... /usr/X11/bin/freetype-config checking for FreeType -- version >= 9.0.3... yes checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for FTGL... yes checking for png_read_info in -lpng... yes checking for jpeg_read_header in -ljpeg... yes checking for IMG_LoadPNG_RW in -lSDL_image... yes checking for pcre_compile in -lpcre... yes checking for glewInit in -lGLEW... no configure: error: GLEW required. Please see INSTALL Exit status: 1

http://github.com/mxcl/homebrew/blob/master/Library/Formula/gource.rb#L25

==> Environment HOMEBREW_VERSION: 0.6 HEAD: 815930c2437bcc7a4f7c39510977a360c885092d HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_CACHE: /Users/mdonoughe/Library/Caches/Homebrew HOMEBREW_REPOSITORY: /usr/local HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew Hardware: dual-core 64-bit penryn OS X: 10.6.3 Kernel Architecture: i386 Ruby: 1.8.7-173 GCC-4.0: build 5493 (5493 or newer recommended) GCC-4.2: build 5646 (5646 or newer recommended) LLVM: build 2206 (2206 or newer recommended) MacPorts or Fink? false X11 installed? true PATH: /usr/local/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/ffmpeg/bin:/opt/linux/bin:/opt/mingw32/bin:/opt/mingw64/bin:/usr/local/mysql/bin:/usr/texbin:/usr/X11/bin

==> Build Flags CC: /usr/bin/cc CXX: /usr/bin/c++ LD: /usr/bin/cc CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe CPPFLAGS: -I/usr/local/Cellar/libpng/1.2.43/include -I/usr/local/Cellar/libpng/1.2.43/include -I/usr/X11R6/include LDFLAGS: -L/usr/local/Cellar/libpng/1.2.43/lib -L/usr/local/Cellar/libpng/1.2.43/lib -L/usr/X11R6/lib MAKEFLAGS: -j2 PATH: /usr/X11/bin:/usr/local/Cellar/libpng/1.2.43/bin:/usr/local/Cellar/libpng/1.2.43/bin:/usr/local/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/ffmpeg/bin:/opt/linux/bin:/opt/mingw32/bin:/opt/mingw64/bin:/usr/local/mysql/bin:/usr/texbin:/usr/X11/bin PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/opt/local/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/share/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig Error: Failure while executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/gource/HEAD --disable-sdltest --disable-freetypetest Please report this bug at http://github.com/mxcl/homebrew/issues It looks like an autotools configure failed. Consider re-running the install with '-vd' to keep 'config.log' around: brew install -vd formula_name Gist 'config.log' and any error output when reporting an issue.

Consider running brew doctor if a large number of installs are failing. ~ $ brew install glew 1 ↵ ==> Downloading http://downloads.sourceforge.net/project/glew/glew/1.5.4/glew-1.

100.0%

==> mkdir -p /usr/local/Cellar/glew/1.5.4/lib/pkgconfig ==> make GLEW_DEST=/usr/local/Cellar/glew/1.5.4 ==> make GLEW_DEST=/usr/local/Cellar/glew/1.5.4 install /usr/local/Cellar/glew/1.5.4: 10 files, 1.9M, built in 15 seconds ~ $ brew install gource ==> Cloning git://github.com/acaudwell/Gource.git Updating /Users/mdonoughe/Library/Caches/Homebrew/gource-HEAD ==> autoreconf -f -i ==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/gource/ ==> make install /usr/local/Cellar/gource/HEAD: 13 files, 1.5M, built in 73 seconds

adamv commented 14 years ago

Gource head depends on glew

Closed by 0562b6a75f923d5fd8c7da34aec8fa8b297fb1f2.