Building with -package-name comlib-0.1 helps. I saw that Cabal from HEAD is passing the full package id to GHC but the version compiled in ghc-6.5.20061001 is passing just the package name. Maybe the change wasn't merged in GHC-6.6 branch or the bundle wasn't build from the actual sources.
Cheers, Krasimir On 10/4/06, Krasimir Angelov <[EMAIL PROTECTED]> wrote:
On 10/4/06, Ian Lynagh <[EMAIL PROTECTED]> wrote: > Did it work with earlier RCs? It was working with a version slightly older than RC1. Definitely with a version without the advanced packages support. > > Does comlib get wired into the compiler at all? I had a similar problem > with base, where the compiler had the package name wired in: > compiler/main/PackageConfig.hs: > basePackageId = fsToPackageId FSLIT("base") > but cabal was building it with > -package-name base-2.0 > To solve it I put > -package-name base > in ghc-options in the cabal file. > > > Thanks > Ian I am sure comlib isn't wired into the compiler. Perhaps there is a problem with Cabal somewhere. I will try to put custom -package-name option. If that works I will take a look into Cabal. Cheers, Krasimir
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users