"Jeffrey R. Lewis" <[EMAIL PROTECTED]> wrote,

> Mark Utting wrote:
> 
> > Simon wrote:
> > > Can anyone help with this?  Simon and Sigbjorn are both
> > > on holiday, and I am wonderfully ignorant about such things.
> >
> > > John McCarten wrote:
> > >> I recently emailed you concerning the installation of GHC,
> > >> I have now managed to install and configure to some degree the
> > >> system, however it 'compiles' a haskell script but fails when
> > >> trying to import the library gmp, giving the message:...
> >
> > [I don't know if this will be much help, but...]
> > I've had a lot of trouble trying to install GHC 4.04 under
> > Linux too, both from the binary distribution and the source one.
> > This gmp problem was fairly easy to fix, I just hunted
> > around the (source) directory tree and found that gmp is actually
> > included in the GHC distribution and that libgmp.a had been built,
> > but was just not in the right path for the linker to find it.
> > Copying that .a file into the directory where ghc was being linked
> > fixed the problem.  So this looks like a problem with the Makefiles.
> >
> 
> If you are using a redhat distribution, the solution is even easier:  install
> the rpm `gmp' (you might also need `gmp-devel').  Both of these are in the
> standard 6.0 distribution.

Or, if you like it super-easy (this is for RedHat 6.0 and
similar systems)

  rpm -i ftp:[EMAIL PROTECTED]/pub/jibunmaki/i386/ghc-4.04-1.i386.rpm

Preferably *after* you have deleted all traces of your
earlier attempts to install GHC.

Manuel

Reply via email to