Re: [Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".
On Thu, Sep 4, 2008 at 2:24 PM, Don Stewart <[EMAIL PROTECTED]> wrote: >> I've downloaded the ghc-6.8.3-i386-unknown-linux.tar.bz2 tarball, which >> I expected to work on my GNU/Linux box (1.2 GHz Athlon, Debian Sarge). > > Was there a problem installing GHC from the Debian package system with apt? Sarge is extremely old in Linux years, and support for it was EOLed earlier this year. It ships with a particularly buggy version of glibc. I would recommend upgrading. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".
Hi, Don! On Thu, Sep 04, 2008 at 02:24:20PM -0700, Don Stewart wrote: > acm: > > Hi, Haskell! > > I've downloaded the ghc-6.8.3-i386-unknown-linux.tar.bz2 tarball, > > which I expected to work on my GNU/Linux box (1.2 GHz Athlon, Debian > > Sarge). > Was there a problem installing GHC from the Debian package system with > apt? Yes, my apt setup is broken. Because of a (now fixed) configuration error I made, aptitude (a frontend to apt) has decided it needs to delete ~400 packages from my system, some of them vital. It's an "intelligent", "helpful" system, and maintaining consistency between packages is of utmost importance to it, more important, by far, than leaving my system in a working state. I haven't found a convenient, safe, way of resetting this "deletion cache" (which has been hanging around for ~1 year). Sadly its only "go button" is "do everything pending", so I've effectively blocked myself from using it. Sorting the mess out, or even discovering whether I could safely use apt directly, is just too much drudgery; I'll be installing a new system sometime soon anyway. I hate package managers almost as much as binary packages. There are quite a lot of things I don't hate, though. ;-) That's kind of drifting off topic, though. > -- Don -- Alan Mackenzie (Nuremberg, Germany). ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".
HI THERE, JOHANNES, what a surprise, how are you doing? Remember teaching me the 7-ring 1-count? Might've been at Erlangen, possibly Augsburg, even Berlin, but it was quite a while ago. :-) On Thu, Sep 04, 2008 at 11:20:35PM +0200, Johannes Waldmann wrote: > Hi, Alan - > >./configure fails with "checking for path to top of build tree... > >configure: error: cannot determine current directory". > Yeah, I got the exact same error yesterday when trying to install > a ghc-6.8.3 binary dist on some older machine. Ah, so it's not just me. > Well, since I had 6.8.2 working there, I just used it to compile 6.8.3 > from sources, which worked without any problems. > I guess the 6.8.3 binary does not work because it expects a newer > version of libc or whatever. I can provide the binaries I built if you > need them. Hey, thanks, yes please! Whether by email, or you giving me an ftp address, whatever is most convenient. That would be most appreciated. > Best regards, J.W. -- Alan Mackenzie (Nuremberg, Germany). ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".
Was there a problem installing GHC from the Debian package system with apt? He said Sarge. I guess the current ghc packages are for Etch only? - J.W. signature.asc Description: OpenPGP digital signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".
On Thu, Sep 04, 2008 at 11:20:35PM +0200, Johannes Waldmann wrote: > > >./configure fails with "checking for path to top of build tree... > >configure: error: cannot determine current directory". > > I guess the 6.8.3 binary does not work because it expects a newer > version of libc or whatever. That's right. Thanks Ian ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".
acm: > Hi, Haskell! > > I've downloaded the ghc-6.8.3-i386-unknown-linux.tar.bz2 tarball, which > I expected to work on my GNU/Linux box (1.2 GHz Athlon, Debian Sarge). Was there a problem installing GHC from the Debian package system with apt? -- Don ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".
Hi, Alan - ./configure fails with "checking for path to top of build tree... configure: error: cannot determine current directory". Yeah, I got the exact same error yesterday when trying to install a ghc-6.8.3 binary dist on some older machine. Well, since I had 6.8.2 working there, I just used it to compile 6.8.3 from sources, which worked without any problems. I guess the 6.8.3 binary does not work because it expects a newer version of libc or whatever. I can provide the binaries I built if you need them. Best regards, J.W. signature.asc Description: OpenPGP digital signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Linux version of ghc-6.8.3 won't intall or run for me: "Floating point exception".
Hi, Haskell! I've downloaded the ghc-6.8.3-i386-unknown-linux.tar.bz2 tarball, which I expected to work on my GNU/Linux box (1.2 GHz Athlon, Debian Sarge). I'm new at this game, though I'm thoroughly experienced with (and bear deep battle scars from) GNU software in general. ./configure fails with "checking for path to top of build tree... configure: error: cannot determine current directory". This has been reported before in this list, but I don't think anybody ever explained the fault. Further delving finds that the following statement in the configure script triggers it: hardtop=`utils/pwd/pwd forwardslash` . utils/pwd/pwd, no matter how I call it, always crashes with "Floating point exception". Surely real numbers aren't involved in determining a configuration - probably some floating point library or other is missing from my system. What is utils/pwd/pwd? What's its purpose? It's 460kB large (compared with 14kb for /bin/pwd). Is it a haskell implementation of Unix's pwd, primarily intented for non-unixy OSs? configure is supposed to ascertain my machine's config, so it's particularly disappointing that it crashes because my config isn't what it expects. Should I report this as a bug? # Anyhow, I hacked the configure script by replacing the above line by a hard-coded value, thusly: hardtop=/home/acm/haskell/ghc-6.8.3 , and the configure script finished. ;-) So I did "make install", and the turgid messages rolled up my screen until it crashed, the last few lines being: nstall/lib/ghc-6.8.3"' -DPKG_DATADIR='"/home/acm/haskell/ghc-install/share/ghc-6.8.3"' package.conf.in \ | grep -v '^#pragma GCC' \ | sed -e 's/""//g' -e 's/:[ ]*,/: /g' \ | /home/acm/haskell/ghc-6.8.3/utils/ghc-pkg/ghc-pkg.bin --global-conf /home/acm/haskell/ghc-install/lib/ghc-6.8.3/package.conf update - --force make[1]: *** [install] Error 136 make[1]: Leaving directory `/home/acm/haskell/ghc-6.8.3/rts' make: *** [install] Error 2 Ah yes! Error 136. ;-) Don't we just love GNU bread and butter software? It's not documented on the install man page either - or the info page. Neither is Error 8. Hey, you've all been through this too: enthusiasm -> 0 as t -> infinity. :-( # So, I thought, who needs to install? It's a binary package, so somewhere there's going to be a top-level callable program, probably called something like "ghc". Hey, yes, compile/Stage3/ghc-6.8.3. Guess what: "Floating point exception". :-( I hate binary packages - I utterly loathe them. They never work. At least they never work for me. Or the distro package manager stuffs your cron config with resource hoggers you really don't want, and forgets to ask you first. I suppose they might work if your OS has been installed or updated within the last few months; otherwise, forget it. Source distributions are so much faster and easier to install because the cranial clutter you have to cope with is that much less. Trouble is, to build haskell from source, you need a working haskell to build it with. Presumably, sometime in the recent past (as measured on archaeological time scales), ghc was bootstrapped from C (or some other lowest common denomiator language). Is this route still available? Some proto-proto haskell written in C, sufficiently powerful to build a proto-haskell, sufficiently powerful to build the compiler? # I'd really love to play with haskell. But the time I've wasted so far, trying to get it working, is almost at the stage where I just can't be bothered any more. I've been here before, and I can see that I've got 1 - 3 days x 8 hours of grinding drudgery before I finally get ghc-6.8.3 working. I suppose that's just the way GNU systems are. If anybody could give me some tips as to getting a decent haskell running on my system in a reasonable, predictable amount of time, in a way which doesn't involve diagnosing and fixing problems, I'd be very grateful indeed. Thanks! -- Alan Mackenzie (Nuremberg, Germany). ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe