No luck installing on SuSE 7.1
Julian Seward (Intl Vendor)
v-julsew at microsoft.com
Thu May 10 05:01:57 EDT 2001
The Illegal Instruction problem is known to us and will be
fixed in the upcoming 5.00.1 release, as will a bunch of
other bugs. We mistakenly configured GMP for i686-unknown-linux
and thereby got a GMP in GHC which uses PII/PIII specific
insns which don't exist on earlier (Pentium-I class) processors.
Regarding the segfault, I don't know ... could be one of many
problems. If you send us a test program, we can check whether
or not it segs out using the current stable sources.
J
| -----Original Message-----
| From: William Chesters [mailto:williamc-sp at paneris.org]
| Sent: Wednesday, May 09, 2001 7:31 PM
| To: glasgow-haskell-bugs at haskell.org
| Subject: No luck installing on SuSE 7.1
|
|
| Hi, I'm trying to get GHC 5.00 installed on my SuSE 7.1 box.
| I have tried (a) the binary distribution, (b) the source
| distribution, (c) a CVS snapshot.
|
|
| The binary distribution
| ghc-5.00-i386-unknown-linux.tar.bz2 does to some extent work
| if I either install libreadline.so.3 manually or just symlink
| it to libreadline.so.4. I can compile and run trivial
| programs and use ghci a bit.
|
| However the toy exe I build terminates with an "Illegal
| instruction" signal (whether or not I use -via-C), and the
| same quite quickly happens to ghci if I play around. If I
| copy the toy exe onto a Mandrake (~ RedHat) 6.0 machine I get
| the same. (If I copy it onto an RH5 machine I get segfault instead.)
|
|
| The source distribution ghc-5.00-src.tar.bz2, with
| ghc-5.00-i386-hc.tar.bz2 overlaid on it, gets some way
| through compilation (using distrib/hc-build) and then fails:
|
| PWD = /home/williamc/packages/dist/ghc-5.00-snapshot/hslibs/util
|
| --------------------------------------------------------------
| ----------
| ../../ghc/utils/hsc2hs/hsc2hs-inplace Readline.hsc
| gmake[1]: ../../ghc/utils/hsc2hs/hsc2hs-inplace: Command not found
|
| If I edit the Makefile in that directory to skip Readline, I
| can get it to continue on until:
|
| in /home/williamc/packages/dist/ghc-5.00-snapshot/ghc/driver
|
| --------------------------------------------------------------
| ----------
| gmake[1]: *** No rule to make target `PackageSrc.o', needed
| by `pkgconf'. Stop.
| gmake: *** [all] Error 1
| gmake: Leaving directory
| `/home/williamc/packages/dist/ghc-5.00-snapshot/ghc'
|
|
| The CVS snapshot I obtained tonight, with
| ghc-5.00-i386-hc.tar.bz2 overlaid on it, gets some way
| through compilation (using autoconf and distrib/hc-build),
| and then fails as follows:
|
| PWD = /home/williamc/packages/dist/ghc-5.00/fptools/hslibs/util
|
| --------------------------------------------------------------
| ----------
| gmake[1]: *** No rule to make target `Readline_hsc.o',
| needed by `libHSutil.a'. Stop.
|
| If I edit the Makefile in that directory to skip Readline, I
| can get it to continue on until:
|
| PWD = /home/williamc/packages/dist/ghc-5.00/fptools/ghc/lib/std
|
| --------------------------------------------------------------
| ----------
| gcc -x c Directory.hc -o Directory.raw_s -S -O ..... `echo
| | sed 's/^$/-DSTOLEN_X86_REGS=4/'`
| Directory.hc:3: Directory_hsc.h: No such file or directory
| gmake[2]: *** [Directory.raw_s] Error 1
|
|
| Any ideas??
|
| Cheers,
| William
|
|
| P.S. I can see now why the ocaml team keep the bytecode
| interpreter alive---it does make bootstrapping an awful lot easier ...
|
| P.P.S. By the way I __love__ `echo | sed
| 's/^$/-DSTOLEN_X86_REGS=4/'` ;-)
|
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgo| w-haskell-bugs
|
More information about the Glasgow-haskell-bugs
mailing list