Re: [WBEL-users] version specific software and yum

Robert Heller <[email protected]>
Newsgroups gmane.linux.whitebox.user
Organization Deepwoods Software
Message-ID <[email protected]>
At Tue, 18 Jul 2006 09:28:39 +1000 Kyle <[email protected]> wrote:

> 
> 
> > What you want is to get/make an apache
> > httpd 2.0.54 RPM and install it with RPM (not yum). You would need to
> > install a 'bleeding edge' RPM from Fedora Core 5 or Fedora Core
> > Development.  Or you might need to get a .src.rpm and re-build it (rpmbuild
> > --rebuild httpd-2.0.54.src.rpm). 
> >   
> I realise this may be a stupid question, but doesn't a src rpm need to 
> be compiled first?

Yes:

Two ways:

1:

# rpmbuild --rebuild httpd-2.0.54.src.rpm

This ends up with various stuff in /usr/src/redhat/RPMS/i[3456]86/

Which you'd install as usuall with rpm.

2:

# rpm -hiv httpd-2.0.54.src.rpm
# rpmbuild --ba /usr/src/redhat/SPEC/httpd.spec

Gets you the same thing, and may also drop stuff in 
/usr/src/redhat/SRPMS/

This latter gives you to possiblity of messing with the
/usr/src/redhat/SPEC/httpd.spec file, including adding patches and other
things.

> 
> What I mean is;
> 
> With a src rpm, do I:
> 
> 1. install (or upgrade) src rpm
> 2. execute configure, make, make install (or something like that order 
> of things)

rpmbuild deals the the install, configure, make, etc.



> 
> or, do I:
> 
> 1. install (or upgrade) src rpm and  it works?
> 
> or does the rpmbuild command do the compiling such that I then do:
> 
> 1. rpmbuild src rpm
> 2. upgrade installed rpm

Yep.

> 
> Sorry. Still learning.
> 

You probably don't need to do all of this -- there are FC4 .i386 rpms
for httpd 2.0.54, which *should* just install as is (but might have some
dependencies).


> ------------------------------------------------------------------------
> Kind Regards
> 
> Kyle
> 
> _______________________________________________
> Whitebox-users mailing list
> [email protected]
> http://beau.org/mailman/listinfo/whitebox-users
> 
>                                                                                                                 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
[email protected]       -- Contract Programming: C/C++, Tcl/Tk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.