Skip to content

Instantly share code, notes, and snippets.

@alterscape
Created June 24, 2011 00:00
Show Gist options
  • Select an option

  • Save alterscape/1043934 to your computer and use it in GitHub Desktop.

Select an option

Save alterscape/1043934 to your computer and use it in GitHub Desktop.
homebrew openexr install error
$ brew install -vd openexr
==> Downloading http://download.savannah.gnu.org/releases/openexr/openexr-1.6.1.tar.gz
File already downloaded in /Users/ryanspicer/Library/Caches/Homebrew
/usr/bin/tar xf /Users/ryanspicer/Library/Caches/Homebrew/openexr-1.6.1.tar.gz
==> Downloading patches
==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file configure
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/openexr/1.6.1
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/openexr/1.6.1
checking build system type... i686-apple-darwin10.7.0
checking host system type... i686-apple-darwin10.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 for a BSD-compatible install... /usr/bin/install -c
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 ANSI C... none needed
checking dependency style of /usr/bin/cc... none
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for egrep... grep -E
checking for ld used by /usr/bin/cc... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for /usr/bin/cc option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /usr/bin/cc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /usr/bin/c++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm output from /usr/bin/cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/cc static flag works... yes
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/cc option to produce PIC... -fno-common
checking if /usr/bin/cc PIC flag -fno-common works... yes
checking if /usr/bin/cc supports -c -o file.o... yes
checking whether the /usr/bin/cc linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/c++... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking whether the /usr/bin/c++ linker (/usr/bin/cc) supports shared libraries... yes
checking for /usr/bin/c++ option to produce PIC... -fno-common
checking if /usr/bin/c++ PIC flag -fno-common works... yes
checking if /usr/bin/c++ supports -c -o file.o... yes
checking whether the /usr/bin/c++ linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether make sets $(MAKE)... (cached) yes
test_prefix = NONE
checking for pkg-config... no
Not using pkg-config.
using prefix to set ILMBASE_CXXFLAGS and ILMBASE_LDFLAGS:
ILMBASE_CXXFLAGS = -I/usr/local/Cellar/openexr/1.6.1/include/OpenEXR
ILMBASE_LDFLAGS = -L/usr/local/Cellar/openexr/1.6.1/lib
ILMBASE_LIBS = -lImath -lHalf -lIex -lIlmThread
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 for cc_r... /usr/bin/cc
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for library containing sem_init... none required
checking whether to use POSIX unnamed semaphores... no (pshared not usable)
configure: multithread true, LIBS = , CC = /usr/bin/cc, CXXFLAGS = -O3 -w -pipe
checking for IlmBase... no
*** Could not run the IlmBase test program, checking why...
*** The test program could not be compiled. Is IlmBase installed?
*** Check that the cflags (below) includes the IlmBase include directory
***
*** Flags used by the test:
*** cflags: -O3 -w -pipe -I/usr/local/Cellar/openexr/1.6.1/include/OpenEXR -D_THREAD_SAFE
*** ldflags: -L/usr/local/Cellar/openexr/1.6.1/lib
***
*** You can also run configure with --disable-ilmbasetest to skip this test.
configure: error: Could not compile IlmBase test program.
Error: #<BuildError: Failed executing: ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/openexr/1.6.1>
/usr/local/Library/Homebrew/formula.rb:491:in `system'
/usr/local/Library/Formula/openexr.rb:16:in `install'
/usr/local/Library/Homebrew/install.rb:92:in `install'
/usr/local/Library/Homebrew/formula.rb:261:in `brew'
/usr/local/Library/Homebrew/formula.rb:559:in `stage'
/usr/local/Library/Homebrew/formula.rb:511:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:557:in `stage'
/usr/local/Library/Homebrew/formula.rb:256:in `brew'
/usr/local/Library/Homebrew/install.rb:70:in `install'
/usr/local/Library/Homebrew/install.rb:34
/usr/local/Library/Formula/openexr.rb:15
==> Rescuing build...
It looks like an autotools configure failed.
Gist 'config.log' and any error output when reporting an issue.
When you exit this shell Homebrew will attempt to finalise the installation.
If nothing is installed or the shell exits with a non-zero error code,
Homebrew will abort. The installation prefix is:
/usr/local/Cellar/openexr/1.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment