Created
March 23, 2011 00:03
-
-
Save q/882365 to your computer and use it in GitHub Desktop.
trying to install irssi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew doctor | |
/usr/bin is in your PATH before Homebrew's bin. This means that system- | |
provided programs will be used before Homebrew-provided ones. This is an | |
issue if you install, for instance, Python. | |
Consider editing your .bashrc to put: | |
/usr/local/bin | |
ahead of /usr/bin in your $PATH. | |
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. | |
You have a non-brew 'pkg-config' in your PATH: | |
/usr/bin/pkg-config | |
`./configure` may have problems finding brew-installed packages using | |
this other pkg-config. | |
Your pkg-config is not checking "/usr/X11/lib/pkgconfig" for packages. | |
Earlier versions of the pkg-config formula did not add this path | |
to the search path, which means that other formula may not be able | |
to find certain dependencies. | |
To resolve this issue, re-brew pkg-config with: | |
brew rm pkg-config && brew install pkg-config <--- i did this already and still get this error? | |
Some "config" scripts were found in your path, but not in system or Homebrew folders. | |
`./configure` scripts often look for *-config scripts to determine if software packages | |
are installed, and what additional flags to use when compiling and linking. | |
Having additional scripts in your path can confuse software installed via Homebrew if | |
the config script overrides a system or Homebrew provided script of the same name. | |
/Library/Frameworks/Python.framework/Versions/2.7/bin | |
python-config python2.7-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install -v irssi | |
==> Downloading http://irssi.org/files/irssi-0.8.15.tar.bz2 | |
File already downloaded and cached to /Users/q/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/q/Library/Caches/Homebrew/irssi-0.8.15.tar.bz2 | |
==> Downloading patches | |
==> Patching | |
/usr/bin/patch -f -p1 -i 001-homebrew.diff | |
patching file configure | |
Hunk #1 succeeded at 14050 (offset -13369 lines). | |
Hunk #2 succeeded at 14068 with fuzz 2 (offset -13369 lines). | |
==> ./configure --prefix=/usr/local/Cellar/irssi/0.8.15 --with-perl=yes --with-perl-lib=site --with-bot --with-proxy --enable-ssl --enable-ipv6 | |
./configure --prefix=/usr/local/Cellar/irssi/0.8.15 --with-perl=yes --with-perl-lib=site --with-bot --with-proxy --enable-ssl --enable-ipv6 | |
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 whether to enable maintainer-specific portions of Makefiles... no | |
checking for style of include used by make... GNU | |
checking for gcc... /usr/bin/cc | |
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/cc accepts -g... yes | |
checking for /usr/bin/cc option to accept ISO C89... none needed | |
checking dependency style of /usr/bin/cc... gcc3 | |
checking for library containing strerror... none required | |
checking for gcc... (cached) /usr/bin/cc | |
checking whether we are using the GNU C compiler... (cached) yes | |
checking whether /usr/bin/cc accepts -g... (cached) yes | |
checking for /usr/bin/cc option to accept ISO C89... (cached) none needed | |
checking dependency style of /usr/bin/cc... (cached) gcc3 | |
checking how to run the C preprocessor... /usr/bin/cc -E | |
checking build system type... x86_64-apple-darwin10.7.3 | |
checking host system type... x86_64-apple-darwin10.7.3 | |
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/cc... /usr/bin/cc | |
checking if the linker (/usr/bin/cc) 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 for /usr/bin/cc option to reload object files... -r | |
checking for objdump... no | |
checking how to recognize dependent libraries... pass_all | |
checking for ar... ar | |
checking for strip... strip | |
checking for ranlib... ranlib | |
checking command to parse /usr/bin/nm output from /usr/bin/cc object... ok | |
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 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/cc supports -fno-rtti -fno-exceptions... yes | |
checking for /usr/bin/cc option to produce PIC... -fno-common -DPIC | |
checking if /usr/bin/cc PIC flag -fno-common -DPIC works... yes | |
checking if /usr/bin/cc static flag -static works... no | |
checking if /usr/bin/cc supports -c -o file.o... yes | |
checking if /usr/bin/cc supports -c -o file.o... (cached) yes | |
checking whether the /usr/bin/cc linker (/usr/bin/cc) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin10.7.3 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 for sed... /usr/bin/sed | |
checking for perl... /usr/bin/perl | |
checking for unistd.h... (cached) yes | |
checking dirent.h usability... yes | |
checking dirent.h presence... yes | |
checking for dirent.h... yes | |
checking sys/ioctl.h usability... yes | |
checking sys/ioctl.h presence... yes | |
checking for sys/ioctl.h... yes | |
checking sys/resource.h usability... yes | |
checking sys/resource.h presence... yes | |
checking for sys/resource.h... yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking sys/utsname.h usability... yes | |
checking sys/utsname.h presence... yes | |
checking for sys/utsname.h... yes | |
checking regex.h usability... yes | |
checking regex.h presence... yes | |
checking for regex.h... 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 socket... yes | |
checking for inet_addr... yes | |
checking for socklen_t... yes | |
checking size of int... 4 | |
checking size of long... 8 | |
checking size of long long... 8 | |
checking size of off_t... 8 | |
checking for pkg-config... /usr/bin/pkg-config | |
checking pkg-config is at least version 0.7... yes | |
checking for GLIB - version >= 2.6.0... no | |
*** Could not run GLIB test program, checking why... | |
*** The test program failed to compile or link. See the file config.log for the | |
*** exact error that occured. This usually means GLIB is incorrectly installed. | |
*** trying without -lgmodule | |
checking for pkg-config... (cached) /usr/bin/pkg-config | |
checking pkg-config is at least version 0.7... yes | |
checking for GLIB - version >= 2.6.0... no | |
*** Could not run GLIB test program, checking why... | |
*** The test program failed to compile or link. See the file config.log for the | |
*** exact error that occured. This usually means GLIB is incorrectly installed. | |
*** If you don't have GLIB, you can get it from ftp://ftp.gtk.org/pub/glib/ | |
*** We recommend you get the latest stable GLIB 2 version. | |
*** Compile and install it, and make sure pkg-config finds it, | |
*** by adding the path where the .pc file is located to PKG_CONFIG_PATH | |
configure: error: GLIB is required to build irssi. | |
==> Exit Status: 1 | |
http://github.com/mxcl/homebrew/blob/master/Library/Formula/irssi.rb#L22 | |
==> Environment | |
HOMEBREW_VERSION: 0.8 | |
HEAD: 97375337c1eed784ee12422774490885e4a5d737 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
HOMEBREW_REPOSITORY: /usr/local | |
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew | |
Hardware: 8-core 64-bit dunno | |
OS X: 10.6.7 | |
Kernel Architecture: x86_64 | |
Ruby: 1.8.7-174 | |
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | |
Xcode: 3.2.6 | |
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/cc => /usr/bin/gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CFLAGS: -O3 -w -pipe | |
CXXFLAGS: -O3 -w -pipe | |
MAKEFLAGS: -j8 | |
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/irssi/0.8.15 --with-perl=yes --with-perl-lib=site --with-bot --with-proxy --enable-ssl --enable-ipv6 | |
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue | |
It looks like an autotools configure failed. | |
Consider re-running the install with '-vd' to keep 'config.log' around: | |
brew install -vd irssi | |
Gist 'config.log' and any error output when reporting an issue. | |
Remember to include your config information: brew --config | |
Also try: | |
`brew doctor` to check your setup for common problems. | |
`brew missing` to check installed packages for missing deps. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment