Skip to content

Instantly share code, notes, and snippets.

@laripk
Created October 1, 2011 17:40
Show Gist options
  • Save laripk/1256392 to your computer and use it in GitHub Desktop.
Save laripk/1256392 to your computer and use it in GitHub Desktop.
brew install octave failure
$ brew doctor
/usr/local/Library/Formula/pdf2svg.rb:6: warning: parenthesize argument(s) for future version
Your system is raring to brew.
$
$ brew install -v octave
==> Downloading http://ftpmirror.gnu.org/octave/octave-3.4.2.tar.bz2
File already downloaded in /Users/laripk/Library/Caches/Homebrew
/usr/bin/tar xf /Users/laripk/Library/Caches/Homebrew/octave-3.4.2.tar.bz2
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/octave/3.4.2 --with-blas=-framework Accelerate
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/octave/3.4.2 --with-blas=-framework Accelerate
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/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 how to create a ustar tar archive... gnutar
checking build system type... i386-apple-darwin9.8.0
checking host system type... i386-apple-darwin9.8.0
checking for style of include used by make... GNU
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... yes
<snip>
checking for _glp_lpx_simplex in -lglpk... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for curl_easy_escape in -lcurl... yes
checking Magick++.h usability... yes
<snip>
-I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -DHAVE_CONFIG_H -mieee-fp -I/usr/local/Cellar/pcre/8.13/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -D_THREAD_SAFE -pthread -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT \
-DMAKE_BUILTINS DLD-FUNCTIONS/urlwrite.cc | ./mkdefs . DLD-FUNCTIONS/urlwrite.cc > DLD-FUNCTIONS/urlwrite.df-t
mv DLD-FUNCTIONS/typecast.df-t DLD-FUNCTIONS/typecast.df
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -DHAVE_CONFIG_H -mieee-fp -I/usr/local/Cellar/pcre/8.13/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -D_THREAD_SAFE -pthread -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -c -o OPERATORS/liboctinterp_la-op-b-b.lo `test -f 'OPERATORS/op-b-b.cc' || echo './'`OPERATORS/op-b-b.cc
libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -DHAVE_CONFIG_H -mieee-fp -I/usr/local/Cellar/pcre/8.13/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -D_THREAD_SAFE -pthread -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -c OPERATORS/op-b-b.cc -fno-common -DPIC -o OPERATORS/.libs/liboctinterp_la-op-b-b.o
mv DLD-FUNCTIONS/urlwrite.df-t DLD-FUNCTIONS/urlwrite.df
<snip>
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -DHAVE_CONFIG_H -mieee-fp -I/usr/local/Cellar/pcre/8.13/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -D_THREAD_SAFE -pthread -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -c -o DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo `test -f 'DLD-FUNCTIONS/urlwrite.cc' || echo './'`DLD-FUNCTIONS/urlwrite.cc
libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -DHAVE_CONFIG_H -mieee-fp -I/usr/local/Cellar/pcre/8.13/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -D_THREAD_SAFE -pthread -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT -c DLD-FUNCTIONS/urlwrite.cc -fno-common -DPIC -o DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_urlwrite_la-urlwrite.o
DLD-FUNCTIONS/urlwrite.cc: In member function 'string_vector curl_handle::list() const':
DLD-FUNCTIONS/urlwrite.cc:405: error: 'CURLOPT_DIRLISTONLY' was not declared in this scope
DLD-FUNCTIONS/urlwrite.cc:412: error: 'CURLOPT_DIRLISTONLY' was not declared in this scope
make[3]: *** [DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/octave.rb#L81
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 320485f4b11f25335365be99079dcc18d1d5d990
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.5.8
Kernel Architecture: i386
Ruby: 1.8.6-369
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.1.4
GCC-4.0: build 5493
GCC-4.2: build 5577
LLVM: N/A
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT
CXXFLAGS: -O3 -march=nocona -mfpmath=sse -w -pipe -D_REENTRANT
CPPFLAGS: -I/usr/local/Cellar/readline/6.2.1/include -I/usr/local/Cellar/texinfo/4.13a/include -I/usr/X11/include
LDFLAGS: -L/usr/local/Cellar/readline/6.2.1/lib -L/usr/local/Cellar/texinfo/4.13a/lib -L/usr/X11/lib
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Cellar/readline/6.2.1/lib/pkgconfig:/usr/local/Cellar/texinfo/4.13a/lib/pkgconfig
Error: Failed executing: make all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment