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

Re: Compilation woes - missing apr_xml.h

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-11-23 17:45:35 CET

On Fri, Nov 23, 2001 at 06:32:29PM +0100, Karl Trygve Kalleberg wrote:
>
> Hi.
>
> I may be going about this business the wrong way, but I think I managed to
> follow the INSTALL guidelines quite nicely.
>
> 1) I installed Berkeley DB 3.3.11
> 2) I run ./configure --prefix=/usr/local/apps/subversion for subversion

Are you sure these are all the args you passed to configure. Subversion
shouldn't try to build mod_dav_svn unless --with-apache or --with-apxs
are supplied.

> 3) I do make, which comes to neon and complains about not being able to
> find apr_xml.h, and a few other header files:

Did you use make -j? Because the compilation error below is in mod_dav_svn,
not neon.
>
> ------ making all in neon
> subversion/mod_dav_svn/liveprops.c:22: util_xml.h: No such file or
> directory
> In file included from subversion/mod_dav_svn/liveprops.c:26:
> subversion/mod_dav_svn/dav_svn.h:25: apr_xml.h: No such file or directory
> make: *** [subversion/mod_dav_svn/liveprops.lo] Error 1
> make: *** Waiting for unfinished jobs....
> subversion/mod_dav_svn/update.c:23: apr_xml.h: No such file or directory
> In file included from subversion/mod_dav_svn/update.c:32:
> subversion/mod_dav_svn/dav_svn.h:25: apr_xml.h: No such file or directory
> make: *** [subversion/mod_dav_svn/update.lo] Error 1
>
> Compilation complete. Run 'make install' (as root?) to install neon.
>
The problem appears to be that it is either building mod_dav_svn when it
shouldn't, or that your apache sources are too old. We normally recommend
using the apache 2.0 sources from CVS, although the last few snapshots have
been stable enough that they should work too.
>
> However, svn does seem to install correctly and work as a client at least,
> I have not tried to set it up as a server so I wouldn't know if anything's
> missing in that department.
>
Probably :)

> Kind regards,
>
> Karl T
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:49 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.