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

Re: Where is svn_delta.h?

From: Mo DeJong <mdejong_at_cygnus.com>
Date: 2001-06-05 10:36:30 CEST

On Mon, 4 Jun 2001, Mo DeJong wrote:

> Now that `make install` is working from a build directory,
> I decided to tempt fate and try to run `make check`.
>
> % make check
> make: *** No rule to make target `subversion/include/svn_delta.h', needed
> by `subversion/tests/libsvn_delta/vdelta-test.o'. Stop.
>
>
> This file does not seem to exist in the srcdir or the
> build dir. There is a delta.h file in subversion/libsvn_delta,
> was it renamed recently or something? It seems there are
> a number of files in that directory the #include it.
>
> Ideas?
>
> Mo

I think I figured out what was going wrong here.

I tried to run ./autogen.sh and got this really strange error:

Creating build-outputs.mk...
ERROR: subversion/include/*.h not found.
gen-make.py failed, is python really installed?

It seems that running `make install` moved the
.h files out of the srcdir instead of just copying them.

This command is enough to reproduce the problem.

% /home/mdejong/project/subversion/apr/build/install.sh -m 644
/home/mdejong/project/subversion/subversion/include/svn_test.h
/abomination/cruel/mdejong/project/install/subversion/include/svn_test.h

Running `cvs up` in the subversion subdir then reports:

% cvs up
U include/svn_test.h

The install script needs to have the -c option passed to it
to do a cp instead of a mv. This patch fixes the problem.

Mo DeJong
Red Hat Inc

Index: configure.in
===================================================================
RCS file:
/usr/local/tigris/data/helm/cvs/repository/subversion/configure.in,v
retrieving revision 1.89
diff -u -r1.89 configure.in
--- configure.in 2001/06/04 23:34:32 1.89
+++ configure.in 2001/06/05 08:32:54
@@ -105,7 +115,7 @@
 SVN_FIND_APACHE

 dnl ### should we ever bother with the system install?
-INSTALL="\$(top_srcdir)/apr/build/install.sh"
+INSTALL='$(top_srcdir)/apr/build/install.sh -c'
 AC_SUBST(INSTALL)

 dnl use APR's mkdir to enable creating intervening directories

---------------------------------------------------------------------
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:31 2006

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