Re: Problem about rpm package of php
| From: | EdwardSPL at ita dot org dot mo | Date: | Mon, 19 Aug 2002 16:12:56 +0000 |
| Subject: | Re: Problem about rpm package of php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113220@lists.php.net to get a copy of this message | ||
So, which command that you recommend to run ?
Adam Williams wrote:
> If memory serves me right, -ba builds the binary and source rpms, and -bb
> only builds the binary rpm.
>
> Adam
>
> On Mon, 19 Aug 2002 EdwardSPL@ita.org.mo wrote:
>
> > Adam Williams wrote:
> >
> > > If I haven't responded too late, Install the SRPM package with rpm -ivh
> > > file.srpm or file.src.rpm and then do to the SPECS directory. In RedHat's
> > > case it is /usr/src/redhat/SPECS and look for something like mod_php.spec
> > > or php.spec and edit it. That file has a paramaters it passes to
> > > configure script, so add to it a --with-imap and then save the file, and
> > > then run rpm -bb mod_php.spec (or whatever the name of it is) and then it
> > > will build the binary rpm in /usr/src/redhat/RPMS/i386 and you simply rpm
> > > -Uvh it.
> > >
> > > Adam
> >
> > What different between rpm -bb file.spec and rpm -ba file.spec ?
> > Because some of users told me to run -ba file.spec...
> >
> > Thank a lots.