[Gllug] rpm from tgz

Mike Brodbelt mike at coruscant.demon.co.uk
Sat Jul 6 12:05:54 UTC 2002


On Fri, 2002-07-05 at 12:14, Stephen Harker wrote:
> Hello all. I've discovered that you can make rpms from .tgz source files by 
> going
> # rpm -ta --clean blahblah.tgz
>  and it works most of the time :-)
> The idea being that I can cleanly install and remove all the crap I keep 
> trying out and getting bored with. Yes I know about stow Bruce but I'm being 
> stubborn!
> However, does anyone know how I can pass arguments to the ./configure script, 
> specifically to change th prefix. With rpms on Mandrake, stuff goes into /usr 
> but most source code defaults to /usr/local.

Using rpm -ta just builds the package using the spec file contained in
the tarball. If you want to change the configure arguments, you'll need
to modify the spec file.

Mike.



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list