[Haskell-cafe] Trying to install hpodder on OS X Lion
I'd really like to get hpodder installed on OS X Lion, I can't find it packaged anywhere (macports, homebrew...) Has anyone got it working? I have the haskell platform installed from the pkg file from haskell.org: http://hackage.haskell.org/platform/mac.html So I tried `cabal install hpodder` but it failed. First I get a lot of warnings like: ld: warning: text reloc in _cZh_str to _stg_ap_pp_fast ld: warning: text reloc in _cZh_str to _stg_ap_p_fast ld: warning: text reloc in _cZh_str to _stg_ap__fast ld: warning: text reloc in _cZh_str to _stg_ap_pppv_fast ld: warning: text reloc in _cZh_str to _stg_ap_ppp_fast ld: warning: text reloc in _cZh_str to _stg_ap_ppv_fast ld: warning: text reloc in _cZh_str to _stg_ap_pp_fast ld: warning: text reloc in _cZh_str to _stg_ap_pv_fast ld: warning: text reloc in _cZh_str to _stg_ap_p_fast ld: warning: text reloc in _cZh_str to _stg_ap_n_fast ld: warning: text reloc in _cZh_str to _stg_ap_l_fast ld: warning: text reloc in _cZh_str to _stg_ap_d_fast ld: warning: text reloc in _cZh_str to _stg_ap_f_fast ld: warning: text reloc in _cZh_str to _stg_ap_v_fast ld: warning: text reloc in _cZh_str to _stg_ap_pp_info I get each of those warnings many times in a row. There are some other warning when compiling things as well. Then I eventually get: cabal: Error: some packages failed to install: hpodder-1.1.5 failed during the building phase. The exception was: ExitFailure 1 Here's the error from the compiler before that: Commands/SetStatus.hs:59:33: Ambiguous type variable `e0' in the constraint: (E.Exception e0) arising from a use of `E.catch' Probable fix: add a type signature that fixes these type variable(s) In the expression: E.catch (E.evaluate (read x)) (\ _ - fail $ Invalid status supplied; use one of: ++ possibleStatuses) In a case alternative: Just x - E.catch (E.evaluate (read x)) (\ _ - fail $ Invalid status supplied; use one of: ++ possibleStatuses) In a stmt of a 'do' expression: newstatus - case lookup status args of { Just x - E.catch (E.evaluate (read x)) (\ _ - fail $ Invalid status supplied; use one of: ++ possibleStatuses) Nothing - fail setstatus: --status required; see hpodder setstatus --help } ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Trying to install hpodder on OS X Lion
On Fri, Oct 21, 2011 at 9:32 AM, seanh snh...@gmail.com wrote: I'd really like to get hpodder installed on OS X Lion, I can't find it packaged anywhere (macports, homebrew...) Has anyone got it working? I have the haskell platform installed from the pkg file from haskell.org: http://hackage.haskell.org/platform/mac.html So I tried `cabal install hpodder` but it failed. First I get a lot of warnings like: SNIP I don't know much about these, but they are unrelated to the error bellow. Here's the error from the compiler before that: Commands/SetStatus.hs:59:33: Ambiguous type variable `e0' in the constraint: (E.Exception e0) arising from a use of `E.catch' Probable fix: add a type signature that fixes these type variable(s) SNIP The exceptions API changed in GHC 6.10, and the 'hpodder' package on hackage hasn't been updated to accommodate those changes. It looks like the version up on github should no longer have this error: https://github.com/jgoerzen/hpodder It may have other errors, though - I haven't tried it :-) Antoine ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Trying to install hpodder on OS X Lion
On 21 October 2011 17:20, Antoine Latter aslat...@gmail.com wrote: The exceptions API changed in GHC 6.10, and the 'hpodder' package on hackage hasn't been updated to accommodate those changes. It looks like the version up on github should no longer have this error: https://github.com/jgoerzen/hpodder It may have other errors, though - I haven't tried it :-) Thanks. Any advice on how to install it from source? I'm not familiar with haskell stuff, and the instructions are missing: https://github.com/jgoerzen/hpodder/blob/master/INSTALL ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Trying to install hpodder on OS X Lion
On Fri, Oct 21, 2011 at 10:33 AM, seanh snh...@gmail.com wrote: On 21 October 2011 17:20, Antoine Latter aslat...@gmail.com wrote: The exceptions API changed in GHC 6.10, and the 'hpodder' package on hackage hasn't been updated to accommodate those changes. It looks like the version up on github should no longer have this error: https://github.com/jgoerzen/hpodder It may have other errors, though - I haven't tried it :-) Thanks. Any advice on how to install it from source? I'm not familiar with haskell stuff, and the instructions are missing: https://github.com/jgoerzen/hpodder/blob/master/INSTALL The standard way is to type cabal install in a directory which contains a '.cabal' file. Antoine ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe