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

Re: [PATCH] misc svn build errors

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-09-21 09:32:40 CEST

Everything looks fine, so I'm not sure why the Makefile.in is not picking up
the right change. sigh.

I'm not sure whether the right answer is to apply your patch (for the short
term) or try to dig in some more. At this point, it would require a bit more
investigation than I can do from here.

Possibly add a manual line of APACHE_INCLUDES=@APACHE_INCLUDES@.

Cheers,
-g

p.s. you can use --enable-subdir-config to do the configuration of those
subdirs. (hrm; it should probably do that by default, and require a
--disable for developers if they so choose) Also note that the top-level
"should" build Neon, so it is a bug that you need to manually cd/make Neon.

On Thu, Sep 21, 2000 at 12:05:47AM -0700, Bob Miller wrote:
> I wrote:
>
> > I am in the process of installing Mandrake 7.1, the current release,
> > on another box. If I can't reproduce the problem there, I'll upgrade
> > my main box ASAP. If I can reproduce it, I'll keep debugging.
>
> I did that. The bug is still there. (The bug is that APACHE_INCLUDES
> is not defined in subversion/mod_dav_svn/Makefile.in.)
>
> I'm now running Mandrake Linux 7.1 which includes automake-1.4-8mdk.
>
> When I create and populate a new workarea, make dies like this.
>
> /bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -g -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -DSVN_DEBUG -DAP_DEBUG -g -Wall -c mod_dav_svn.c
> mod_dav_svn.c:57: httpd.h: No such file or directory
> mod_dav_svn.c:58: http_config.h: No such file or directory
> mod_dav_svn.c:59: mod_dav.h: No such file or directory
> In file included from mod_dav_svn.c:61:
> dav_svn.h:57: httpd.h: No such file or directory
> dav_svn.h:58: util_xml.h: No such file or directory
> dav_svn.h:59: apr_tables.h: No such file or directory
> dav_svn.h:60: mod_dav.h: No such file or directory
> make[4]: *** [mod_dav_svn.lo] Error 1
> make[4]: Leaving directory
> `/home/kbob/src/tigris/subversion/subversion/mod_dav_svn'
>
> Can anybody else reproduce this problem? I've attached the script
> "fooit" which shows exactly how I populated my work area. Am I
> populating it wrong?
>
> Thanks...
> --
> K<bob>
> kbob_at_jogger-egg.com, http://www.jogger-egg.com/

> #!/bin/sh -ex
>
> APACHE_VERSION=apache_2.0alpha6
> NEON_VERSION=neon-0.7.0
>
> # Get all sources
>
> # rm -rf subversion.old
> # mv subversion subversion.old
> # cvs -d :pserver:guest@cvs.tigris.org:/cvs co subversion
> # rm -f subversion.orig.tar.gz
> # tar cfz subversion.orig.tar.gz subversion
> rm -rf subversion
> tar xvfz subversion.orig.tar.gz
> cd subversion
> patch -p1 < ../patch-except-Makefile.am.patch
> # catdot
> touch ChangeLog
> # cvs -d :pserver:anoncvs@www.apache.org:/home/cvspublic \
> # checkout -d apr apache-2.0/src/lib/apr
> tar xfz ../apr.orig.tar.gz
> tar xfz ../${NEON_VERSION}.tar.gz
> ln -s ${NEON_VERSION} neon
>
> # Configure all
>
> ./autogen.sh
> ./configure --with-maintainer-mode \
> --disable-shared \
> --with-apache=$HOME/src/${APACHE_VERSION}
> (cd apr && ./configure)
> (cd neon && ./configure)
> echo all: libneon.la >> neon/Makefile
>
> # Make all
>
> (cd neon && make)
> make

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:08 2006

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