Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: Re: building from source RPMS
Date: Wed, 13 Jan 1999 12:21:57 +0100	[thread overview]
Message-ID: <19990113122157.A5474@stefan.sime.com> (raw)
In-Reply-To: <369BDB86.41C6@prr.mpi-stuttgart.mpg.de>; from Roman Martonak on Wed, Jan 13, 1999 at 12:32:22AM +0100

Hi Roman !

On Wed, Jan 13, 1999 at 12:32:22AM +0100, Roman Martonak wrote:
> I tried to build some programs from source RPMS, using rpm --recompile 
> and found that the executables are installed in strange places, 
> e.g. for bzip2 in /var, xemacs-20.4 in /tmp. Is there a way to change 
> this default behaviour as specified in SPECS and get them installed in 
> usual directories ?

Just try rpm "--rebuild" instead of "--recompile". Mainly they do the
same but "--recompile" does not build a rpm. After a successfull --rebuild
there should be nothing left from the build stage except the expected targets
in $(rpm --showrc|egrep ^rpmdir|sed -e 's/.*: //'){noarch,\
$(rpm --showrc|egrep ^rpmdir|sed -e 's/.*: //')}
; just use "rpm -[U|i] to install them.
The things you found in /var or /tmp are simply the "chrooted" install that is
needed to build the binary rpm. If the build is successfull rpm uses cpio
to store them for the binary rpm. 

-- 
  ciao -
    Stefan Traby
    Quant-X Alpha Linux Support

   Quant-X Service &                         Ph:  (+43) 4212 90555-0
   Consulting Ges.m.b.H.                     Fax: (+43) 4212 90555-555
   http://www.quant-x.com                    Email: support@quant-x.com


      reply	other threads:[~1999-01-13 10:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-12 11:13 xemacs under 5.1 Roman Martonak
1999-01-12 13:36 ` nbecker
1999-01-12 18:27 ` Bob Taylor
1999-01-12 23:32   ` building from source RPMS Roman Martonak
1999-01-13 11:21     ` Quant-X Alpha Linux Support [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox