You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mo DeJong <md...@cygnus.com> on 2001/06/05 00:01:20 UTC

Where is svn_delta.h?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Where is svn_delta.h?

Posted by Greg Stein <gs...@lyra.org>.
Hmm. This change in semantics must have happened when I switched from
automake's mkinstalldirs over to APR's.

Thanks,
-g

On Tue, Jun 05, 2001 at 01:36:30AM -0700, Mo DeJong wrote:
> 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

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Where is svn_delta.h?

Posted by Mo DeJong <md...@cygnus.com>.
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