On Tue, Dec 04, 2001 at 09:50:11AM -0600, Karl Fogel wrote:
> Marko Kreen <marko@l-t.ee> writes:
> > I have Apache and Subversion under same tree, and when compiling
> > 0.7 it picked up 0.6 headers. This fixes it.
>
> Thanks. Could you describe the exact symptoms you saw, and how this
> patch changed them? We've been bitten before by not being careful
> enough with this stuff :-), so believe it or not, even a trivial patch
> such as this this will need to be thoroughly understood and tested
> before applying.
Well, the exact problem was this: the ./subversion/include
was not first -I in the path.
Now the problem - I cant give exact error message as I installed
0.7 already - but in ./subversion/mod_dav_svn/update.c line 460,
it complained the editor (svn_delta_edit_fns_t *editor;) does
not have a field open_root (and couple of other fields were
missing also - but I dont remember those). After switching
includes, it compiled.
> For example, Mike Pilato points out that maybe the reason
> $(APACHE_INCLUDES) come first is so they'll dominate when compiling on
> a system that has an older version of httpd installed somewhere (i.e.,
> using httpd 2.0 experimentally on a system where at least one earlier
> version of httpd is also installed, which is probably the majority of
> cases).
Ok, but when I have older subversion in the same tree as
APACHE_INCLUDES the older subversion headers tend to dominate
too... Same goes to Apr and other external packages - if they
come before ./subversion/include and it happens that there is
older subversion, then *boom*.
--
marko
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006