Ticket #375 (closed defect: invalid)
target bindir should added to the build tool search path
|Reported by:||guest||Owned by:|
|Cc:||Difficulty:||easy (<4 hours)|
Description (last modified by guest) (diff)
I'm trying to install happy because cabal-install fails to upgrade all my packages. Below is my log. Any ideas? Thanks!
$ cabal --version cabal-install version 0.5.2 using version 220.127.116.11 of the Cabal library $ cabal upgrade Resolving dependencies... 'haskell-src-18.104.22.168' is cached. Configuring haskell-src-22.214.171.124... Preprocessing library haskell-src-126.96.36.199... cabal: The program happy is required but it could not be found cabal: Error: some packages failed to install: haskell-src-188.8.131.52 failed during the building phase. The exception was: exit: ExitFailure 1 $ cabal install happy Resolving dependencies... 'happy-1.18.1' is cached. [1 of 1] Compiling Main ( /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/Setup.lhs, /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/dist/setup/Main.o ) Linking /var/folders/s-/s-WdqsnuGFyUGEeXB-+sZk+++TI/-Tmp-/TMPhappy-1.18.1/happy-1.18.1/dist/setup/setup ... Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.18.1... Preprocessing executables for happy-1.18.1... setup: The program happy is required but it could not be found cabal: Error: some packages failed to install: happy-1.18.1 failed during the building phase. The exception was: exit: ExitFailure 1