[Haskell-cafe] Different results when building wxHaskell on Cabal and Stack
michael at snoyman.com
Sun Jun 4 15:17:09 UTC 2017
It's impossible to say why the results are different in this case without
more information. For example:
* Where did you install wxWidgets?
* How did you modify PATH? Did you modify any other env vars?
* How did you install Cabal and GHC?
* How are you setting env vars? Are you sure Stack is seeing the same
values as cabal?
* Are you using the same versions of libraries and compilers with Stack and
* What error message are you seeing?
I can't say that I've personally installed wxWidgets recently (on any OS
actually), so I don't have personal experience to back it up. But with
other libraries (like libicu), I've found that the easiest thing with Stack
is to use msys2 and pacman to install the system libraries. As an example,
see this tweet.
On Sun, Jun 4, 2017 at 4:03 PM, Yotam Ohad <yotam2206 at gmail.com> wrote:
> Hello cafe,
> Lately, I wanted to try wxHaskell, so I downloaded and install wxWidgets
> and added the necessary paths to %PATH%. The problem was that when trying
> to build, cabal would have no problem at all, while stack sends me into
> battle with my path, complaining about missing header and executable files
> and so on.
> I don't understand why stack is having such a hard time when cabal has no
> trouble at all. I know that they are not the same, but I still think that
> it is weird that stack is acting like that.
> Thanks for your help,
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe