/usr/bin/staprun hardcoded in latest git

Andi Kleen andi@firstfloor.org
Sun Jan 4 19:31:00 GMT 2009


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



More information about the Systemtap mailing list