Skip to content

Instantly share code, notes, and snippets.

@felixding
Created February 23, 2011 02:29
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 felixding/839871 to your computer and use it in GitHub Desktop.
Save felixding/839871 to your computer and use it in GitHub Desktop.
elix-DingmatoMacBook-Pro:~ felixding$ sudo brew install lastfmfpclient
Password:
/usr/local/Library/Homebrew/brew.h.rb:441: command not found: /usr/bin/xcode-select -print-path
Warning: Xcode is not installed! Builds may fail!
Warning: It appears you have MacPorts or Fink installed.
Software installed with MacPorts and Fink are known to cause problems.
If you experience issues try uninstalling these tools.
==> Downloading https://github.com/lastfm/Fingerprinter/tarball/9ee83a51ac9058ff
######################################################################## 100.0%
==> cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/lastfmfpclient/1.6' -DCMAK
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/tmp/homebrew-lastfmfpclient-1.6-334F/lastfm-Fingerprinter-9ee83a5/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/tmp/homebrew-lastfmfpclient-1.6-334F/lastfm-Fingerprinter-9ee83a5/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Exit status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/lastfmfpclient.rb#L16
==> Environment
/usr/local/bin/brew:42: command not found: /usr/bin/xcode-select -print-path
HOMEBREW_VERSION: 0.7.1
HEAD: (none)
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.6.6
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: ?
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: N/A
MacPorts or Fink? /sw/bin/fink
X11 installed? true
==> Build Flags
CC: /usr/bin/cc
CXX: /usr/bin/c++
LD: /usr/bin/cc
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
Error: Failure while executing: cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/lastfmfpclient/1.6' -DCMAKE_BUILD_TYPE=None -Wno-dev
Please report this bug at http://github.com/mxcl/homebrew/issues
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Felix-DingmatoMacBook-Pro:~ felixding$ brew doctor
Warning: Unbrewed dylibs were found in /usr/local/lib
You have unbrewed dylibs in /usr/local/lib. If you didn't put them there on purpose,
they could cause problems when building Homebrew formulae.
Unexpected dylibs (delete if they are no longer needed):
/usr/local/lib/libagraph.4.0.0.dylib
/usr/local/lib/libcdt.4.0.0.dylib
/usr/local/lib/libcgraph.4.0.0.dylib
/usr/local/lib/libfreetype.6.dylib
/usr/local/lib/libgraph.4.0.0.dylib
/usr/local/lib/libgvc.4.0.0.dylib
/usr/local/lib/libid3tag.0.3.0.dylib
/usr/local/lib/libjpeg.7.dylib
/usr/local/lib/liblcms.1.0.16.dylib
/usr/local/lib/libMagickCore.3.dylib
/usr/local/lib/libMagickWand.3.dylib
/usr/local/lib/libmp3lame.0.0.0.dylib
/usr/local/lib/libntfs-3g.54.0.0.dylib
/usr/local/lib/libntfs.9.0.0.dylib
/usr/local/lib/libpathplan.4.0.0.dylib
/usr/local/lib/libpng.3.dylib
/usr/local/lib/libpng12.0.dylib
/usr/local/lib/libtiff.3.dylib
/usr/local/lib/libtiffxx.3.dylib
/usr/local/lib/libUFSD.dylib
/usr/local/lib/libwmf-0.2.7.1.0.dylib
/usr/local/lib/libwmflite-0.2.7.0.1.dylib
We couldn't detect gcc 4.2.x. Some formulae require this compiler.
We couldn't detect gcc 4.0.x. Some formulae require this compiler.
Error: No such file or directory - /usr/bin/cc
Felix-DingmatoMacBook-Pro:~ felixding$ sudo brew install -v fftw
Password:
/usr/local/Library/Homebrew/brew.h.rb:441: command not found: /usr/bin/xcode-select -print-path
Warning: Xcode is not installed! Builds may fail!
Warning: It appears you have MacPorts or Fink installed.
Software installed with MacPorts and Fink are known to cause problems.
If you experience issues try uninstalling these tools.
Formula already installed: /usr/local/Cellar/fftw/3.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment