From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5286 invoked by alias); 4 Jan 2009 19:31:49 -0000 Received: (qmail 5274 invoked by uid 22791); 4 Jan 2009 19:31:48 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from one.firstfloor.org (HELO one.firstfloor.org) (213.235.205.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 04 Jan 2009 19:31:41 +0000 Received: by one.firstfloor.org (Postfix, from userid 503) id 7DA4F1890142; Sun, 4 Jan 2009 20:45:27 +0100 (CET) Date: Sun, 04 Jan 2009 19:31:00 -0000 From: Andi Kleen To: Mark Wielaard Cc: Andi Kleen , systemtap@sources.redhat.com, Dave Brolley Subject: Re: /usr/bin/staprun hardcoded in latest git Message-ID: <20090104194526.GA496@one.firstfloor.org> References: <20090104141653.GA6183@basil.nowhere.org> <1231093835.3380.21.camel@hermans.wildebeest.org> <20090104185620.GZ496@one.firstfloor.org> <1231096267.3380.35.camel@hermans.wildebeest.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1231096267.3380.35.camel@hermans.wildebeest.org> User-Agent: Mutt/1.4.2.1i Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00014.txt.bz2 On Sun, Jan 04, 2009 at 08:11:07PM +0100, Mark Wielaard wrote: > Hi Andi, > > On Sun, 2009-01-04 at 19:56 +0100, Andi Kleen wrote: > > I didn't set bindir explicitely, just --prefix > > > > % grep bindir config.log > > bindir='${exec_prefix}/bin' > > sbindir='${exec_prefix}/sbin' > > And I assume: > $ grep prefix=\' config.log > exec_prefix='${prefix}' > prefix='/usr/local' Nearly, i use prefix=/pkg/systemtap-date and then symlink to usr/local/bin > > > % strings stapio | grep usr/bin > > /usr/bin/staprun > > % strings stapio-mainloop.o | grep usr/bin > > /usr/bin/staprun > > hmmm. Even even with --prefix=/usr/local I am unable to replicate :{ > Could you rm stapio-mainloop.o && make stapio-mainloop.o ? > With --prefix=/usr/local it should give: > gcc -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/local/bin"' > -DPKGDATADIR='"/usr/local/share/systemtap"' > -DPKGLIBDIR='"/usr/local/libexec/systemtap"' [...] Ah indeed that fixes it. So it looks like just the dependencies are broken? -Andi -- ak@linux.intel.com