Skip to content

Instantly share code, notes, and snippets.

@chrisballinger
Created December 26, 2011 22:32
Show Gist options
  • Save chrisballinger/1522224 to your computer and use it in GitHub Desktop.
Save chrisballinger/1522224 to your computer and use it in GitHub Desktop.
hqx homebrew installation failure
mbp:local chrisbal$ brew install -v hqx
==> Downloading http://hqx.googlecode.com/files/hqx-1.1.tar.gz
File already downloaded in /Users/chrisbal/Library/Caches/Homebrew
/usr/bin/tar xf /Users/chrisbal/Library/Caches/Homebrew/hqx-1.1.tar.gz
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/hqx/1.1
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/hqx/1.1
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 inline... inline
checking how to run the C preprocessor... /usr/bin/llvm-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 whether byte ordering is bigendian... 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 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 IL/il.h usability... yes
checking IL/il.h presence... yes
checking for IL/il.h... yes
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
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/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-darwin11.2.0 file names to x86_64-apple-darwin11.2.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin11.2.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... 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... no
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 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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
==> make install
make install
Making install in src
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"hqx\ 1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c -o init.lo init.c
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"hqx\ 1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c -o hq2x.lo hq2x.c
libtool: compile: /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"hqx 1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c init.c -fno-common -DPIC -o .libs/init.o
libtool: compile: /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"hqx 1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c hq2x.c -fno-common -DPIC -o .libs/hq2x.o
libtool: compile: /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"hqx 1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c init.c -o init.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"hqx\ 1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c -o hq3x.lo hq3x.c
libtool: compile: /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"hqx 1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c hq3x.c -fno-common -DPIC -o .libs/hq3x.o
libtool: compile: /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"hqx 1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c hq2x.c -o hq2x.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"hqx\ 1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c -o hq4x.lo hq4x.c
libtool: compile: /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"hqx 1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c hq3x.c -o hq3x.o >/dev/null 2>&1
libtool: compile: /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"hqx 1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c hq4x.c -fno-common -DPIC -o .libs/hq4x.o
/usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"hqx\ 1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I. -Wall -g -O0 -c -o hqx-hqx.o `test -f 'hqx.c' || echo './'`hqx.c
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/llvm-gcc -Wall -g -O0 -lIL libhqx.la -o hqx hqx-hqx.o
libtool: link: cannot find the library `libhqx.la' or unhandled argument `libhqx.la'
make[1]: *** [hqx] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile: /usr/bin/llvm-gcc -DPACKAGE_NAME=\"hqx\" -DPACKAGE_TARNAME=\"hqx\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"hqx 1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"hqx\" -DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -g -O0 -c hq4x.c -o hq4x.o >/dev/null 2>&1
make: *** [install-recursive] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/hqx.rb#L12
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 9b8ed084e171ae7a8a85875e1dcdd929cf28c012
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: dual-core 64-bit penryn
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.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2336
Clang: 3.0-211.12
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 -w -pipe -march=core2 -msse4.1
CXXFLAGS: -O3 -w -pipe -march=core2 -msse4.1
MAKEFLAGS: -j2
Error: Failed executing: make install
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
mbp:local chrisbal$ brew doctor
/Library/Frameworks/Mono.framework detected
This can be picked up by Cmake's build system and likely cause the
build to fail, finding improper header files for libpng for instance.
mbp:local chrisbal$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment