[PLUG] RPMs and compiling with specific options

Jon Jacob jon at manymoons.net
Wed May 15 21:56:17 UTC 2002


Coool.  Thanks.

On Wed, 2002-05-15 at 14:55, Andrew Puch wrote:
> On 2002.05.15 14:04 Jon Jacob wrote:
> > I can?  How?
> the magic of rpm.
> Step one to find the rpm 
> 	rpmfind `rpm -qi aspell| grep Source | awk -F: '{print $3}'`
> 
> 	This should give you a source rpm, or goto
> 
> wget 
> ftp://ftp.redhat.com/pub/redhat/linux/7.3/en/os/i386/SRPMS/aspell-0.33.7.1-9.src.rpm
> 
> Step 2: Install source rpm rpm -U aspell-0.33.7.1-9.src.rpm
> 
> cd /usr/src/redhat/SPEC
> 
> vim/pico/emacs aspell.spec
> 
> find the line with \|/ From %configure
> To %configure --enable the configure options you want
> 
> Step 3: pray to the rpm god that it will build
> 
> Step 4: Build your rpm
> rpm -ba /usr/src/redhat/SPEC/aspell.spec
> 
> > 
> > I have never made an rpm.
> > 
> > On Wed, 2002-05-15 at 14:03, Kyle Accardi wrote:
> > > Jon Jacob wrote:
> > >
> > > > Is there a standard way to use an rpm but send it the options I would
> > > > want it to compile the binary with.
> > > >
> > > > I like being able to query the rpm database to see what is installed
> > and
> > > > the ease of uninstalling which is why I like RPM, but I need to
> > install
> > > > something now that I want to compile using non-standard options.  (To
> > be
> > > > specific, it is aspell).  Is there a way to do that?
> > >
> > >
> > > You could always build from the tarball, then make a binary rpm.
> > >
> > > --
> > > Kyle
> > >
> > >
> > > _______________________________________________
> > > PLUG mailing list
> > > PLUG at lists.pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > 
> > 
> > 
> > _______________________________________________
> > PLUG mailing list
> > PLUG at lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> > 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug






More information about the PLUG mailing list