Skip to content

Instantly share code, notes, and snippets.

@albertz
Created April 5, 2011 16:29
Show Gist options
  • Save albertz/903944 to your computer and use it in GitHub Desktop.
Save albertz/903944 to your computer and use it in GitHub Desktop.
brew portaudio fails
Last login: Tue Apr 5 16:48:19 on ttys002
az@Albert-Zeyers-MacBook-Pro 1006 (~) %brew update
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 12 (delta 10), reused 0 (delta 0)
Unpacking objects: 100% (12/12), done.
From http://github.com/mxcl/homebrew
* branch master -> FETCH_HEAD
Updated Homebrew from b5fad2cd to 7e7d6edb.
No formulae were updated.
No external commands were updated.
az@Albert-Zeyers-MacBook-Pro 1007 (~) %brew help
Example usage:
brew install FORMULA...
brew uninstall FORMULA...
brew search [foo]
brew list [FORMULA...]
brew update
brew outdated
brew [info | home] [FORMULA...]
Troubleshooting:
brew doctor
brew install -vd FORMULA
brew [--env | --config]
Brewing:
brew create [URL [--no-fetch]]
brew edit [FORMULA...]
open https://github.com/mxcl/homebrew/wiki/Formula-Cookbook
Further help:
man brew
brew home
az@Albert-Zeyers-MacBook-Pro 1008 (~) %brew install -v portaudio
==> Downloading http://www.portaudio.com/archives/pa_stable_v19_20071207.tar.gz
File already downloaded and cached to /Users/az/Library/Caches/Homebrew
/usr/bin/tar xf /Users/az/Library/Caches/Homebrew/portaudio-19.20071207.tar.gz
==> ./configure --prefix=/usr/local/Cellar/portaudio/19.20071207 --disable-debug --disable-dependency-tracking
./configure --prefix=/usr/local/Cellar/portaudio/19.20071207 --disable-debug --disable-dependency-tracking
checking for gcc... /usr/bin/gcc-4.2
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/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ANSI C... none needed
checking build system type... i686-apple-darwin10.7.0
checking host system type... i686-apple-darwin10.7.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by /usr/bin/gcc-4.2... /usr/bin/gcc-4.2
checking if the linker (/usr/bin/gcc-4.2) is GNU ld... no
checking for /usr/bin/gcc-4.2 option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -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 whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -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... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common
checking if /usr/bin/gcc-4.2 PIC flag -fno-common works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/bin/gcc-4.2) 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/g++-4.2... /usr/bin/gcc-4.2
checking if the linker (/usr/bin/gcc-4.2) is GNU ld... no
checking whether the /usr/bin/g++-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries... yes
checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common
checking if /usr/bin/g++-4.2 PIC flag -fno-common works... yes
checking if /usr/bin/g++-4.2 static flag -static works... no
checking if /usr/bin/g++-4.2 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fno-common
checking if gfortran PIC flag -fno-common works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/gcc-4.2) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking for snd_pcm_open in -lasound... no
checking for HPI_SubSysCreate in -lhpi... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JACK... checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking linux/soundcard.h usability... no
checking linux/soundcard.h presence... no
checking for linux/soundcard.h... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for clock_gettime in -lrt... no
checking for clock_gettime... no
checking for nanosleep... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating portaudio-2.0.pc
==> make install
make install
mkdir lib
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -I./include -I./src/common -I./src/os/unix -Werror -march=core2 -w -pipe -O3 -DPA_LITTLE_ENDIAN -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_allocation.c -o src/common/pa_allocation.lo
mkdir -p \
src/common \
src/hostapi/alsa \
src/hostapi/asihpi \
src/hostapi/asio \
src/hostapi/coreaudio \
src/hostapi/dsound \
src/hostapi/jack \
src/hostapi/oss \
src/hostapi/wasapi \
src/hostapi/wdmks \
src/hostapi/wmme \
src/os/mac_osx \
src/os/unix \
src/os/win
touch lib-stamp
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -I./include -I./src/common -I./src/os/unix -Werror -march=core2 -w -pipe -O3 -DPA_LITTLE_ENDIAN -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_converters.c -o src/common/pa_converters.lo
mkdir src/common/.libs
/usr/bin/gcc-4.2 -c -I./include -I./src/common -I./src/os/unix -Werror -march=core2 -w -pipe -O3 -DPA_LITTLE_ENDIAN -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_converters.c -fno-common -DPIC -o src/common/.libs/pa_converters.o
/usr/bin/gcc-4.2 -c -I./include -I./src/common -I./src/os/unix -Werror -march=core2 -w -pipe -O3 -DPA_LITTLE_ENDIAN -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_allocation.c -fno-common -DPIC -o src/common/.libs/pa_allocation.o
/usr/bin/gcc-4.2 -c -I./include -I./src/common -I./src/os/unix -Werror -march=core2 -w -pipe -O3 -DPA_LITTLE_ENDIAN -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_allocation.c -o src/common/pa_allocation.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -I./include -I./src/common -I./src/os/unix -Werror -march=core2 -w -pipe -O3 -DPA_LITTLE_ENDIAN -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_cpuload.c -o src/common/pa_cpuload.lo
/usr/bin/gcc-4.2 -c -I./include -I./src/common -I./src/os/unix -Werror -march=core2 -w -pipe -O3 -DPA_LITTLE_ENDIAN -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_cpuload.c -fno-common -DPIC -o src/common/.libs/pa_cpuload.o
src/common/pa_cpuload.c:55:20: error: assert.h: No such file or directory
make: *** [src/common/pa_cpuload.lo] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/gcc-4.2 -c -I./include -I./src/common -I./src/os/unix -Werror -march=core2 -w -pipe -O3 -DPA_LITTLE_ENDIAN -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_converters.c -o src/common/pa_converters.o >/dev/null 2>&1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/portaudio.rb#L19
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 7e7d6edb31ef8b23608fa533edfba48d668e9a8e
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 core2
OS X: 10.6.7
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
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: -march=core2 -w -pipe -O3
CXXFLAGS: -march=core2 -w -pipe -O3
MAKEFLAGS: -j2
Error: Failed executing: make install
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
az@Albert-Zeyers-MacBook-Pro 1009 (~) %brew doctor
Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libopencv_calib3d.2.1.1.dylib
/usr/local/lib/libopencv_calib3d.2.2.0.dylib
/usr/local/lib/libopencv_contrib.2.1.1.dylib
/usr/local/lib/libopencv_contrib.2.2.0.dylib
/usr/local/lib/libopencv_core.2.1.1.dylib
/usr/local/lib/libopencv_core.2.2.0.dylib
/usr/local/lib/libopencv_features2d.2.1.1.dylib
/usr/local/lib/libopencv_features2d.2.2.0.dylib
/usr/local/lib/libopencv_flann.2.1.1.dylib
/usr/local/lib/libopencv_flann.2.2.0.dylib
/usr/local/lib/libopencv_gpu.2.1.1.dylib
/usr/local/lib/libopencv_gpu.2.2.0.dylib
/usr/local/lib/libopencv_highgui.2.1.1.dylib
/usr/local/lib/libopencv_highgui.2.2.0.dylib
/usr/local/lib/libopencv_imgproc.2.1.1.dylib
/usr/local/lib/libopencv_imgproc.2.2.0.dylib
/usr/local/lib/libopencv_legacy.2.1.1.dylib
/usr/local/lib/libopencv_legacy.2.2.0.dylib
/usr/local/lib/libopencv_ml.2.1.1.dylib
/usr/local/lib/libopencv_ml.2.2.0.dylib
/usr/local/lib/libopencv_objdetect.2.1.1.dylib
/usr/local/lib/libopencv_objdetect.2.2.0.dylib
/usr/local/lib/libopencv_ts.2.2.0.dylib
/usr/local/lib/libopencv_video.2.1.1.dylib
/usr/local/lib/libopencv_video.2.2.0.dylib
Some brews install binaries to sbin instead of bin, but Homebrew's
sbin was not found in your path.
Consider editing your .bashrc to add:
/usr/local/sbin
to $PATH.
az@Albert-Zeyers-MacBook-Pro 1010 (~) %brew missing
az@Albert-Zeyers-MacBook-Pro 1011 (~) %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment