[Haskell-cafe] problems with HOC install from svn
Ross Mellgren
rmm-haskell at z.odi.ac
Tue Sep 8 23:44:36 EDT 2009
I have binary-0.5 not binary-0.5.0.1, but it doesn't have any dylibs.
Moreover, I was under the impression that GHC does not yet support
shared libraries like those, so I'm not sure why it would be looking
for one. I can't really speculate, maybe more of the build output
might help?
-Ross
On Sep 8, 2009, at 10:54 PM, John Velman wrote:
>
> Thanks. Now I do have libHSbinary-0.5.0.1.a in /usr/local/lib,
> but apparently not the dylib version. Tomorrow I'll look further.
> Perhaps there are some options to produce dylib libraries. I've used
> Haskell on Linux some time ago (but not Cabal), and have been
> Xcoding with
> Objective C for a year or so now, but never tried this before. I am
> interested in HOC, but I've obviously got a lot to learn.
>
> Thanks again,
>
> John Velman
>
>
>
> On Tue, Sep 08, 2009 at 08:35:54PM -0400, Ross Mellgren wrote:
>> 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