Skip to content

Instantly share code, notes, and snippets.

@thomasballinger
Created July 3, 2012 04:00
Show Gist options
  • Save thomasballinger/3037579 to your computer and use it in GitHub Desktop.
Save thomasballinger/3037579 to your computer and use it in GitHub Desktop.
brew install -v portmidi, brew --config, brew doctor output
Thomass-MacBook-Air:~ tomb$ brew install -v portmidi
Warning: Experimental support for using the "Command Line Tools" without Xcode.
Some formulae need Xcode to be installed (for the Frameworks not in the CLT.)
==> Downloading http://downloads.sourceforge.net/project/portmedia/portmidi/200/portmidi-src-200.zip
Already downloaded: /Library/Caches/Homebrew/portmidi-200.zip
/usr/bin/unzip /Library/Caches/Homebrew/portmidi-200.zip
Archive: /Library/Caches/Homebrew/portmidi-200.zip
creating: portmidi/
inflating: portmidi/ALL_BUILD.vcproj
inflating: portmidi/CHANGELOG.txt
inflating: portmidi/CMakeLists.txt
inflating: portmidi/Doxyfile
inflating: portmidi/license.txt
creating: portmidi/pm_cl/
inflating: portmidi/pm_cl/cffi-portmidi.lisp
inflating: portmidi/pm_cl/README_CL.txt
inflating: portmidi/pm_cl/test-no-cm.lisp
creating: portmidi/pm_common/
inflating: portmidi/pm_common/CMakeLists.txt
inflating: portmidi/pm_common/pminternal.h
inflating: portmidi/pm_common/pmjni.vcproj
inflating: portmidi/pm_common/pmutil.c
inflating: portmidi/pm_common/pmutil.h
inflating: portmidi/pm_common/portmidi-dynamic.vcproj
inflating: portmidi/pm_common/portmidi-static.vcproj
inflating: portmidi/pm_common/portmidi.c
inflating: portmidi/pm_common/portmidi.h
creating: portmidi/pm_csharp/
creating: portmidi/pm_csharp/pm_managed/
inflating: portmidi/pm_csharp/pm_managed/app.ico
inflating: portmidi/pm_csharp/pm_managed/app.rc
inflating: portmidi/pm_csharp/pm_managed/AssemblyInfo.cpp
inflating: portmidi/pm_csharp/pm_managed/pm_managed.cpp
inflating: portmidi/pm_csharp/pm_managed/pm_managed.h
inflating: portmidi/pm_csharp/pm_managed/pm_managed.vcproj
inflating: portmidi/pm_csharp/pm_managed/ReadMe.txt
inflating: portmidi/pm_csharp/pm_managed/resource.h
inflating: portmidi/pm_csharp/pm_managed/Stdafx.cpp
inflating: portmidi/pm_csharp/pm_managed/Stdafx.h
inflating: portmidi/pm_csharp/README.txt
creating: portmidi/pm_dylib/
inflating: portmidi/pm_dylib/CMakeLists.txt
inflating: portmidi/pm_dylib/portmidi-dynamic.vcproj
inflating: portmidi/pm_dylib/README.txt
creating: portmidi/pm_java/
inflating: portmidi/pm_java/CMakeLists.txt
inflating: portmidi/pm_java/JavaExe.exe
creating: portmidi/pm_java/jportmidi/
inflating: portmidi/pm_java/jportmidi/JPortMidi.java
inflating: portmidi/pm_java/jportmidi/JPortMidiApi.java
inflating: portmidi/pm_java/jportmidi/JPortMidiException.java
inflating: portmidi/pm_java/mac-make.sh
inflating: portmidi/pm_java/make.bat
creating: portmidi/pm_java/pmdefaults/
inflating: portmidi/pm_java/pmdefaults/manifest.txt
inflating: portmidi/pm_java/pmdefaults/pmdefaults
inflating: portmidi/pm_java/pmdefaults/pmdefaults-icon.bmp
inflating: portmidi/pm_java/pmdefaults/pmdefaults-icon.gif
extracting: portmidi/pm_java/pmdefaults/pmdefaults-icon.png
inflating: portmidi/pm_java/pmdefaults/pmdefaults-icon.xcf
inflating: portmidi/pm_java/pmdefaults/pmdefaults-license.txt
inflating: portmidi/pm_java/pmdefaults/pmdefaults.icns
inflating: portmidi/pm_java/pmdefaults/pmdefaults.ico
inflating: portmidi/pm_java/pmdefaults/PmDefaults.java
inflating: portmidi/pm_java/pmdefaults/PmDefaultsFrame.java
extracting: portmidi/pm_java/pmdefaults/portmusic_logo.png
inflating: portmidi/pm_java/pmdefaults/readme-win32.txt
inflating: portmidi/pm_java/pmdefaults/README.txt
inflating: portmidi/pm_java/pmdefaults-setup-script.iss
creating: portmidi/pm_java/pmjni/
inflating: portmidi/pm_java/pmjni/jportmidi_JportMidiApi.h
inflating: portmidi/pm_java/pmjni/pmjni-VC8.vcproj
inflating: portmidi/pm_java/pmjni/pmjni.c
inflating: portmidi/pm_java/pmjni/pmjni.rc
inflating: portmidi/pm_java/README.txt
creating: portmidi/pm_java/setup/
inflating: portmidi/pm_java/setup/pmdefaults-setup.exe
inflating: portmidi/pm_java/UpdateRsrcJavaExe.exe
creating: portmidi/pm_linux/
inflating: portmidi/pm_linux/finddefault.c
inflating: portmidi/pm_linux/Makefile
inflating: portmidi/pm_linux/pmlinux.c
inflating: portmidi/pm_linux/pmlinux.h
inflating: portmidi/pm_linux/pmlinuxalsa.c
inflating: portmidi/pm_linux/pmlinuxalsa.h
inflating: portmidi/pm_linux/README_LINUX.txt
creating: portmidi/pm_mac/
inflating: portmidi/pm_mac/clean_up_project.awk
inflating: portmidi/pm_mac/clean_up_project.sh
inflating: portmidi/pm_mac/finddefault.c
inflating: portmidi/pm_mac/Makefile.osx
creating: portmidi/pm_mac/pm_mac.xcodeproj/
inflating: portmidi/pm_mac/pm_mac.xcodeproj/project.pbxproj
inflating: portmidi/pm_mac/pmmac.c
inflating: portmidi/pm_mac/pmmac.h
inflating: portmidi/pm_mac/pmmacosxcm.c
inflating: portmidi/pm_mac/pmmacosxcm.h
inflating: portmidi/pm_mac/readbinaryplist.c
inflating: portmidi/pm_mac/readbinaryplist.h
inflating: portmidi/pm_mac/README_MAC.txt
creating: portmidi/pm_mingw/
creating: portmidi/pm_mingw/eclipse/
inflating: portmidi/pm_mingw/eclipse/dot-cproject
inflating: portmidi/pm_mingw/eclipse/dot-project
inflating: portmidi/pm_mingw/eclipse/README.txt
creating: portmidi/pm_mingw/msys/
inflating: portmidi/pm_mingw/msys/README.txt
inflating: portmidi/pm_mingw/msys/SConstruct
creating: portmidi/pm_python/
inflating: portmidi/pm_python/build26.sh
inflating: portmidi/pm_python/build31.bat
inflating: portmidi/pm_python/hints.txt
creating: portmidi/pm_python/macpypm/
creating: portmidi/pm_python/macpypm/macpypm.xcodeproj/
inflating: portmidi/pm_python/macpypm/macpypm.xcodeproj/project.pbxproj
inflating: portmidi/pm_python/miniTest.py
inflating: portmidi/pm_python/pypm.c
inflating: portmidi/pm_python/pypm.py
inflating: portmidi/pm_python/pypm.pyx
inflating: portmidi/pm_python/pypmbase.c
inflating: portmidi/pm_python/pypmbase.i
inflating: portmidi/pm_python/README.txt
inflating: portmidi/pm_python/README26.txt
inflating: portmidi/pm_python/README31.txt
creating: portmidi/pm_python/scripts-2.6/
inflating: portmidi/pm_python/scripts-2.6/README.TXT
inflating: portmidi/pm_python/scripts-2.6/test.py
inflating: portmidi/pm_python/setup.py
inflating: portmidi/pm_python/test.py
inflating: portmidi/pm_python/test31.py
creating: portmidi/pm_test/
inflating: portmidi/pm_test/CMakeLists.txt
inflating: portmidi/pm_test/latency.c
inflating: portmidi/pm_test/latency.vcproj
inflating: portmidi/pm_test/midiclock.c
inflating: portmidi/pm_test/midiclock.vcproj
inflating: portmidi/pm_test/midithread.c
inflating: portmidi/pm_test/midithread.vcproj
inflating: portmidi/pm_test/midithru.c
inflating: portmidi/pm_test/midithru.vcproj
inflating: portmidi/pm_test/mm.c
inflating: portmidi/pm_test/mm.vcproj
inflating: portmidi/pm_test/qtest.c
inflating: portmidi/pm_test/qtest.vcproj
inflating: portmidi/pm_test/sysex.c
inflating: portmidi/pm_test/sysex.vcproj
inflating: portmidi/pm_test/test.c
inflating: portmidi/pm_test/test.vcproj
inflating: portmidi/pm_test/txdata.syx
creating: portmidi/pm_win/
inflating: portmidi/pm_win/clean_up_vcproj.awk
inflating: portmidi/pm_win/clean_up_vcproj.bat
inflating: portmidi/pm_win/debugging_dlls.txt
inflating: portmidi/pm_win/pmwin.c
inflating: portmidi/pm_win/pmwinmm.c
inflating: portmidi/pm_win/pmwinmm.h
inflating: portmidi/pm_win/README_WIN.txt
inflating: portmidi/portmidi.sln
creating: portmidi/portmidi.xcodeproj/
inflating: portmidi/portmidi.xcodeproj/project.pbxproj
extracting: portmidi/portmidi_cdt.zip
extracting: portmidi/portmusic_logo.png
creating: portmidi/porttime/
inflating: portmidi/porttime/porttime-VC8.vcproj
inflating: portmidi/porttime/porttime.c
inflating: portmidi/porttime/porttime.dsp
inflating: portmidi/porttime/porttime.h
inflating: portmidi/porttime/porttime.vcproj
inflating: portmidi/porttime/ptlinux.c
inflating: portmidi/porttime/ptmacosx_cf.c
inflating: portmidi/porttime/ptmacosx_mach.c
inflating: portmidi/porttime/ptwinmm.c
inflating: portmidi/README.txt
inflating: portmidi/ZERO_CHECK.vcproj
==> make -f pm_mac/Makefile.osx
make -f pm_mac/Makefile.osx
rm -f CMakeCache.txt
mkdir -p Release
cd Release; cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is Clang 3.1.0
-- The CXX compiler identification is Clang 3.1.0
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
-- Check for working C compiler: /usr/bin/clang
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
-- Detecting C compiler ABI info - done
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
-- Check for working CXX compiler: /usr/bin/clang++
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
-- Detecting CXX compiler ABI info - done
-- SYSROOT: /SDKs/MacOSX10.7.sdk
-- DEFAULT_DEBUG_FLAGS not nil: -g
-- SYSROOT: /SDKs/MacOSX10.7.sdk
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/homebrew-portmidi-200-1aRH/portmidi/Release
cd Release; make
Scanning dependencies of target portmidi-dynamic
Scanning dependencies of target portmidi-static
Scanning dependencies of target pmjni
[ 10%] [ 10%] [ 13%] [ 13%] Building C object pm_common/CMakeFiles/pmjni.dir/__/pm_mac/pmmacosxcm.c.o
Building C object pm_common/CMakeFiles/portmidi-static.dir/__/pm_mac/pmmac.c.o
Building C object pm_common/CMakeFiles/portmidi-static.dir/__/pm_mac/pmmacosxcm.c.o
Building C object pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/pm_mac/pmmacosxcm.c.o
[ 16%] Building C object pm_common/CMakeFiles/portmidi-static.dir/__/pm_mac/readbinaryplist.c.o
/tmp/homebrew-portmidi-200-1aRH/portmidi/pm_mac/readbinaryplist.c:81:10: fatal error:
'Folders.h' file not found
#include "Folders.h"
^
1 error generated.
make[3]: *** [pm_common/CMakeFiles/portmidi-static.dir/__/pm_mac/readbinaryplist.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 20%] Building C object pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/pm_mac/pmmac.c.o
[ 23%] Building C object pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/pm_mac/readbinaryplist.c.o
/tmp/homebrew-portmidi-200-1aRH/portmidi/pm_mac/readbinaryplist.c:81:10: fatal error:
'Folders.h' file not found
#include "Folders.h"
^
1 error generated.
make[3]: *** [pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/pm_mac/readbinaryplist.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 26%] Building C object pm_common/CMakeFiles/pmjni.dir/__/pm_mac/pmmac.c.o
[ 30%] Building C object pm_common/CMakeFiles/pmjni.dir/__/pm_mac/readbinaryplist.c.o
/tmp/homebrew-portmidi-200-1aRH/portmidi/pm_mac/readbinaryplist.c:81:10: fatal error:
'Folders.h' file not found
#include "Folders.h"
^
1 error generated.
make[3]: *** [pm_common/CMakeFiles/pmjni.dir/__/pm_mac/readbinaryplist.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [pm_dylib/CMakeFiles/portmidi-dynamic.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [pm_common/CMakeFiles/portmidi-static.dir/all] Error 2
make[2]: *** [pm_common/CMakeFiles/pmjni.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/portmidi.rb#L24
==> Build Environment
CPU: quad-core 64-bit dunno
OS X: 10.7.4-x86_64
Xcode: 4.3 (guessed)
X11: @ /usr/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.7
MAKEFLAGS: -j4
Error: Failed executing: make -f pm_mac/Makefile.osx (portmidi.rb:24)
If `brew doctor` does not, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
Thomass-MacBook-Air:~ tomb$ brew --config
HOMEBREW_VERSION: 0.9.1
HEAD: fb95097c314ed08531ce320028bfdc8aa24b3def
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit dunno
OS X: 10.7.4-x86_64
Xcode: 4.3 (guessed)
CLT: 4.3.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11: @ /usr/X11
System Ruby: 1.8.7-357
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /Users/tomb/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
Thomass-MacBook-Air:~ tomb$ brew doctor
Error: Experimental support for using the "Command Line Tools" without Xcode.
Some formulae need Xcode to be installed (for the Frameworks not in the CLT.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment