source RPM ghc-6.0

2003-06-18 Thread Serge D. Mechveliani
On Wed, Jun 18, 2003 at 11:40:59AM +0100, Simon Marlow wrote:
>  
> > It occurs that we need first to install  ghc-6.0 
> > on 
> >i386-unknown, RedHat Linux platform.
> > 
> > Our administrator says here is a difficulty: 
> > 
> > a) it is hard for us to install from sources,
> > b) binary RPM would not do, due to library versions etc.,
> > c) we need  
> >source RPM  distributive,
> > 
> >similar as we used when installing  ghc-5.04.3.
> > 
> >But  ghc-6.0  does not show any source RPM distributive.
> > 
> > Please, what can we do about this?
> 


> Use the nosrc RPM, or install locally in your home directory from the
> binary distribution?  (you don't say what version of RedHat you have).
> 


Is this a correct way to detect versions needed for the GHC 
installation? 

  more /etc/redhat-release
  -->
  Red Hat Linux release 7.3 (Valhalla)

  ls /lib/libc*  
  -->
  /lib/libc-2.2.5.so 
 ... 



> install locally in your home directory from the binary 
> distribution?

Probably, our Linux and library versions are too old to install from 
the binary ghc-6.0 distribution.
Or should I really try this, with the above versions?

This is why we rather need  source RPM,  as our administrator says

(he does not want to update versions too often, 
and personally, I do not understand any in these system matters).

-
Serge Mechveliani
[EMAIL PROTECTED]


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


RE: source RPM ghc-6.0

2003-06-18 Thread Simon Marlow
> Is this a correct way to detect versions needed for the GHC 
> installation? 
> 
>   more /etc/redhat-release
>   -->
>   Red Hat Linux release 7.3 (Valhalla)
> 
>   ls /lib/libc*  
>   -->
>   /lib/libc-2.2.5.so 
>  ... 

The binary distribution (not the RPM) is basically just a tarball.  It
does no checking that you have the right versions of things, so it is a
"use at your own risk".  The download instructions do say that it is
suitable for RedHat 7.2, though, so you might be ok with 7.3.

If you want to build from source, you can use the "nosrc" RPM.  This is
just like the source RPM, except that the source isn't included.  To
build it, you need to download the source too (your sysadmin should know
how to do this).

Cheers,
Simon

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


RE: source RPM ghc-6.0

2003-06-19 Thread Jens Petersen
2003年06月18日(水)の21時25分に Simon Marlow 曰く:
> > Is this a correct way to detect versions needed for the GHC 
> > installation? 
> > 
> >   more /etc/redhat-release
> >   -->
> >   Red Hat Linux release 7.3 (Valhalla)
> > 
> >   ls /lib/libc*  
> >   -->
> >   /lib/libc-2.2.5.so 
> >  ... 
> 
> The binary distribution (not the RPM) is basically just a tarball.  It
> does no checking that you have the right versions of things, so it is a
> "use at your own risk".  The download instructions do say that it is
> suitable for RedHat 7.2, though, so you might be ok with 7.3.

Yes, the binary tarball built on RHL 7.2 should work fine with 7.3 too. 
(It doesn't work with Red Hat Linux 9 however...)

> If you want to build from source, you can use the "nosrc" RPM.  This is
> just like the source RPM, except that the source isn't included.  To
> build it, you need to download the source too (your sysadmin should know
> how to do this).

Yep.  Btw I just uploaded ghc-6.0-7 to

  http://haskell.org/~petersen/rpms/ghc/

There are an updated nosrc rpm and binary packages for Red Hat 8.0 and 9
(ie glibc-2.3).  So if you wish to rebuild, it might be a good starting
point.

Jens

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