[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building from source RPMS


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@xxxxxxxxxxx

-- 
To unsubscribe: send e-mail to axp-list-request@xxxxxxxxxx with
'unsubscribe' as the subject.  Do not send it to axp-list@xxxxxxxxxx



This mailing list archive is a service of Copilotco.