Ticket #3798 (closed bug: duplicate)
Problem with wxHaskell
| Reported by: | MNorrish | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 7.2.1 |
| Component: | GHCi | Version: | 7.0.3 |
| Keywords: | Cc: | ||
| Operating System: | Windows | Architecture: | Unknown/Multiple |
| Type of failure: | Other | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description (last modified by igloo) (diff)
Hello.hs is a GUI hello world program I copied and pasted off http://en.wikibooks.org/wiki/Haskell/GUI. I have wxHaskell and ghc, and my attempt to compile it gives
mark@mark-laptop:~/MyCode$ ghc -package wx Hello.hs -o bin Binary: Int64 truncated to fit in 32 bit Int ghc: panic! (the 'impossible' happened) (GHC version 6.10.4 for i386-unknown-linux): Prelude.chr: bad argument
Meanwhile, running it off ghci gives a series of successfully linked and loaded packages, terminating with
Loading package wxdirect-0.12.1.1 ... linking ... done. Loading package wxcore-0.12.1.2 ... <command line>: can't load .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object file: No such file or directory)
(I put type of failure as other because it's a GHC panic and a GHCi failure and probably some other sort of bug too.)
Change History
Note: See
TracTickets for help on using
tickets.
