(Compile ghc 6.7) Cannot find package base

2007-08-12 Thread Mads Lindstrøm
Hi all

I tried compiling ghc 6.7 during the night. I used the following script:

  #!/bin/bash
  
  rm -rf $HOME/ghc
  darcs get --partial http://darcs.haskell.org/ghc
  cd ghc
  chmod +x darcs-all
  ./darcs-all get
  ./darcs-all --extra get
  sh boot
  ./configure --prefix=$HOME
  echo Checkpoint make
  make
  echo Checkpoint make install
  make install

but when I run ghci I get:

  GHCi, version 6.7.20070810: http://www.haskell.org/ghc/  :? for help
  
  interactive:1:22:
  Failed to load interface for `System.IO':
Use -v to see a list of the files searched for.
  
  interactive:1:22:
  Failed to load interface for `System.IO':
Use -v to see a list of the files searched for.
  
  interactive:1:22:
  Failed to load interface for `System.IO':
Use -v to see a list of the files searched for.
  ghc-6.7.20070810: panic! (the 'impossible' happened)
(GHC version 6.7.20070810 for i386-unknown-linux):
  interactiveUI:setBuffering
  
  Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Is this really a bug or am I doing something wrong?

I also tried:

  ghc-pkg check

and got:

  package ghc-6.7.20070810 has missing dependencies:
  hpc, template-haskell, readline, unix, Cabal, base, haskell98

If anybody is interested I got the complete build logs, but given there
size 2.2 megabytes (180 kilo when compressed with gzip) I choose not to
include them in the message.


Greetings,

Mads Lindstrøm



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: (Compile ghc 6.7) Cannot find package base

2007-08-12 Thread Stefan O'Rear
On Sun, Aug 12, 2007 at 10:05:17AM +0200, Mads Lindstrøm wrote:
 Hi all
 
 I tried compiling ghc 6.7 during the night. I used the following script:
 ...
   Failed to load interface for `System.IO':
 Use -v to see a list of the files searched for.
   ghc-6.7.20070810: panic! (the 'impossible' happened)
 (GHC version 6.7.20070810 for i386-unknown-linux):
   interactiveUI:setBuffering
   
   Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 
 Is this really a bug or am I doing something wrong?

This is almost certainly a bug, and you are at least the fourth person
affected.  Magnus Therning claimed on the #ghc IRC channel earlier to
have a complete fix, which will be published in a few hours after he's
awake again.

(As a check, you may want to try *compiling* a trivial module.  The
symptom seen by the previous three people was Failed to load interface
for `Prelude', and the 'ghc-pkg list' reveals only ghc and rts.)

Stefan


signature.asc
Description: Digital signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: (Compile ghc 6.7) Cannot find package base

2007-08-12 Thread Ian Lynagh
On Sun, Aug 12, 2007 at 10:05:17AM +0200, Mads Lindstrøm wrote:
 
 Is this really a bug or am I doing something wrong?

Thanks for the report; it was a bug. Now fixed in the HEAD.

By the way, problems with the HEAD are best reported on the
[EMAIL PROTECTED] list.


Thanks
Ian

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users