[Haskell-cafe] cabal-install sandbox with happy and alex
allbery.b at gmail.com
Thu Oct 31 23:34:25 UTC 2013
On Thu, Oct 31, 2013 at 1:18 PM, Erik de Castro Lopo
<mle+hs at mega-nerd.com>wrote:
> Badi' Abdul-Wahid wrote:
> > I've run into difficulty building happy and alex using the sandbox
> > of cabal-install 220.127.116.11.
> > Installation of dependencies succeeds but both happy and alex fail with:
> > setup: The program happy is required but it could not be found
> > My workaround is to use the --only-dependencies flag, install the
> > dependencies, and manually install the packages.
> I've run into this problem myself on Linux. My solution is to install
> ghc, happy, alex, hlint and cabal-install from debian packages and
> everything else using cabal install (either with or without using
At a guess, both of you need to find the bin directory created *in the
sandbox* and add it to $PATH while working in the sandbox. Perhaps there is
some better way for cabal sandboxes to handle this automatically.
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe