Skip to content

Instantly share code, notes, and snippets.

@alact
Created August 30, 2011 09:58
Show Gist options
  • Save alact/1180578 to your computer and use it in GitHub Desktop.
Save alact/1180578 to your computer and use it in GitHub Desktop.
problem installing usbmuxd with homebrew
Macbook:~ skweeke3$ brew install -v usbmuxd
==> Downloading http://marcansoft.com/uploads/usbmuxd/usbmuxd-1.0.7.tar.bz2
File already downloaded in /Users/skweeke3/Library/Caches/Homebrew
/usr/bin/tar xf /Users/skweeke3/Library/Caches/Homebrew/usbmuxd-1.0.7.tar.bz2
==> cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/usbmuxd/1.0.7' -DCMAKE_BUILD_TYPE=None -Wno-dev -DLIB_SUFFIX=''
cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/usbmuxd/1.0.7' -DCMAKE_BUILD_TYPE=None -Wno-dev -DLIB_SUFFIX=''
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring usbmuxd v1.0.7
-- Found PLIST
-- Will build usbmuxd: YES
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- libusbmuxd will be built with protocol version 1 support
USB_INCLUDE_DIR=USB_INCLUDE_DIR-NOTFOUND
USB_LIBRARY=/usr/local/lib/libusb-1.0.dylib
CMake Error at Modules/LibFindMacros.cmake:74 (message):
Required library USB NOT FOUND.
Install the library (dev version) and try again. If the library is already
installed, use ccmake to set the missing variables manually.
Call Stack (most recent call first):
Modules/FindUSB.cmake:40 (libfind_process)
daemon/CMakeLists.txt:1 (find_package)
-- Configuring incomplete, errors occurred!
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/usbmuxd.rb#L14
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 8e9a8db3ce783640b39ebfcd747615389f81a76d
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 core2
OS X: 10.6.8
Kernel Architecture: i386
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 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
CPPFLAGS: -I/usr/local/Cellar/libxml2/2.7.8/include
LDFLAGS: -L/usr/local/Cellar/libxml2/2.7.8/lib
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Cellar/libxml2/2.7.8/lib/pkgconfig
Error: Failed executing: cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/usbmuxd/1.0.7' -DCMAKE_BUILD_TYPE=None -Wno-dev -DLIB_SUFFIX=''
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Macbook:~ skweeke3$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment