Re: Configure options in RPM?

2001-03-21 Thread Paul Lussier

In a message dated: Tue, 20 Mar 2001 15:59:23 PST
Ken Ambrose said:

Hiya -- I'm trying to build some stuff from source RPMs, and I don't know
how to do configure options, and I don't off-hand see it in the manpage,
either.

Have you tried the book Maximum RPM?  It's freely available from RH's 
site somewhere.
-- 

Seeya,
Paul

It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

 If you're not having fun, you're not doing it right!



**
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**




Re: Configure options in RPM?

2001-03-21 Thread Mark Komarinski

http://www.rpm.org/

Official home for RPM.

-Mark

Paul Lussier wrote:
 
 In a message dated: Tue, 20 Mar 2001 15:59:23 PST
 Ken Ambrose said:
 
 Hiya -- I'm trying to build some stuff from source RPMs, and I don't know
 how to do configure options, and I don't off-hand see it in the manpage,
 either.
 
 Have you tried the book Maximum RPM?  It's freely available from RH's
 site somewhere.
 --
 
 Seeya,
 Paul
 
 It may look like I'm just sitting here doing nothing,
but I'm really actively waiting for all my problems to go away.
 
  If you're not having fun, you're not doing it right!
 
 **
 To unsubscribe from this list, send mail to
 [EMAIL PROTECTED] with the following text in the
 *body* (*not* the subject line) of the letter:
 unsubscribe gnhlug
 **

-- 
Mark Komarinski - Senior Systems Engineer - VA Linux Systems
(cell)  978-697-2228
(email) [EMAIL PROTECTED]
Have one day pleasant - Babelfish

**
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**




Re: Configure options in RPM?

2001-03-21 Thread Bruce Dawson

Changing the ./configure options is highly dependent on how they put the RPM
together. But the general principle is:

1. Install the source RPM:

$ rpm -ivh foo.bar.src.rpm

2. If they do the configure in the SPEC file, then you can change it there:

$ vi /usr/src/redhat/SPECS/foo.bar.spec

   (OK: Use emacs or some other editor if you don't like vi).

   If it can be easily done, then there should be an invocation of the
   configure script in the .spec file. Just change the command line in there.
   If there's no invocation of the configure script, then you dig into things.
   I would start with the Maximum RPM book.

3. Build it, creating new .RPM files:

$ rpm -ba foo.bar.spec.

4. Install the new RPM's on your system:

$ rpm -Uvh /usr/src/redhat/RPMS/{i386,alpha,whatever}/foo.bar.{whatever}.rpm

5. Pray and test. Make appropriate modifications if prayers fail. Repeat.

Quoting Paul Lussier [EMAIL PROTECTED]:

 In a message dated: Tue, 20 Mar 2001 15:59:23 PST
 Ken Ambrose said:
 
 Hiya -- I'm trying to build some stuff from source RPMs, and I don't
 know
 how to do configure options, and I don't off-hand see it in the
 manpage,
 either.
 
 Have you tried the book Maximum RPM?  It's freely available from RH's 
 site somewhere.



-
This mail sent through IMP: www.milessmithfarm.net

**
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**




Configure options in RPM?

2001-03-20 Thread Ken Ambrose

Hiya -- I'm trying to build some stuff from source RPMs, and I don't know
how to do configure options, and I don't off-hand see it in the manpage,
either.  Specifically, I want to do a 
configure --without-authldap
but I have no idea how to do this with a source RPM.  Do I actually have
to unzip everything and do the configure by hand?  This seems unlikely,
but never say never.

Thanks...

-Ken (D'Ambrosio a/k/a Ambrose -- long story, and a really old WELL account)


**
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**




Re: Configure options in RPM?

2001-03-20 Thread Mike McKernan

 Ken == Ken Ambrose [EMAIL PROTECTED]
 wrote the following on Tue, 20 Mar 2001 15:59:23 -0800 (PST)

  Ken Hiya -- I'm trying to build some stuff from source RPMs, and I
  Ken don't know how to do configure options, and I don't off-hand
  Ken see it in the manpage, either.  Specifically, I want to do a
  Ken configure --without-authldap but I have no idea how to do this
  Ken with a source RPM.  Do I actually have to unzip everything and
  Ken do the configure by hand?  This seems unlikely, but never say
  Ken never.

  Ken Thanks...

I think you can do that without opening up the package, Ken.  Take a
look at the %configure macro in /usr/lib/rpm/macros.  It would seem
you could put a modified version of that macro in the .rpmmacros file
of the home directory where you do the builds.

If you try it, I'd be interested to know whether it works.

Mike

(Posted from a two hour old Mandrake Cooker installation.  Might as
well get mail tested.)



**
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**