[Haskell-beginners] wxHaskell install errors

carlos gomez carliros.g at gmail.com
Wed Jun 6 18:38:37 CEST 2012


Is your wx-config working ?
You can try:  *wx-config –help*

If not, try with another, you can use these ones:

-   download from https://sites.google.com/site/wxconfig/sourcecode
    and compile with g++ wx-config.cpp -o wx-config.exe
-   or download directly the .exe from
http://sourceforge.net/projects/wxhaskell/files/wx-config-win/

Regards,
Carlos Gomez

On 5 June 2012 16:23, Gregory Guthrie <guthrie at mum.edu> wrote:

> I had all of the wxHaskell programs installed and working fine, but now
> with an update to Haskell Platform and thus also ghci, I need to upgrade
> all of them (the previously working programs fail) requiring an update for
> the underlying wxWidgets from 2.8 to 2.9 versions.
>
> I downloaded and built wxWidgets 2.9, since the current wxHaskell
> libraries require it (I couldn't find any existing binaries online).
> The compile seemed to be successful, but when I then try to use it from
> the wxHaskell programs I get an error that I don't know how to fix:
>
> C: >cabal install wx
> Resolving dependencies...
> [1 of 1] Compiling Main             (
> C:\Users\guthrie\AppData\Local\Temp\wxc-0.
> 90.0.3-7324\wxc-0.90.0.3\Setup.hs,
> C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.
> 0.3-7324\wxc-0.90.0.3\dist\setup\Main.o ) Linking
> C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-7324\wxc-0.90.0.3\dist\
> setup\setup.exe ...
> Configuring wxc-0.90.0.3...
> Configuring wxc to build against wxWidgets 2.9
>
> setup.exe: Missing dependencies on foreign libraries:
> * Missing C libraries: wxmsw29ud_all, wxtiffd, wxjpegd, wxpngd,
> wxzlibd,wxregexud, wxexpatd, wxregexud 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.
> cabal: Error: some packages failed to install:
> wx-0.90.0.1 depends on wxc-0.90.0.3 which failed to install.
> wxc-0.90.0.3 failed during the configure step. The exception was:
> ExitFailure 1
> wxcore-0.90.0.1 depends on wxc-0.90.0.3 which failed to install.
>
>
> _______________________________________________
> 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/5f3a5106/attachment.htm>


More information about the Beginners mailing list