Building NewBinary with ghc 6.5
Jeremy Shaw
jeremy.shaw at linspireinc.com
Wed Jul 26 13:55:14 EDT 2006
Hrm,
Odd. The cabal code looks like it should be outputting the
command-line that it uses to invoke ghc-pkg, but it does not work here
either. Perhaps that is a cabal bug.
In any case, I think it is just running:
ghc-pkg update .installed-pkg-config
If you run that command, does it generate the same error ? Can you
paste the contents of your .installed-pkg-config?
Thanks.
j.
At Wed, 26 Jul 2006 01:07:54 +0100,
Joel Reymont wrote:
>
> Close but no cigar!
>
> sudo runhaskell Setup.lhs install -v5
> directory dist/doc/html does exist: False
> Installing: /usr/local/lib/NewBinary-0.1/ghc-6.5 & /usr/local/bin
> NewBinary-0.1...
> copy dist/build/NewBinary/FastMutInt.hi to /usr/local/lib/
> NewBinary-0.1/ghc-6.5/NewBinary/FastMutInt.hi
> copy dist/build/NewBinary/Binary.hi to /usr/local/lib/NewBinary-0.1/
> ghc-6.5/NewBinary/Binary.hi
> copy dist/build/libHSNewBinary-0.1.a to /usr/local/lib/NewBinary-0.1/
> ghc-6.5/libHSNewBinary-0.1.a
> copy dist/build/HSNewBinary-0.1.o to /usr/local/lib/NewBinary-0.1/
> ghc-6.5/HSNewBinary-0.1.o
> /usr/bin/ranlib /usr/local/lib/NewBinary-0.1/ghc-6.5/
> libHSNewBinary-0.1.a
> Registering NewBinary-0.1...
> Reading package info from ".installed-pkg-config" ... done.
> ghc-pkg: invalid package identifier:
>
> It's not showing me the ghc-pkg that's being invoked.
>
> On Jul 26, 2006, at 12:56 AM, Jeremy Shaw wrote:
>
> > At Wed, 26 Jul 2006 00:40:33 +0100,
> > Joel Reymont wrote:
> >>
> >> Is there something that looks particularly wrong below?
> >
> > Can you try the install with verbosity turned up:
> >
> > $ sudo runhaskell Setup.lhs install -v
> >
> > or perhaps even
> >
> > $ sudo runhaskell Setup.lhs install -v5
> >
> > I believe this will show the actually invocation of ghc-pkg that is
> > being used. You can then try running ghc-pkg by hand and see if it
> > gives you the same result.
> >
> > That should at least yield some useful data.
> >
> > Thanks.
> > j.
>
> --
> http://wagerlabs.com/
>
>
>
>
>
More information about the Glasgow-haskell-users
mailing list