[Haskell-beginners] wxHaskell install errors

carlos gomez carliros.g at gmail.com
Wed Jun 6 20:19:18 CEST 2012


First, you should make sure for yourself that wxWidgets 2.9 is well
installed, for that you can try to build the wxwidgets' examples

cd c:\wx\samples\minimal
mingw32-make -f makefile.gcc BUILD=debug

Then, I can think that it is just a problem of configuring and installing
wxhaskell.

For the paths you have to set, probably the wxc is not installed on your pc
yet, and probably that's why you couldn't find. But you should follow the
way setting those paths and put the right versions of the libraries you are
installing.

Best wishes, Carlos Gomez

On 6 June 2012 12:52, Gregory Guthrie <guthrie at mum.edu> wrote:

> No, I am not sure of this - I followed the instructions at:
>
> http://www.haskell.org/haskellwiki/WxHaskell/Windows#wxWidgets_2.9_and_wxHaskell_0.90.x
>
> The describe the "install" as the wxWidgets install of source code, and
> then how to compile it, and then just to do cabal installs, which is what
> is failing.
>
> The cabal install error describes some configuration options, but I don't
> know where or how they are intended to be used.
>      This problem can usually be solved by installing the system packages
> that
>     provide these libraries (you may need the "-dev" versions). If the
> libraries
>     are already installed but in a non-standard location then you can use
> the
>     flags --extra-include-dirs= and --extra-lib-dirs= to specify where
> they are.
>
> I see in my cabal directory that it has files :
>  Wx-0.12.1.6,
>  Wxcore-0.12.1.7
>  Wxdirect-0.12.1.4
>  Wxdirect-0.90.0.1
>
> I also notice that these instructions require a bunch of PATH fiddling
> that I never had to do before for wxWidgets /wxHaskell 2.8.
> Also that it asks to install a path pointer to the cabal directory to
> \wxc-%WXC_VERSION%\%GHC_VERSION% which file does not exist on my system.  ??
>
> > -----Original Message-----
> > Subject: Re: [Haskell-beginners] wxHaskell install errors
> > To: beginners at haskell.org
> > > C: >cabal install wx
> > > Resolving dependencies...
> ...
> > > setup\setup.exe ...
> > > Configuring wxc-0.90.0.3...
> > > Configuring wxc to build against wxWidgets 2.9
> > >
> > > setup.exe: Missing dependencies on foreign libraries:
> ...
> > Are you sure that you installed wxWidgets 2.9 and didn't just compile it
> from source? It
> > looks like cabal can't find the wxWidgets libraries on your system.
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120606/54744f95/attachment.htm>


More information about the Beginners mailing list