Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. install wxHaskell on osx 10.7 64bit (Miguel Negrao)
2. Re: install wxHaskell on osx 10.7 64bit (Henk-Jan van Tuyl)
3. Re: install wxHaskell on osx 10.7 64bit (Miguel Negrao)
4. Re: install wxHaskell on osx 10.7 64bit (Heinrich Apfelmus)
5. Re: install wxHaskell on osx 10.7 64bit (Miguel Negrao)
6. Re: install wxHaskell on osx 10.7 64bit (Heinrich Apfelmus)
----------------------------------------------------------------------
Message: 1
Date: Sat, 7 Apr 2012 12:35:55 +0100
From: Miguel Negrao <[email protected]>
Subject: [Haskell-beginners] install wxHaskell on osx 10.7 64bit
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252
Hi list,
I?m very Haskell newbie, and I?m trying to install wxHaskell in order to try
out reactive-banana-wx.
What I did so far:
1 ) Installed lastest Haskell platform
2) Installed wxWidgets from source, latest dev version from
http://sourceforge.net/projects/wxwindows/files/2.9.3/wxWidgets-2.9.3.tar.bz2/download
compiled with
../configure --with-osx_cocoa
3 ) darcs get http://darcsden.com/kowey/wxhaskell-osx64-dave
built this one
But then doing 'cabal install reactive-banana-wx? will start installing
wxcore-0.12.1.7 when the step 3) already installed wxcore-0.13.1 and that is
the repository that should have the wxHaskell which works in osx lion.
So is it possible to tell reactive-banana-wx to use wxcore-0.13.1 instead of
wxcore-0.12.1.7 ?
best,
Miguel Negr?o
------------------------------
Message: 2
Date: Sat, 07 Apr 2012 17:32:06 +0200
From: "Henk-Jan van Tuyl" <[email protected]>
Subject: Re: [Haskell-beginners] install wxHaskell on osx 10.7 64bit
To: [email protected], "Miguel Negrao"
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
On Sat, 07 Apr 2012 13:35:55 +0200, Miguel Negrao
<[email protected]> wrote:
> So is it possible to tell reactive-banana-wx to use wxcore-0.13.1
> instead of wxcore-0.12.1.7 ?
Try:
cabal install reactive-banana-wx --constraint=wxcore==0.13.1
Regards,
Henk-Jan van Tuyl
--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
------------------------------
Message: 3
Date: Sat, 7 Apr 2012 21:35:53 +0100
From: Miguel Negrao <[email protected]>
Subject: Re: [Haskell-beginners] install wxHaskell on osx 10.7 64bit
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1
A 07/04/2012, ?s 16:32, Henk-Jan van Tuyl escreveu:
> On Sat, 07 Apr 2012 13:35:55 +0200, Miguel Negrao
> <[email protected]> wrote:
>
>> So is it possible to tell reactive-banana-wx to use wxcore-0.13.1 instead of
>> wxcore-0.12.1.7 ?
>
> Try:
> cabal install reactive-banana-wx --constraint=wxcore==0.13.1
>
> Regards,
> Henk-Jan van Tuyl
>
>
> --
> http://Van.Tuyl.eu/
> http://members.chello.nl/hjgtuyl/tourdemonad.html
> Haskell programming
> --
Then I get:
cabal install reactive-banana-wx --constraint=wxcore==0.13.1
Resolving dependencies...
cabal: cannot configure reactive-banana-wx-0.5.0.0. It requires wxcore
==0.12.1.7
For the dependency on wxcore ==0.12.1.7 there are these packages:
wxcore-0.12.1.7. However none of them are available.
wxcore-0.12.1.7 was excluded because of the top level dependency wxcore
==0.13.1
best,
Miguel Negr?o
------------------------------
Message: 4
Date: Sun, 08 Apr 2012 09:53:38 +0200
From: Heinrich Apfelmus <[email protected]>
Subject: Re: [Haskell-beginners] install wxHaskell on osx 10.7 64bit
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
Miguel Negrao wrote:
>
> Then I get:
>
> cabal install reactive-banana-wx --constraint=wxcore==0.13.1
> Resolving dependencies...
> cabal: cannot configure reactive-banana-wx-0.5.0.0. It requires wxcore
> ==0.12.1.7
> For the dependency on wxcore ==0.12.1.7 there are these packages:
> wxcore-0.12.1.7. However none of them are available.
> wxcore-0.12.1.7 was excluded because of the top level dependency wxcore
> ==0.13.1
I have hardcoded the wxcore==0.12.1.7 constraint in the
reactive-banana-wx package because I didn't take the time to fix my
installation problems with the newer wx package yet.
You can override this by downloading the tarball from hackage and
changing the dependency in reactive-banana-wx.cabal from
build-depends: wxcore == 0.12.2.7
to the version you desire. Same for the wx == .. constraint. Then,
simply type
cabal install
to install from the *.cabal file in your current directory.
Best regards,
Heinrich Apfelmus
--
http://apfelmus.nfshost.com
------------------------------
Message: 5
Date: Sun, 8 Apr 2012 10:26:17 +0100
From: Miguel Negrao <[email protected]>
Subject: Re: [Haskell-beginners] install wxHaskell on osx 10.7 64bit
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1
Hi Heinrich,
A 08/04/2012, ?s 08:53, Heinrich Apfelmus escreveu:
> Miguel Negrao wrote:
>> Then I get:
>> cabal install reactive-banana-wx --constraint=wxcore==0.13.1
>> Resolving dependencies...
>> cabal: cannot configure reactive-banana-wx-0.5.0.0. It requires wxcore
>> ==0.12.1.7
>> For the dependency on wxcore ==0.12.1.7 there are these packages:
>> wxcore-0.12.1.7. However none of them are available.
>> wxcore-0.12.1.7 was excluded because of the top level dependency wxcore
>> ==0.13.1
>
> I have hardcoded the wxcore==0.12.1.7 constraint in the reactive-banana-wx
> package because I didn't take the time to fix my installation problems with
> the newer wx package yet.
>
> You can override this by downloading the tarball from hackage and changing
> the dependency in reactive-banana-wx.cabal from
>
> build-depends: wxcore == 0.12.2.7
>
> to the version you desire. Same for the wx == .. constraint. Then, simply type
>
> cabal install
>
> to install from the *.cabal file in your current directory.
>
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
best,
Miguel Neg?o
------------------------------
Message: 6
Date: Sun, 08 Apr 2012 11:44:24 +0200
From: Heinrich Apfelmus <[email protected]>
Subject: Re: [Haskell-beginners] install wxHaskell on osx 10.7 64bit
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
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
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 46, Issue 9
****************************************