Hello folks,
Everything has been going beautifully with the latest versions of GHC
6.12, except that anything involving zlib dies at run-time. In ghci:
> :m Codec.Compression.Zlib
> :m +Data.ByteString.Lazy.Char8
> :s -XOverloadedStrings
> compress "hello"
*** Exception: user error (Codec.Compre
I think you installed zlib without proper flags to link with 32-bit
libraries. configuring with ./Setup configure
--with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
See also http://hackage.haskell.org/trac/ghc/ticket/3681.
HTH
-~nwn
On Sun, Nov 29, 2009 at 6:01 AM, Antoine Latte
On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto wrote:
> I think you installed zlib without proper flags to link with 32-bit
> libraries. configuring with ./Setup configure
> --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
>
> See also http://hackage.haskell.org/trac/ghc/tick
I had wrote last mail without verifications, so ./Setup configure
--hsc2hs-options='--cflag=-m32 --lflag=-m32' is correct.
But I'm glad to know you got working fine with zlib :)
~-nwn
On Sun, Nov 29, 2009 at 8:00 AM, Antoine Latter wrote:
> On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto wro
Antoine Latter:
> On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto wrote:
>> I think you installed zlib without proper flags to link with 32-bit
>> libraries. configuring with ./Setup configure
>> --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
>>
>> See also http://hackage.h
On Sun, Nov 29, 2009 at 9:08 PM, Manuel M T Chakravarty
wrote:
>
> Which version of 6.12 are you running? These options or manually patching
> the hsc2hs wrapper should not be necessary with 6.12 anymore. (They are only
> a temporary workaround to use the old 6.10 release on Snow Leopard.)
>
>
This was reproduced on rc2, too. I installed ghc-6.12 rc2 by the installer.
As the ticket I mentioned[1] says, The problem is the flags to build
32-bit binaries is not passed to the hsc2hs executable when the hsc2hs
wrapper get any --cc parameter. Cabal passes --cc parameter to the
wrapper to tell
: glasgow-haskell-users@haskell.org; Haskell Libraries
| Subject: Re: GHC 6.12 + zlib + Mac OS 10.6
|
| On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto wrote:
| > I think you installed zlib without proper flags to link with 32-bit
| > libraries. configuring with ./Setup configure
| > --wi
| Sent: 28 November 2009 23:01
> | To: Yusaku Hashimoto
> | Cc: glasgow-haskell-users@haskell.org; Haskell Libraries
> | Subject: Re: GHC 6.12 + zlib + Mac OS 10.6
> |
> | On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto
> wrote:
> | > I think you installed zlib witho
On Mon, 2009-11-30 at 08:44 +, Simon Peyton-Jones wrote:
> Should this go in a FAQ? For GHC? Or for a particular architecture?
For ghc-6.10, yes. It'd should be a section "GHC on OSX 10.6 (Snow
Leopard)" and should describe the changes required to the shell script
wrappers of ghc and hsc2hs. I
c: glasgow-haskell-users@haskell.org; Haskell Libraries
| Subject: RE: GHC 6.12 + zlib + Mac OS 10.6
|
| On Mon, 2009-11-30 at 08:44 +, Simon Peyton-Jones wrote:
| > Should this go in a FAQ? For GHC? Or for a particular architecture?
|
| For ghc-6.10, yes. It'd should be a section &quo
On Mon, 2009-11-30 at 12:20 +, Simon Peyton-Jones wrote:
> | For ghc-6.12, we should just fix ticket #3681.
>
> OK, good. But who is "we"?
I think the short-term fix is just to change the hsc2hs wrapper script.
So that'd be Ian.
Longer term we might want to do it differently to allow a si
12 matches
Mail list logo