Edward Ned Harvey wrote on Fri, 2 Jul 2010 at 12:54 -0400:
> > From: Philip Martin [mailto:philip.martin_at_wandisco.com]
> > You have done something wrong, very little data has been recorded.
> > It's possible you didn't rebuild the libraries, or you are picking up
> > the wrong libraries at runtime.
You can use ldd `which svn` or gdb to check which libraries are
Perhaps you should have added -pg to LDFLAGS too? (e.g., via
> > On Linux I would use oprofile rather than gprof.
> After modifying the Makefile, I did :
You shouldn't have to modify Makefile... normally you can achieve what
you want by setting CFLAGS (at configure time, as Stefan said) or
perhaps EXTRA_CFLAGS (at 'make' time).
> make clean && make && make install && echo "installed ok"
> So it installed ok.
> "which svn" confirms that I'm running using the right svn ... also the
> presence of the gmon.out file confirms this.
> I don't see anything in my environment suspicious, like a LD_LIBRARY_PATH or
> anything like that ...
> I guess I'll just rebuild from scratch, and see if I get a different
> result, and read more in the man page ...
Well, you could always edit svn_version.h and recompile :)
(I usually run into it in the form 1.7.0-foo svn bails out if run with
1.7.0-bar libraries; i.e., same major/minor/patch but different tag)
What are you compiling, by the way? trunk?
Received on 2010-07-02 20:05:12 CEST