Skip to content

Instantly share code, notes, and snippets.

@eqbal eqbal/gist:1233687
Created Sep 22, 2011

Embed
What would you like to do?
Gtk is not working on my Lion OSX , and it seems that the brew doctor is not working anymore after "sudo chown -R $USER /usr/local" you mentioned
It seems that I can't install gtk somehow , I'm using Xcode 4 , No maceport and fink installed and now it seems that I can't use brew doctor after chown /usr/local .
Any Help would be highly appreciated .
Thanks in advance
/usr/local$ brew install -v gtk
==> Installing gtk+ dependency: gdk-pixbuf
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.23/gdk-pixbuf-2.23.5.tar.bz2
File already downloaded in /Users/Apple/Library/Caches/Homebrew
/usr/bin/tar xf /Users/Apple/Library/Caches/Homebrew/gdk-pixbuf-2.23.5.tar.bz2
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gdk-pixbuf/2.23.5 --with-libjasper --enable-introspection=no
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gdk-pixbuf/2.23.5 --with-libjasper --enable-introspection=no
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 disable maintainer-specific portions of Makefiles... yes
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 whether /usr/bin/llvm-gcc and cc understand -c and -o together... yes
checking for /usr/bin/llvm-gcc option to accept ISO C99... -std=gnu99
checking for /usr/bin/llvm-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-apple-darwin11.1.0
checking host system type... x86_64-apple-darwin11.1.0
checking for native Win32... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/llvm-gcc -std=gnu99... /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-darwin11.1.0 file names to x86_64-apple-darwin11.1.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin11.1.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/llvm-gcc 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/llvm-gcc -std=gnu99 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 how to run the C preprocessor... /usr/bin/llvm-gcc -std=gnu99 -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 for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/llvm-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/llvm-gcc -std=gnu99 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-gcc -std=gnu99 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-gcc -std=gnu99 static flag -static works... no
checking if /usr/bin/llvm-gcc -std=gnu99 supports -c -o file.o... yes
checking if /usr/bin/llvm-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-gcc -std=gnu99 linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.1.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
configure: creating ./config.lt
config.lt: creating libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking dependency style of /usr/bin/llvm-gcc -std=gnu99... none
checking for nm... /usr/bin/nm
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for BASE_DEPENDENCIES... no
configure: error: Package requirements (glib-2.0 >= 2.27.2) were not met:
No package 'glib-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/gdk-pixbuf.rb#L13
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: f041df1f9d8061f00bbc43f8b37f4d4abd5f86bd
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.7.1
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
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: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CPPFLAGS: -I/usr/local/Cellar/libiconv/1.14/include -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/libiconv/1.14/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Cellar/libiconv/1.14/lib/pkgconfig:/usr/local/Cellar/gettext/0.18.1.1/lib/pkgconfig
Error: Failed executing: ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gdk-pixbuf/2.23.5 --with-libjasper --enable-introspection=no
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/4970
https://github.com/mxcl/homebrew/issues/7400
https://github.com/mxcl/homebrew/issues/7654
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
/usr/local$ brew doctor
Your system is raring to brew.
You have new mail in /var/mail/Apple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.