From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12366 invoked from network); 13 Jan 1999 10:44:28 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Jan 1999 10:44:28 -0000 Received: from arctica.sime.com (root@arctica.sime.com [193.228.80.12]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA16292 for ; Wed, 13 Jan 1999 05:22:08 -0500 Received: from sime.com (stefan.sime.com [194.112.213.115]) by arctica.sime.com (8.9.1/8.9.1) with ESMTP id LAA08510 for ; Wed, 13 Jan 1999 11:21:57 +0100 Received: (from stefan@localhost) by sime.com (8.8.7/8.8.7) id MAA05537 for axp-list@redhat.com; Wed, 13 Jan 1999 12:21:57 +0100 Date: Wed, 13 Jan 1999 12:21:57 +0100 From: Quant-X Alpha Linux Support To: axp-list@redhat.com Subject: Re: building from source RPMS Message-ID: <19990113122157.A5474@stefan.sime.com> Reply-To: Quant-X Alpha Linux Support References: <199901121827.KAA18451@ann.qtpi.lakewood.ca.us> <369BDB86.41C6@prr.mpi-stuttgart.mpg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <369BDB86.41C6@prr.mpi-stuttgart.mpg.de>; from Roman Martonak on Wed, Jan 13, 1999 at 12:32:22AM +0100 Organization: Quant-X Service & Consulting Ges.m.b.H. X-Operating-System: Linux 2.1.132 (i686) 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