Hello,

Your version of ghc is too old. Please consider update it.
The catch was moved from one module to the other.
It's considered as a bug that was fixed.

I have installed it on ghc-7.6.3 and now on ghc-7.8.3.

Anton

PS . The catch is usefull for windows users to stop program with Ctrl+C.


2014-11-02 22:56 GMT+04:00 L_y_su_c <masinstrumentosmusica...@gmail.com>:

> When i try to install csound-expression, this error occurred:
>
> [15 of 23] Compiling Csound.IO        ( src/Csound/IO.hs,
> dist/build/Csound/IO.o )
>
> src/Csound/IO.hs:229:5:
>     Ambiguous occurrence `catch'
>     It could refer to either `Prelude.catch',
>                              imported from `Prelude' at
> src/Csound/IO.hs:23:8-16
>                              (and originally defined in `System.IO.Error')
>                           or `Control.Exception.catch',
>                              imported from `Control.Exception' at
> src/Csound/IO.hs:42:1-24
>                              (and originally defined in
> `Control.Exception.Base')
> cabal: Error: some packages failed to install:
> csound-expression-4.1.0 failed during the building phase. The exception
> was:
> ExitFailure 1
>
> Do you know why this happen?
> Thanks
>
> --
>
> Read the whole topic here: Haskell Art:
> http://lurk.org/r/topic/4qPveVVHRd4TBCmE3icIef
>
> To leave Haskell Art, email haskell-...@group.lurk.org with the following
> email subject: unsubscribe
>

-- 

Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/1i1AieRHQvFVfbihSR3WV6

To leave Haskell Art, email haskell-...@group.lurk.org with the following email 
subject: unsubscribe

Reply via email to