Skip to content

Instantly share code, notes, and snippets.

@ruaz
Created March 30, 2012 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruaz/2250821 to your computer and use it in GitHub Desktop.
Save ruaz/2250821 to your computer and use it in GitHub Desktop.
output of 'brew install -v glib'
Rui ~ $brew install -v glib
==> Downloading ftp://ftp.gnome.org/pub/gnome/sources/glib/2.30/glib-2.30.3.tar.xz
Already downloaded: /Library/Caches/Homebrew/glib-2.30.3.tar.xz
xz -dc "/Library/Caches/Homebrew/glib-2.30.3.tar.xz" | /usr/bin/tar xf -
==> Downloading patches
/usr/bin/curl -qf#LA Homebrew 0.9 (Ruby 1.8.7-249; Mac OS X 10.6.8) https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-configure.diff -o 000-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-glib-2.0.pc.in.diff -o 001-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-glib_gunicollate.c.diff -o 002-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-gi18n.h.diff -o 003-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-gio_xdgmime_xdgmime.c.diff -o 004-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-gio_gdbusprivate.c.diff -o 005-homebrew.diff
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
/usr/bin/patch -f -p0 -i 000-homebrew.diff
patching file configure
Hunk #1 succeeded at 30564 (offset 79 lines).
Hunk #2 succeeded at 32336 (offset 74 lines).
Hunk #3 succeeded at 32373 (offset 74 lines).
Hunk #4 succeeded at 32409 (offset 74 lines).
Hunk #5 succeeded at 32551 (offset 74 lines).
Hunk #6 succeeded at 32597 (offset 74 lines).
Hunk #7 succeeded at 32609 (offset 74 lines).
Hunk #8 succeeded at 32621 (offset 74 lines).
/usr/bin/patch -f -p0 -i 001-homebrew.diff
patching file glib-2.0.pc.in
/usr/bin/patch -f -p0 -i 002-homebrew.diff
patching file glib/gunicollate.c
/usr/bin/patch -f -p0 -i 003-homebrew.diff
patching file glib/gi18n.h
/usr/bin/patch -f -p0 -i 004-homebrew.diff
patching file gio/xdgmime/xdgmime.c
/usr/bin/patch -f -p0 -i 005-homebrew.diff
patching file gio/gdbusprivate.c
Hunk #1 succeeded at 2059 (offset 71 lines).
==> ./configure --disable-dependency-tracking --disable-rebuilds --prefix=/usr/local/Cellar/glib/2.30.3 --disable-dtrace --disable-debug
./configure --disable-dependency-tracking --disable-rebuilds --prefix=/usr/local/Cellar/glib/2.30.3 --disable-dtrace --disable-debug
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 how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
checking for gcc... /usr/bin/gcc-4.2
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/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.2... none
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for the BeOS... no
checking for Win32... no
checking for Mac OS X Carbon support... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
readlink: illegal option -- f
usage: readlink [-n] [file ...]
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking dependency style of /usr/bin/g++-4.2... none
checking for gcc... (cached) /usr/bin/gcc-4.2
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/gcc-4.2... (cached) none
checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for gawk... (cached) awk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl... /usr/bin/perl
checking for a Python interpreter with version >= 2.5... python
checking for python... /Library/Frameworks/Python.framework/Versions/2.7/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... yes
checking whether to cache iconv descriptors... yes
checking for ZLIB... no
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 inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for LIBFFI... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/local/Cellar/gettext/0.18.1.1/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/local/Cellar/gettext/0.18.1.1/bin/msgfmt
checking for xgettext... /usr/local/Cellar/gettext/0.18.1.1/bin/xgettext
checking for catalogs to be installed... af am ar as ast az be be@latin bg bn bn_IN bs ca ca@valencia cs cy da de dz el en_CA en_GB en@shaw eo es et eu fa fi fr ga gl gu he hi hr hu hy id is it ja ka kk kn ko ku lt lv mai mg mk ml mn mr ms nb nds ne nl nn oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te th tl tr ug tt uk vi wa xh yi zh_CN zh_HK zh_TW
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
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 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-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/gcc-4.2 option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
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/gcc-4.2 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/gcc-4.2 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC 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 if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.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... no
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
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 -DPIC
checking if /usr/bin/g++-4.2 PIC flag -fno-common -DPIC 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 if /usr/bin/g++-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/g++-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for extra flags to get ANSI library prototypes...
configure: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)
checking for extra flags for POSIX compliance... none needed
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for mmap... yes
checking for posix_memalign... yes
checking for memalign... no
checking for valloc... yes
checking for fsync... yes
checking for pipe2... no
checking for atexit... yes
checking for on_exit... no
checking for timegm... yes
checking for gmtime_r... yes
checking for qsort_r... yes
checking if qsort_r uses glibc compatible argument order... no
checking size of char... 0
checking size of short... 0
checking size of long... 0
checking size of int... 0
checking size of void *... 0
checking size of long long... 0
checking size of __int64... 0
configure: error:
*** GLib requires a 64 bit type. You might want to consider
*** using the GNU C compiler.
config.log was copied to /Users/Rui/Library/Logs/Homebrew
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/glib.rb#L63
==> Build Environment
CPU: dual-core 64-bit penryn
MacOS: 10.6.8-i386
Xcode: 3.2.6
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -Os -pipe -march=core2 -msse4.1
CXXFLAGS: -Os -pipe -march=core2 -msse4.1
CPPFLAGS: -I/usr/local/Cellar/libffi/3.0.10/include -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/libffi/3.0.10/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Cellar/libffi/3.0.10/lib/pkgconfig
Error: Failed executing: ./configure --disable-dependency-tracking --disable-rebuilds --prefix=/usr/local/Cellar/glib/2.30.3 --disable-dtrace --disable-debug (glib.rb:63)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/10653
https://github.com/mxcl/homebrew/issues/11278
https://github.com/mxcl/homebrew/issues/11279
Otherwise, 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