Re: Installation of OpenSSH 3.2.3 on Red Hat Linux 6.2?
From: William Hooper (whooperNOSPAM@infinet.com)Date: 06/27/02
- Next message: Aaron Baugher: "Reverse map delay on OpenSSH 3.4 on FreeBSD"
- Previous message: Richard E. Silverman: "Re: SSH without password in NIS/NFS ,is it possible?"
- In reply to: William Hooper: "Re: Installation of OpenSSH 3.2.3 on Red Hat Linux 6.2?"
- Next in thread: Nico Kadel-Garcia: "Re: Installation of OpenSSH 3.2.3 on Red Hat Linux 6.2?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "William Hooper" <whooperNOSPAM@infinet.com> Date: Thu, 27 Jun 2002 11:52:18 -0400
I just discovered that the spec file is written so that you can pass the
build_6x variable from the command line. So instead of having to install
the source and edit the openssh.spec file you can do:
[root@compilebox]$ rpm --rebuild openssh-3.4p1-1.src.rpm --define 'build_6x
1'
Updated for the new version, of course.
William
"William Hooper" <whooper@infinet.com.NO_SPAM> wrote in message
news:plfrea.cgl.ln@snowball.acme.labs...
> "Bombadil" <bombadil@fastmail.fm> wrote in message
> news:eedb1e6a.0206190455.293efa20@posting.google.com...
> > Hello,
> >
> > I have a Red Hat Linux 6.2 server, with all RH updates applied.
> > I have OpenSSH 3.0.2p1 installed on the server and I would like to
> > upgrade it to the latest version.
> >
> > I tried to rebuild the source RPM, but I had no luck:
> >
> > # rpm --rebuild openssh-3.2.3p1-1.src.rpm
> > Installing openssh-3.2.3p1-1.src.rpm
> > error: failed build dependencies:
> > db1-devel is needed by openssh-3.2.3p1-1
> >
> > How can I fix that?
> > Anyone has a working RPM for RH Linux 6.2?
> >
> > Thanks in advance,
> > Bombadil.
>
> There is an option in the openssh.spec file to compile for RedHat 6.x.
You
> need to install the src.rpm, edit the spec, and rebuild:
>
> [root@compilebox]$ rpm -ivh openssh-3.2.3p1-1.src.rpm
> [root@compilebox]$ cd /usr/src/redhat/SPECS/
> [root@compilebox]$ vi openssh.spec
> <find line "%define build6x 0" (line 24) and change to "%define build6x
1".
> Save and exit (:wq).>
> [root@compilebox]$ rpm -bb openssh.spec
>
> RPMs will be dropped in the normal place (/usr/src/redhat/RPMS).
> Alternately you can do a "-bs" to build another source RPM and do a
> "--rebuild".
>
> If you can't get it to work let me know and I can send you a working set
of
> binary RPMS.
>
> --
> William Hooper
>
> I started out with nothing and I still have most of it left
>
>
>
- Next message: Aaron Baugher: "Reverse map delay on OpenSSH 3.4 on FreeBSD"
- Previous message: Richard E. Silverman: "Re: SSH without password in NIS/NFS ,is it possible?"
- In reply to: William Hooper: "Re: Installation of OpenSSH 3.2.3 on Red Hat Linux 6.2?"
- Next in thread: Nico Kadel-Garcia: "Re: Installation of OpenSSH 3.2.3 on Red Hat Linux 6.2?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|