Skip to content

Instantly share code, notes, and snippets.

@cartazio
Created February 2, 2014 03:34
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 cartazio/8762662 to your computer and use it in GitHub Desktop.
Save cartazio/8762662 to your computer and use it in GitHub Desktop.
arter Desktop/repoScratcher » cabal install glfw --ghc-options="-pgma clang -pgmc clang -pgml clang"
Resolving dependencies...
Configuring GLFW-0.5.2.0...
Building GLFW-0.5.2.0...
Failed to install GLFW-0.5.2.0
Last 10 lines of the build log ( /Users/carter/.cabal/logs/GLFW-0.5.2.0.log ):
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/init.c -o glfw/lib/init.s
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/input.c -o glfw/lib/input.s
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/joystick.c -o glfw/lib/joystick.s
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/stream.c -o glfw/lib/stream.s
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/tga.c -o glfw/lib/tga.s
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/thread.c -o glfw/lib/thread.s
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/time.c -o glfw/lib/time.s
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/window.c -o glfw/lib/window.s
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/cocoa/cocoa_enable.m -o glfw/lib/cocoa/cocoa_enable.s
gcc-4.8: error: glfw/lib/cocoa/cocoa_enable.m: Objective-C compiler not installed on this system
cabal: Error: some packages failed to install:
GLFW-0.5.2.0 failed during the building phase. The exception was:
ExitFailure 1
carter Desktop/repoS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment