Skip to content

Instantly share code, notes, and snippets.

@robmorgan
Created February 5, 2012 02: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 robmorgan/1741969 to your computer and use it in GitHub Desktop.
Save robmorgan/1741969 to your computer and use it in GitHub Desktop.
==> Installing wireshark dependency: pkg-config
==> Downloading http://pkg-config.freedesktop.org/releases/pkg-config-0.25.tar.gz
######################################################################## 100.0%
==> ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.25 --with-pc-path=/usr/local/lib/pkgconfig:/usr/lib/pkg
==> make
==> make check
==> make install
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
==> Summary
/usr/local/Cellar/pkg-config/0.25: 9 files, 236K, built in 58 seconds
==> Installing wireshark dependency: libgpg-error
==> Downloading ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2
######################################################################## 100.0%
######################################################################## 100.0%==> ./configure --prefix=/usr/local/Cellar/libgpg-error/1.10
==> make install
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
==> Summary
/usr/local/Cellar/libgpg-error/1.10: 14 files, 236K, built in 36 seconds
==> Installing wireshark dependency: libgcrypt
==> Downloading ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.0.tar.bz2
######################################################################## 100.0%
######################################################################## 100.0%==> ./configure --prefix=/usr/local/Cellar/libgcrypt/1.5.0 --disable-asm --with-gpg-error-prefix=/usr/local
==> make
==> make check
==> make install
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
==> Summary
/usr/local/Cellar/libgcrypt/1.5.0: 12 files, 1.3M, built in 3.2 minutes
==> Installing wireshark dependency: libtasn1
==> Downloading http://ftpmirror.gnu.org/libtasn1/libtasn1-2.10.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtasn1/2.10
==> make install
/usr/local/Cellar/libtasn1/2.10: 48 files, 568K, built in 36 seconds
==> Installing wireshark dependency: gnutls
==> Downloading http://ftpmirror.gnu.org/gnutls/gnutls-2.12.14.tar.bz2
######################################################################## 100.0%
==> ./configure --disable-debug --disable-guile --disable-static --prefix=/usr/local/Cellar/gnutls/2.12.14 --with-libgcrypt --w
==> make install
/usr/local/Cellar/gnutls/2.12.14: 684 files, 6.0M, built in 3.9 minutes
==> Installing wireshark dependency: pcre
==> Downloading ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.20.tar.bz2
######################################################################## 100.0%
######################################################################## 100.0%==> ./configure --prefix=/usr/local/Cellar/pcre/8.20 --enable-utf8 --enable-unicode-properties --enable-pcregrep-libz --enable-
==> make test
==> make install
/usr/local/Cellar/pcre/8.20: 126 files, 3.0M, built in 67 seconds
==> Installing wireshark dependency: gettext
==> Downloading http://ftpmirror.gnu.org/gettext/gettext-0.18.1.1.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file gettext-tools/configure
patching file gettext-tools/Makefile.in
==> ./configure --disable-debug --prefix=/usr/local/Cellar/gettext/0.18.1.1 --without-included-gettext --without-included-glib
==> make
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:
LDFLAGS -L/usr/local/Cellar/gettext/0.18.1.1/lib
CPPFLAGS -I/usr/local/Cellar/gettext/0.18.1.1/include
==> Summary
/usr/local/Cellar/gettext/0.18.1.1: 366 files, 13M, built in 4.9 minutes
==> Installing wireshark dependency: libiconv
==> Downloading http://ftpmirror.gnu.org/libiconv/libiconv-1.14.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file Makefile.devel
Hunk #1 succeeded at 106 (offset 1 line).
patching file lib/converters.h
patching file lib/encodings.def
patching file lib/utf8mac.h
patching file lib/flags.h
==> ./configure --disable-debug --prefix=/usr/local/Cellar/libiconv/1.14 --enable-extra-encodings
==> make -f Makefile.devel
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this program and installing another version in
parallel can cause all kinds of trouble.
A few software packages require this newer version of libiconv.
Please use this dependency very sparingly.
Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:
LDFLAGS -L/usr/local/Cellar/libiconv/1.14/lib
CPPFLAGS -I/usr/local/Cellar/libiconv/1.14/include
==> Summary
/usr/local/Cellar/libiconv/1.14: 25 files, 1.4M, built in 88 seconds
==> Installing wireshark dependency: glib
==> Downloading ftp://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.8.tar.bz2
######################################################################## 100.0%
######################################################################## 100.0%==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file configure.ac
patching file glib-2.0.pc.in
patching file glib/gunicollate.c
patching file glib/gi18n.h
patching file gio/xdgmime/xdgmime.c
patching file gio/gdbusprivate.c
==> ./configure --disable-rebuilds --prefix=/usr/local/Cellar/glib/2.28.8 --with-libiconv=gnu --disable-dtrace --disable-debug
######################################################################## 100.0%
==> ed - config.h < config.h.ed
==> make
==> make install
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link glib'
==> Summary
/usr/local/Cellar/glib/2.28.8: 349 files, 11M, built in 4.4 minutes
==> Installing wireshark
==> Downloading http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.7.0.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/wireshark/1.7.0 --disable-wireshark
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking target system type... i386-apple-darwin11.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 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 whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/llvm-g++ accepts -g... yes
checking dependency style of /usr/bin/llvm-g++... none
checking how to run the C preprocessor... /usr/bin/llvm-gcc -E
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... /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 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 ar... ar
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 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 whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/bin/llvm-g++ accepts -g... (cached) yes
checking dependency style of /usr/bin/llvm-g++... (cached) none
checking how to run the C++ preprocessor... /usr/bin/llvm-g++ -E
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... darwin11.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
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 for ld used by /usr/bin/llvm-g++... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking for /usr/bin/llvm-g++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-g++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-g++ static flag -static works... no
checking if /usr/bin/llvm-g++ supports -c -o file.o... yes
checking if /usr/bin/llvm-g++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking for perl... /usr/bin/perl
checking for bison... bison -y
checking for bison... /usr/bin/bison
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for flex... /usr/bin/flex
checking for pod2man... /usr/bin/pod2man
checking for pod2html... /usr/bin/pod2html
checking for xdg-open... no
checking for htmlview... no
checking for python... /usr/bin/python
checking for doxygen... no
checking for doxygen... no
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.9.0... yes
checking for LIBGNUTLS... yes
GnuTLS found, enabling SSL decryption
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.1.92... yes
libgcrypt found, enabling ipsec decryption
checking for libsmi >= 2... not found
checking for xsltproc... /usr/bin/xsltproc
checking for xsltproc... yes
checking for xmllint... /usr/bin/xmllint
checking for xmllint... yes
checking for fop... no
checking for fop... no
checking for elinks... no
checking for elinks... no
checking for lynx... no
checking for lynx... no
checking for hhc.exe... no
checking for hhc.exe... no
checking for pkgproto... no
checking for pkgmk... no
checking for pkgtrans... no
checking for rpm... no
checking for dpkg-buildpackage... no
checking for xcodebuild... yes
checking for hdiutil... yes
checking for bless... yes
checking whether we can add -Wall -W to CFLAGS... yes
checking whether we can add -Wextra to CFLAGS... yes
checking whether we can add -Wdeclaration-after-statement to CFLAGS... yes
checking whether we can add -Wendif-labels to CFLAGS... yes
checking whether we can add -Wpointer-arith to CFLAGS... yes
checking whether we can add -Wno-pointer-sign to CFLAGS... yes
checking whether we can add -Warray-bounds to CFLAGS... no
checking whether we can add -Wcast-align to CFLAGS... yes
checking whether we can add -Wformat-security to CFLAGS... yes
checking whether we can add -Wold-style-definition to CFLAGS... yes
checking whether we can add -Wno-error=unused-but-set-variable to CFLAGS... no
checking whether we can add -fexcess-precision=fast to CFLAGS... no
checking whether we can add -Wl,--as-needed to LDFLAGS... no
checking whether we should treat compiler warnings as errors... yes
checking for platform-specific compiler flags... Apple GCC - added -no-cpp-precomp
checking for platform-specific linker flags... Apple linker - added -Wl,-single_module and -Wl,-search_paths_first
checking whether we can build with Core Foundation, Launch Services, and Core Services... yes
checking whether to use /usr/local/Cellar/wireshark/1.7.0 for headers and libraries... no
checking whether to use /usr/local for headers and libraries... yes
checking for GNU sed as first sed in PATH... no
checking if profile builds must be generated... no
checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.14.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.
configure: error: GLib 2.14 or later distribution not found.
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/wireshark.rb#L23
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit arrandale
OS X: 10.7.2
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.2
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 -w -pipe
CXXFLAGS: -O3 -march=core2 -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: -j4
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-dependency-tracking --prefix=/usr/local/Cellar/wireshark/1.7.0 --disable-wireshark
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/9874
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment