
Miguel Negrao wrote:
I did:
cabal unpack reactive-banana-wx-0.5.0.0
cd reactive-banana-wx-0.5.0.0/
edited reactive-banana-wx.cabal
cabal install
Resolving dependencies... [1 of 1] Compiling Main ( Setup.hs, dist/setup/Main.o ) Linking ./dist/setup/setup ... ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame Configuring reactive-banana-wx-0.5.0.0... Preprocessing library reactive-banana-wx-0.5.0.0... Preprocessing executables for reactive-banana-wx-0.5.0.0... Building reactive-banana-wx-0.5.0.0... [1 of 1] Compiling Reactive.Banana.WX ( src/Reactive/Banana/WX.hs, dist/build/Reactive/Banana/WX.o ) [1 of 1] Compiling Reactive.Banana.WX ( src/Reactive/Banana/WX.hs, dist/build/Reactive/Banana/WX.p_o ) Registering reactive-banana-wx-0.5.0.0... Creating application bundle directory dist/build/Asteroids.app Copying executable Asteroids into place setup: dist/build/Asteroids/Asteroids: does not exist cabal: Error: some packages failed to install: reactive-banana-wx-0.5.0.0 failed during the building phase. The exception was: ExitFailure 1
Looks like it's an issue with the cabal-macosx package, which will be fixed soon. You probably also want to install the examples, so try cabal install -fbuildExamples instead. The buildExamples flag is also mentioned in the package description. Best regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com