problem installing GLFW-0.4.2 with cabal on mac 10.6

Sönke Hahn soenkehahn at gmail.com
Wed Jan 4 19:49:08 GMT 2012


Hi!

I don't own a Mac and I am currently not using GLFW, but here's my two
cents:

It seems to me that you haven't actually identified the relevant error
message. "ExitFailure 1" is just Haskell-jargon for a sub-process
terminating with error code 1. So cabal-install called something that
returned that error code. That called process should have written an
error message (to stderr, probably). The relevant error message might be
somewhere hidden in the output you omitted. You could re-run "cabal
install GLFW" and try to spot the actual error message. And play around
with the -v option.

HTH,
Sönke


On 01/02/2012 04:32 AM, Paul Draghicescu wrote:
> Hi, I don't know if this is the right place to post this, but I get an
> "ExitFailure1" when I try to install GLFW using the latest version of
> cabal-install on my Mac. I came across this problem while trying to
> build Euterpea. Any help in resolving this is appreciated!
> 
> Thanks,
> - Paul D
> 
> This is what it looks like:
> 
> $ cabal install GLFW
> Resolving dependencies...
> Configuring GLFW-0.4.2...
> Preprocessing library GLFW-0.4.2...
> Building GLFW-0.4.2...
> [1 of 1] Compiling Graphics.UI.GLFW ( Graphics/UI/GLFW.hs,
> dist/build/Graphics/UI/GLFW.o )
> .
> .
> lots of warnings
> .
> .
> glfw/lib/macosx/macosx_window.c:1253:0:
> warning: implicit declaration of function ‘CollapseWindow’
> *** Deleting temp files:
> Deleting:
> /var/folders/Wv/WvfN0HEAFjSMfjQO18n5Rk+++TI/-Tmp-/ghc956_0/ghc956_0.s
> Warning: deleting non-existent
> /var/folders/Wv/WvfN0HEAFjSMfjQO18n5Rk+++TI/-Tmp-/ghc956_0/ghc956_0.s
> *** Deleting temp dirs:
> Deleting: /var/folders/Wv/WvfN0HEAFjSMfjQO18n5Rk+++TI/-Tmp-/ghc956_0
> /usr/bin/ghc returned ExitFailure 1
> World file is already up to date.
> cabal: Error: some packages failed to install:
> GLFW-0.4.2 failed during the building phase. The exception was:
> ExitFailure 1
> 
> 
> Info about the software I'm using:
> 
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.0.4
> $ cabal --version
> cabal-install version 0.10.2
> using version 1.10.2.0 of the Cabal library
> $ sw_vers
> ProductName:Mac OS X
> ProductVersion:10.6.4
> BuildVersion:10F569
> 
> 
> 
> 
> _______________________________________________
> GLFW mailing list
> GLFW at projects.haskell.org
> http://projects.haskell.org/cgi-bin/mailman/listinfo/glfw

-- 
gpg --recv-keys --keyserver hkp://pgp.mit.edu 0x45ED5BE4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://projects.haskell.org/pipermail/glfw/attachments/20120104/fce02c3e/attachment.pgp>


More information about the GLFW mailing list