Skip to content

Instantly share code, notes, and snippets.

@dts
Created May 29, 2012 07:11
Show Gist options
  • Save dts/2823057 to your computer and use it in GitHub Desktop.
Save dts/2823057 to your computer and use it in GitHub Desktop.
brew install -v mpfr
==> Downloading http://www.mpfr.org/mpfr-3.1.0/mpfr-3.1.0.tar.bz2
Already downloaded: /Users/dstaudigel/Library/Caches/Homebrew/mpfr-3.1.0.tar.bz2
/usr/bin/tar xf /Users/dstaudigel/Library/Caches/Homebrew/mpfr-3.1.0.tar.bz2
==> Downloading patches
/usr/bin/curl -qf#LA Homebrew 0.9 (Ruby 1.8.7-357; Mac OS X 10.7.4) http://www.mpfr.org/mpfr-3.1.0/allpatches -o 000-homebrew.diff --silent
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file PATCHES
patching file VERSION
patching file src/mpfr-impl.h
patching file src/mpfr.h
patching file src/version.c
patching file PATCHES
patching file VERSION
patching file src/mpfr.h
patching file src/version.c
patching file tests/Makefile.am
patching file tests/Makefile.in
patching file PATCHES
patching file VERSION
patching file src/mpfr.h
patching file src/vasprintf.c
patching file src/version.c
patching file tests/tsprintf.c
patching file PATCHES
patching file VERSION
patching file doc/mpfr.info
patching file doc/mpfr.texi
patching file src/mpfr.h
patching file src/version.c
patching file tests/trandom.c
patching file tests/turandom.c
patching file PATCHES
patching file VERSION
patching file src/add_d.c
patching file src/add_ui.c
patching file src/mpfr.h
patching file src/mul_d.c
patching file src/version.c
patching file PATCHES
patching file VERSION
patching file src/mpfr-impl.h
patching file src/mpfr.h
patching file src/version.c
patching file PATCHES
patching file VERSION
patching file src/add1.c
patching file src/add1sp.c
patching file src/agm.c
patching file src/eq.c
patching file src/exp.c
patching file src/get_d.c
patching file src/get_flt.c
patching file src/get_str.c
patching file src/init2.c
patching file src/lngamma.c
patching file src/mpfr-impl.h
patching file src/mpfr.h
patching file src/mul.c
patching file src/pow.c
patching file src/print_raw.c
patching file src/round_prec.c
patching file src/round_raw_generic.c
patching file src/set.c
patching file src/set_f.c
patching file src/set_prec.c
patching file src/setmax.c
patching file src/sqr.c
patching file src/stack_interface.c
patching file src/strtofr.c
patching file src/sub1sp.c
patching file src/urandomb.c
patching file src/version.c
patching file tests/tinits.c
patching file PATCHES
patching file VERSION
patching file src/mpfr.h
patching file src/version.c
patching file PATCHES
patching file VERSION
patching file src/gamma.c
patching file src/mpfr.h
patching file src/version.c
patching file tests/tgamma.c
patching file PATCHES
patching file VERSION
patching file src/gamma.c
patching file src/lngamma.c
patching file src/mpfr.h
patching file src/version.c
patching file tests/tgamma.c
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/mpfr/3.1.0 --build=x86_64-apple-darwin
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/mpfr/3.1.0 --build=x86_64-apple-darwin
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 whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-apple-darwin
checking host system type... x86_64-apple-darwin
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... /usr/bin/llvm-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/llvm-gcc accepts -g... yes
checking for /usr/bin/llvm-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/llvm-gcc... none
checking how to run the C preprocessor... /usr/bin/llvm-gcc -E
checking for ICC... no
checking whether /usr/bin/llvm-gcc and cc understand -c and -o together... yes
checking for function prototypes... yes
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 for string.h... (cached) yes
checking if the compiler understands -Wl,-search_paths_first... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for main in -lm... yes
checking whether time.h and sys/time.h may both be included... yes
checking for size_t... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for string.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/fpu.h usability... no
checking sys/fpu.h presence... no
checking for sys/fpu.h... no
checking for working alloca.h... yes
checking for alloca... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking how to copy va_list... va_copy
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for strtol... yes
checking for gettimeofday... yes
checking for long long int... yes
checking for intmax_t... yes
checking for working INTMAX_MAX... yes
checking for union fpc_csr... no
checking for fesetround... yes
checking for gcc float-conversion bug... no
checking for denormalized numbers... yes
checking if the FP division by 0 fails... no
checking if NAN == NAN... no
checking if charset has consecutive values... yes
checking for math/round... yes
checking for math/trunc... yes
checking for math/floor... yes
checking for math/ceil... yes
checking for math/rint... yes
checking for long double... yes
checking format of `long double' floating point... IEEE extended, little endian
checking for TLS support... no
checking for gmp.h... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/llvm-gcc... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin file names to x86_64-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin file names to toolchain format... func_convert_file_noop
checking for /usr/bin/llvm-gcc option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/llvm-gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/llvm-gcc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/llvm-gcc option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-gcc PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-gcc static flag -static works... no
checking if /usr/bin/llvm-gcc supports -c -o file.o... yes
checking if /usr/bin/llvm-gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-gcc linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin 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
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking for recent GMP... yes
checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI (including static vs shared).
Please read the INSTALL file -- see "In case of problem".
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/mpfr.rb#L31
==> Build Environment
CPU: quad-core 64-bit sandybridge
MacOS: 10.7.4-x86_64
Xcode: 4.3.2
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4 -m64
CXXFLAGS: -Os -w -pipe -march=core2 -msse4 -m64
LDFLAGS: -arch x86_64
MAKEFLAGS: -j4
Error: Failed executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/mpfr/3.1.0 --build=x86_64-apple-darwin (mpfr.rb:31)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment