HSQL installation woes
simonmar at microsoft.com
Fri Nov 11 09:26:23 EST 2005
On 06 November 2005 20:31, Ed Osinski wrote:
> I'm trying to install GHC and related software under Solaris 9 and am
> stuck at HSQL. I initially used the binary package of ghc 6.4.1. It
> installed w/o any problems, and I was able to build alex, happy,
> haddock and cpphs. However, when trying to install HSQL-1.6, it
> complained about "ld" not recognizing "-x". I guess this is due to
> the binary package for Solaris being built on a machine that used the
> GNU linker, which recognizes "-x"? Anyway, this led me to build ghc
> 6.4.1 from source, with gcc 4.0.2, which was successful. :-) However,
> when I try to install HSQL-1.6, it dies during the build step. :-(
> Here is the output:
> /sware/build/HSQL-1.6/HSQL |> runghc Setup.lhs configure
> Warning: No license-file field.
> Configuring hsql-1.6...
> configure: searching for ghc in path.
> configure: found ghc at /usr/local/bin/ghc
> configure: looking for package tool: ghc-pkg near compiler in
> /usr/local/bin/ghc configure: found package tool in
> /usr/local/bin/ghc-pkg configure: Using install prefix:
> configure: Using compiler: /usr/local/bin/ghc
> configure: Compiler flavor: GHC
> configure: Compiler version: 6.4.1
> configure: Using package tool: /usr/local/bin/ghc-pkg
> configure: Using haddock: /usr/local/bin/haddock
> configure: Using happy: /usr/local/bin/happy
> configure: Using alex: /usr/local/bin/alex
> configure: Using hsc2hs: /usr/local/bin/hsc2hs
> configure: Using cpphs: /usr/local/bin/cpphs
> configure: Reading installed packages...
> configure: Dependency base-any: using base-1.0
> /sware/build/HSQL-1.6/HSQL |> runghc Setup.lhs build
> Preprocessing library hsql-1.6...
> Building hsql-1.6...
> Chasing modules from: Database.HSQL,Database.HSQL.Types
> Compiling Database.HSQL.Types ( ./Database/HSQL/Types.hs,
> dist/build/./Database/HSQL/Types.o ) Compiling Database.HSQL
> ./Database/HSQL.hs, dist/build/./Database/HSQL.o ) ***
> waitForProcess: interrupted (Interrupted system call)
> This error happens consistently, but sometimes one line earlier.
> Googling reveals that at least one person encountered this exception
> on Solaris in the recent past:
I think this means that GHC crashed. waitForProcess throws the
"interrupted" exception whenever the sub-process it is waiting for
receives a signal, such as a SIGSEGV. This is the wrong behaviour, I'll
look into fixing it.
The next step is to find out why GHC is crashing - you could try running
GHC on its own, independently of Cabal (use "runghc Setup.lhs -v" to get
the command line).
More information about the Glasgow-haskell-users