[Haskell-cafe] problems with HOC install from svn

Ross Mellgren rmm-haskell at z.odi.ac
Tue Sep 8 20:35:54 EDT 2009


It sounds like it's looking for the binary package -- you should  
install it using cabal, e.g.

private (per-user) install:
cabal update
cabal install binary

global (system-wide) install:
sudo cabal update
sudo cabal install --global binary

-Ross

On Sep 8, 2009, at 7:57 PM, John Velman wrote:

> I'm unable to build HOC from the svn read-only checkout.  Here are  
> some
> details of what I'm doing.
>
> I'm running OS X 10.5.8 on an intel iMac with Xcode is 3.1.3.
>
> Haskel and Cabal are from the Haskel platform,
> haskell-platform-2009.2.0.2-i386.dmg
>
> I got Parsec 3.0 from Hackage.
>
> I checked out HOC using the svn command at
> http://code.google.com/p/hoc/source/checkout
>
> and checked out revision 411.
>
> Configure goes OK except for the complaint:
> ----
> Setup.hs:1:0:
>    Warning: In the use of `defaultUserHooks'
>             (imported from Distribution.Simple):
>             Deprecated: "Use simpleUserHooks or autoconfUserHooks,  
> unless you need Cabal-1.2
>             compatibility in which case you must stick with  
> defaultUserHooks"
> ----
>
> But when I try to build, I get, after a bunch of apparently successful
> things:
> -----------
> Loading package binary-0.5.0.1 ... <command line>: can't  
> load .so/.DLL for: HSbinary-0.5.0.1 (dlopen 
> (libHSbinary-0.5.0.1.dylib, 9): image not found)
> -----------
>
> I certainly can't find libHSbinary... of any version on my computer,  
> dylib
> or not.  Tried looking in the /Library/Frameworks/GHC.Framework  
> stuff, also
> did a find . -iname "*libHS* and found libHSGLFW...,  
> libHSparsec-3.0.0.
>
> (also tried this in my home directory).
>
> What is this, and how do I get it?
>
> Best,
>
> John Velman
>
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list