Benjamin Franksen | 26 Jun 14:48

ghc-6.8.3 binary dist problem

When I try to ./configure, I get this error:

aragon: .../i386-unknown-linux/ghc-6.8.3
> ./configure --prefix=/projects/ctl/franksen/usr    
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Which we'll further canonicalise into: i386-unknown-linux
checking for path to top of build tree... configure: error: cannot determine
current directory

Looking into configure, I see that it calls 'utils/pwd/pwd forwardslash'
which seems to be the culprit, since

aragon: .../i386-unknown-linux/ghc-6.8.3 > utils/pwd/pwd forwardslash
[1]    28489 floating point exception  utils/pwd/pwd forwardslash

Cheers
Ben
Ian Lynagh | 26 Jun 16:59

Re: ghc-6.8.3 binary dist problem

On Thu, Jun 26, 2008 at 02:51:05PM +0200, Benjamin Franksen wrote:
> 
> aragon: .../i386-unknown-linux/ghc-6.8.3 > utils/pwd/pwd forwardslash
> [1]    28489 floating point exception  utils/pwd/pwd forwardslash

This happens when your system (libc?) is too old to run the binaries in
the bindist. If you want to use newer versions of GHC on this system
then I'm afraid you'll have to compile them yourself.

Thanks
Ian
Benjamin Franksen | 27 Jun 15:22

Re: ghc-6.8.3 binary dist problem

Ian Lynagh wrote:
> On Thu, Jun 26, 2008 at 02:51:05PM +0200, Benjamin Franksen wrote:
>> aragon: .../i386-unknown-linux/ghc-6.8.3 > utils/pwd/pwd forwardslash
>> [1]    28489 floating point exception  utils/pwd/pwd forwardslash
> 
> This happens when your system (libc?) is too old to run the binaries in
> the bindist. If you want to use newer versions of GHC on this system
> then I'm afraid you'll have to compile them yourself.

Thanks. Indeed, we are on debian stable, here. At home I have the latest
kubuntu and there the binary dist works just fine.

Cheers
Ben

Gmane