Don Stewart | 12 Oct 03:42
Gravatar

Congrats. to wxHaskell

I just want to congratulate the wxHaskell team on their new release.
With GHC 6.10 RC, cabal 1.6, and cabal-install 0.6, I was able to
simply,

    cabal install wxcore wx

And it all worked. 

Well done!

-- Don
Gianfranco Alongi | 12 Oct 20:05

Re: Congrats. to wxHaskell

Is it crash / bug -free?
I know this has been a big issue with WxHaskell, something that made me use HGL.

On Sun, Oct 12, 2008 at 3:45 AM, Don Stewart <dons <at> galois.com> wrote:
> I just want to congratulate the wxHaskell team on their new release.
> With GHC 6.10 RC, cabal 1.6, and cabal-install 0.6, I was able to
> simply,
>
>    cabal install wxcore wx
>
> And it all worked.
>
> Well done!
>
> -- Don
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe <at> haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>

--

-- 
Patience is the last resort for those unable to take action
Henk-Jan van Tuyl | 14 Oct 00:53

Re: Congrats. to wxHaskell

On Sun, 12 Oct 2008 03:45:17 +0200, Don Stewart <dons <at> galois.com> wrote:

> I just want to congratulate the wxHaskell team on their new release.
> With GHC 6.10 RC, cabal 1.6, and cabal-install 0.6, I was able to
> simply,
>
>     cabal install wxcore wx
>
> And it all worked.
>
> Well done!
>
> -- Don

I wish it were all that simple to me, but it turned out to be another
session of eternal yak-shaving for me. My fault I suspect, I should have
known better then to buy a Windows computer.

I downloaded wxWindows 2.8.9 and tried to build it with the supplied  
makefile as
suggested in the installation manual (I have MinGW and MSSY installed):
       make -f makefile.gcc BUILD=debug
but makefile.gcc contains serious bugs.

I then continued to build according to the build instructions on
http://www.haskell.org/haskellwiki/WxHaskell/Building#building_wxWidgets_on_Windows
but these instructions specifically state the contrib should be built and
the first command to do this failed: cd contrib/src, because there is no
such directory 'contrib'.

(Continue reading)

Jeremy O'Donoghue | 14 Oct 10:41

Re: Congrats. to wxHaskell

Hi Henk-Jan,

I fear that I may not be able to help as much as I would like, but I
did want to give a few pointers, specifically for building wxWidgets
correctly.

On Tue, 14 Oct 2008 00:53:57 +0200, "Henk-Jan van Tuyl"
<hjgtuyl <at> chello.nl> said:
>
[snip congrats from Dons - pleasing though they are :-)]
> 
> I wish it were all that simple to me, but it turned out to be another
> session of eternal yak-shaving for me. My fault I suspect, I should have
> known better then to buy a Windows computer.
> 
> I downloaded wxWindows 2.8.9 and tried to build it with the supplied  
> makefile as
> suggested in the installation manual (I have MinGW and MSSY installed):
>        make -f makefile.gcc BUILD=debug
> but makefile.gcc contains serious bugs.

The hardest part of building wxHaskell, paradoxically, is building
wxWidgets,
which is far from trivial, as there are a very large number of options.

I build for Windows using MS Visual Studio, so I can't help specifically
(and
I believe that other maintainers also use VS on Windows), but the
following
may help:
(Continue reading)

shelarcy | 14 Oct 11:54

Re: [Haskell-cafe] Congrats. to wxHaskell

Hi Henk-Jan,

On Tue, 14 Oct 2008 07:53:57 +0900, Henk-Jan van Tuyl <hjgtuyl <at> chello.nl> wrote:
> I downloaded wxWindows 2.8.9 and tried to build it with the supplied
> makefile as
> suggested in the installation manual (I have MinGW and MSSY installed):
>
> (snip)
>
> Trying to install wxHaskell:
>> cabal install --global wx
> [...]
> install: /usr/local/lib/wxcore.o
> install directory: /usr/local/lib/
> install: /usr/local/lib/wxcore.pkg
> cat config/wxcore.pkg | sed -e "s|\${wxhlibdir}|/usr/local/lib|" | ghc-pkg
> update -
> Reading package info from stdin ... done.
> ghc-pkg.exe: /usr/local/lib/imports doesn't exist or isn't a directory
> (use --force to override)
> "make": *** [wxcore-register] Error 1
> cabal: Error: some packages failed to install:
> wx-0.10.5 depends on wxcore-0.10.5 which failed to install.
> wxcore-0.10.5 failed during the final install step. The exception was:
> exit: ExitFailure 2

wxHaskell requires to use cygwin when building on Windows currently. 
Because Cabal doesn't support binary distribution yet. If you want to
build wxHaskell yourself on Windows, you must install cygwin.

(Continue reading)

shelarcy | 14 Oct 12:01

Re: [Haskell-cafe] Congrats. to wxHaskell

On Tue, 14 Oct 2008 18:54:45 +0900, shelarcy <shelarcy <at> gmail.com> wrote:
> wxHaskell requires to use cygwin when building on Windows currently.
> Because Cabal doesn't support binary distribution yet.

And there is a lot of incompatibility between cygwin and MSYS. We
don't care about that now.

> If you want to
> build wxHaskell yourself on Windows, you must install cygwin.
>
> http://www.haskell.org/haskellwiki/WxHaskell/Cygwin

--

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/

Gmane