[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: xdelta, svndiff, zlib, or some other problem

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 2 Jul 2010 21:03:50 +0300 (IDT)

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
being loaded.

Perhaps you should have added -pg to LDFLAGS too? (e.g., via
'make EXTRA_LDFLAGS=-pg')

> > On Linux I would use oprofile rather than gprof.
>
> Bummer.
>
> 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

This is an archived mail posted to the Subversion Dev mailing list.