This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /usr/bin/staprun hardcoded in latest git


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'

> % 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"' [...]

> > > The other issue was that the new NSS dependency is somewhat 
> > > annoying. I hope systemtap doesn't plan to descend further
> > > into DLL hell territory.
> > 
> > The NSS dependency is only needed for the client/server mode. It would
> > be good to have a configure --disable-stap-sever for those that don't
> > need it (or disable building it automagically when NSS isn't found).
> 
> Both would be a good idea.

If Dave doesn't have time to add that, I can add something like that.
Dave, what do you think?

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]