When trying to run yi, it fails to compile main, and exits with an error
I am using ghc-6.6.1 installed in a non-standard location, and I just built yi-0.2 also for a non-standard location, and the first time I run it I get:
<interactive>:1:33:
Failed to load interface for `Yi':
Use -v to see a list of the files searched for.
yi: panic! (the 'impossible' happened)
(GHC version 6.6.1 for i386-unknown-linux):
Could not compile Yi.main!
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
The output from the configuration and build is:
$ runhaskell Setup.hs configure --prefix=/design/local/yi
Configuring yi-0.2...
configure: Dependency ghc>=6.6: using ghc-6.6.1
configure: Dependency base-any: using base-2.1.1
configure: Dependency mtl-any: using mtl-1.0.1
configure: Dependency regex-posix-any: using regex-posix-0.71
configure: Using install prefix: /design/local/yi
configure: Binaries installed in: /design/local/yi/bin
configure: Libraries installed in: /design/local/yi/lib/yi-0.2/ghc-6.6.1
configure: Private binaries installed in: /design/local/yi/libexec
configure: Data files installed in: /design/local/yi/share/yi-0.2
configure: Using compiler: /design/local/ghc-6.6.1/bin/ghc
configure: Compiler flavor: GHC
configure: Compiler version: 6.6.1
configure: Using package tool: /design/local/ghc-6.6.1/bin/ghc-pkg
configure: Using ar found on system at: /usr/bin/ar
configure: No haddock found
configure: No pfesetup found
configure: Using ranlib found on system at: /usr/bin/ranlib
configure: Using runghc found on system at: /design/local/ghc-6.6.1/bin/runghc
configure: No runhugs found
configure: No happy found
configure: No alex found
configure: Using hsc2hs: /design/local/ghc-6.6.1/bin/hsc2hs
configure: No c2hs found
configure: No cpphs found
configure: No greencard found
$ runhaskell Setup.hs build
Preprocessing executables for yi-0.2...
Building yi-0.2...
[1 of 4] Compiling Yi.Kernel ( Yi/Kernel.hs, dist/build/yi/yi-tmp/Yi/Kernel.o
)
[2 of 4] Compiling Yi.Debug ( Yi/Debug.hs, dist/build/yi/yi-tmp/Yi/Debug.o )
[3 of 4] Compiling Yi.Boot ( Yi/Boot.hs, dist/build/yi/yi-tmp/Yi/Boot.o )
[4 of 4] Compiling Main ( Main.hs, dist/build/yi/yi-tmp/Main.o )
Linking dist/build/yi/yi ...
$ runhaskell Setup.hs install
Installing: /design/local/yi/lib/yi-0.2/ghc-6.6.1 & /design/local/yi/bin yi-0.2...
My machine is:
$ cat /etc/redhat-release
Red Hat Enterprise Linux WS release 3 (Taroon Update 7)
$ uname -a
Linux carl 2.4.21-40.ELhugemem #1 SMP Thu Feb 2 22:14:10 EST 2006 i686 i686 i386 GNU/Linux
Let me know if there is any more info I can provide.
Trac metadata
Trac field | Value |
---|---|
Version | 6.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |