Re: No luck installing on SuSE 7.1

2001-05-10 Thread Ralf Hinze

Dear William,

using Manuel's SRPM I have built RPMs for SuSE 7.1. Would you
like to serve as a beta-tester for these builds? I am not
very confident whether the dependencies are ok. Generating the
documentation for GHC was a mess; the SGML tools in the
SuSE 7.1 distribution seem to be broken and I used the 7.0 tools
(which are broken as well, but at least I was able to fix them).

I placed the packages here

http://www.informatik.uni-bonn.de/~ralf/ghc-5.00-2.src.rpm
http://www.informatik.uni-bonn.de/~ralf/ghc-5.00-2.i386.rpm
http://www.informatik.uni-bonn.de/~ralf/ghc-prof-5.00-2.i386
http://www.informatik.uni-bonn.de/~ralf/happy-1.9-1.i386.rpm

Please let me know if you encounter any problems.

BTW I have no idea why GHC from CVS does not work on your machine.
Sorry.

Cheers, Ralf

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



RE: No luck installing on SuSE 7.1

2001-05-10 Thread Simon Marlow

Hi William,

It's not your day, is it? :)  You seem to have tripped over just about
all the nasty bugs in 5.00.

 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.

Yep, we'll be removing the dependency on readline in the standard binary
distribution for 5.00.1 - too many people were burned by this.

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.)

This was caused by a misconfiguration problem with the GMP library in
the binary distribution (it configured itself for i686, with the result
that it doesn't work on i586 and lower), 5.00.1 will have the fix.

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:

There were several problems with bootstrapping from .hc files in 5.00,
and this is something we're concentrating on for 5.00.1.

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:

again, another problem with .hc bootstrapping.

 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/'`  ;-)

[polishes fingernails]

Cheers, and sorry for all the hassle - 5.00.1 will be greatly improved,
trust me :)

Simon

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



RE: No luck installing on SuSE 7.1

2001-05-10 Thread Julian Seward (Intl Vendor)


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:[EMAIL PROTECTED]] 
| Sent: Wednesday, May 09, 2001 7:31 PM
| To: [EMAIL PROTECTED]
| 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 
| [EMAIL PROTECTED] 
| http://www.haskell.org/mailman/listinfo/glasgo| w-haskell-bugs
| 

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



RE: No luck installing on SuSE 7.1

2001-05-10 Thread William Chesters

Simon Marlow writes:
  Hi William,
  
  It's not your day, is it? :)  You seem to have tripped over just about
  all the nasty bugs in 5.00.

Think so, but Ralf Hinze helped me out by sending me RPMs he's made
for SuSE 7.1, from Manuel's SRPM (whether hacked I don't know---I
didn't try Manuel's SRPM because it didn't look big enough to have the
.hc's in!).

Ralf's ghc compiles my toy program fine and it runs to completion.
So, many thanks to him!  I hope to find time to play around some more
at the weekend.

  Cheers, and sorry for all the hassle - 5.00.1 will be greatly improved,
  trust me :)

OK, I believe you :)

Thanks,
William

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



Re: No luck installing on SuSE 7.1

2001-05-10 Thread Michael Weber

* William Chesters [EMAIL PROTECTED] [2001-05-09T20:58+0200]:
 William Chesters writes:
  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.)
 
 Although, I just copied it onto an RH5.2 machine, as opposed to 5.1,
 and it worked.  So the situation is,
 
 SuSE 7.1 with readline 3 added, Linux 2.4.0, AMD K6-2:
 
   -- compiler runs, up to a point
   -- toy compiled executable gives SIGILL

You may try:

http://www-i2.informatik.rwth-aachen.de/Software/Haskell/ghc/ghc-5.00-2.i386.rpm

NOTE: I build this package on SuSE 7.0, IIRC.  It /should/ work.  I was
able to rebuild GHC several times with itself.  No docs, though.


Cheers,
Michael
-- 
() ASCII ribbon campaign |  Chair for Computer Science  II  | GPG: F65C68CD
/\ against HTML mail |   RWTH Aachen, Germany   | PGP: 1D0DD0B9
The California State Lottery is a tax on people who can't do math
-- /. on 1999/08/20

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



RE: No luck installing on SuSE 7.1

2001-05-10 Thread Manuel M. T. Chakravarty

William Chesters [EMAIL PROTECTED] wrote,

 Simon Marlow writes:
   Hi William,
   
   It's not your day, is it? :)  You seem to have tripped over just about
   all the nasty bugs in 5.00.
 
 Think so, but Ralf Hinze helped me out by sending me RPMs he's made
 for SuSE 7.1, from Manuel's SRPM (whether hacked I don't know---I
 didn't try Manuel's SRPM because it didn't look big enough to have the
 .hc's in!).

They don't have the `.hc's, but Ralf had a previous version
of GHC installed with which he could compile from the source
rpm (which has all the Haskell source in it).

 Ralf's ghc compiles my toy program fine and it runs to completion.
 So, many thanks to him!  I hope to find time to play around some more
 at the weekend.

Cool.

Manuel

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



Re: No luck installing on SuSE 7.1

2001-05-09 Thread William Chesters

William Chesters writes:
 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.)

Although, I just copied it onto an RH5.2 machine, as opposed to 5.1,
and it worked.  So the situation is,

SuSE 7.1 with readline 3 added, Linux 2.4.0, AMD K6-2:

  -- compiler runs, up to a point
  -- toy compiled executable gives SIGILL

Mandrake 6.0 (readline 3), Linux 2.2, AMD K6-2:

  -- toy compiled executable gives SIGILL

RedHat 5.2 (readline 3), Linux 2.2, Intel Pentium II

  -- toy compiled executable runs

RedHat 5.1 (readline 3), Linux 2.0, Intel Pentium

  -- toy compiled executable gives SIGSEGV

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs