Building NewBinary with ghc 6.5

Is there something that looks particularly wrong below? I'm on Mac OSX Intel. I'm trying to build crypto which depends on NewBinary which depends on lang (removed). --- ghc-pkg -l /usr/local/lib/ghc-6.5/package.conf: ALUT-2.0, Cabal-1.1.4, GLUT-2.0, HUnit-1.1, OpenGL-2.1, QuickCheck-1.0, base-1.0, fgl-5.2, (ghc-6.5), haskell-src-1.0, haskell98-1.0, mtl-1.0, network-1.0, parsec-2.0, readline-1.0, rts-1.0, stm-1.0, template-haskell-1.0, time-1.0, unix-1.0 junior:~/work/Haskell/NewBinary joelr$ sudo runhaskell Setup.lhs install Installing: /usr/local/lib/NewBinary-0.1/ghc-6.5 & /usr/local/bin NewBinary-0.1... Registering NewBinary-0.1... Reading package info from ".installed-pkg-config" ... done. ghc-pkg: invalid package identifier: -- http://wagerlabs.com/

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.

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.

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.

I installed my latest ghc build and that positively helped. Thanks for your help Jeremy! On Jul 26, 2006, at 6:55 PM, Jeremy Shaw wrote:
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.
participants (2)
-
Jeremy Shaw
-
Joel Reymont