Haskell source packages in Hackage

Hi guys, I am having an hard time installing the haskell-src and haskell-src-exts packages, since both seem to have problems with happy. I have installed happy 1.18.2 successfully, but it does not seem to be visible (although the happy executable is in my path). I get the errors: $ cabal install haskell-src Resolving dependencies... 'haskell-src-1.0.1.3' is cached. Configuring haskell-src-1.0.1.3... Preprocessing library haskell-src-1.0.1.3... cabal: The program happy is required but it could not be found cabal: Error: some packages failed to install: haskell-src-1.0.1.3 failed during the building phase. The exception was: exit: ExitFailure 1 $ cabal install haskell-src-exts Resolving dependencies... 'haskell-src-exts-0.3.9' is cached. Configuring haskell-src-exts-0.3.9... cabal: happy version >=1.17 is required but it could not be found. cabal: Error: some packages failed to install: haskell-src-exts-0.3.9 failed during the configure step. The exception was: exit: ExitFailure 1 Is this some kind of bug in cabal, or in the packages themselves? Thanks, hugo -- www.di.uminho.pt/~hpacheco

On Mon, 2008-11-10 at 17:08 +0000, Hugo Pacheco wrote:
Hi guys,
I am having an hard time installing the haskell-src and haskell-src-exts packages, since both seem to have problems with happy. I have installed happy 1.18.2 successfully, but it does not seem to be visible (although the happy executable is in my path).
Are you sure the version of happy that is on your $PATH is the version that you just installed? Check: $ happy --version You can run the install with -v and it'll give more details of how it looks for happy and if it cannot find it. Duncan

happy --version
Happy Version 1.18.2 Copyright (c) 1993-1996 Andy Gill, Simon Marlow (c)
1997-2005 Simon Marlow
Thanks,
It is looking by default into /usr/bin for all packages, maybe this should
be changed to the PATH variable, or even all the files under /etc/paths.d in
Mac Os X.
On Tue, Nov 11, 2008 at 12:06 AM, Duncan Coutts wrote: On Mon, 2008-11-10 at 17:08 +0000, Hugo Pacheco wrote: Hi guys, I am having an hard time installing the haskell-src and
haskell-src-exts packages, since both seem to have problems with
happy.
I have installed happy 1.18.2 successfully, but it does not seem to be
visible (although the happy executable is in my path). Are you sure the version of happy that is on your $PATH is the version
that you just installed? Check: $ happy --version You can run the install with -v and it'll give more details of how it
looks for happy and if it cannot find it. Duncan --
www.di.uminho.pt/~hpacheco
participants (2)
-
Duncan Coutts
-
Hugo Pacheco