ANN: Happstack 0.4.1
Simon Marlow
marlowsd at gmail.com
Wed Dec 30 06:37:15 EST 2009
On 22/12/09 03:33, Antoine Latter wrote:
> On Mon, Dec 21, 2009 at 6:31 AM,<jeremy at n-heptane.com> wrote:
>> Hello,
>>
>> That sort of missing symbol error at link time is often (but not always) a
>> sign that some libraries got recompiled but not others. So there are
>> references to the old symbol names hanging around.
>>
>> I would try to ghc-pkg unregister syb-with-class and everything that depends
>> on it, and then try cabal install happstack again.
>>
>
> I'm pretty well stumped at this point. I've cleared off everything and
> gone up to GHC 6.12 HEAD, and a 'cabal install happstack-data' gives
> me the same symbol not defined error in Happstack.Data.Xml.Base.
>
> But here's the spooky part, if I run it by hand like so:
>
> ghc --make src/Happstack/Data/Xml/Base.hs
> src/Happstack/Data/Default.hs src/Happstack/Data/
> DeriveAll.hs src/Happstack/Data/Normalize.hs src/Happstack/Data/Migrate.hs
>
> after resolving issues due to CPP not being run, everything runs to
> completion, no errors. Also, the list of things we're pulling in
> during the template-haskell execution is much smaller (see bellow).
>
> Has anyone seen this, where template-haskell behaves different when
> run from cabal-install (or Setup.hs) than from ghc --make (or ghci)?
>
>>>>>>
> 2 of 5] Compiling Happstack.Data.Migrate (
> src/Happstack/Data/Migrate.hs, src/Happstack/Data/Migrate.o )
> [3 of 5] Compiling Happstack.Data.Default (
> src/Happstack/Data/Default.hs, src/Happstack/Data/Default.o )
> [4 of 5] Compiling Happstack.Data.DeriveAll (
> src/Happstack/Data/DeriveAll.hs, src/Happstack/Data/DeriveAll.o )
> [5 of 5] Compiling Happstack.Data.Xml.Base (
> src/Happstack/Data/Xml/Base.hs, src/Happstack/Data/Xml/Base.o )
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... done.
> Loading package ffi-1.0 ... linking ... done.
> Loading package array-0.3.0.0 ... linking ... done.
> Loading package bytestring-0.9.1.5 ... linking ... done.
> Loading package containers-0.3.0.0 ... linking ... done.
> Loading package pretty-1.0.1.1 ... linking ... done.
> Loading package syb-0.1.0.2 ... linking ... done.
> Loading package template-haskell ... linking ... done.
> Loading package syb-with-class-0.6.1 ... linking ... done.
> mkUsageInfo: internal name? Element{tc a4av}
> <<<<<
Did you submit a ticket for this? I don't recall seeing one.
Cheers,
Simon
More information about the Libraries
mailing list