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

Re: more autoconf patch questions, for Mo DeJong again

From: Mo DeJong <supermo_at_bayarea.net>
Date: 2001-10-05 02:26:24 CEST

On Thu, 4 Oct 2001 18:43:08 -0500
<kfogel@collab.net> wrote:

> Mo, everything seemed to go all right during configuration and
> compilation:
>
> $ chmod a+x ./autogen.sh /* sigh */
> $ ./autogen.sh
> $ ./configure --enable-maintainer-mode --disable-shared \
> --with-berkeley-db=/usr/local/BerkeleyDB.3.3
> [happy output]
> $ make
> [more happy output]
> $ make install
>
> It was during the install step that I encountered an error:
>
> [...]
> /home/kfogel/src/subversion/libtool: ./apr/build/install.sh: No such \
> file or directory
> make: *** [install-lib] Error 127
> $

It seems that $(INSTALL) is not fully qualified when building inside the srcdir.
I never build in the srcdir so I would not have run into this problem. The following
patch should fix it.

Index: configure.in
===================================================================
--- .svn/text-base/configure.in Wed Oct 3 13:26:50 2001
+++ configure.in Thu Oct 4 17:21:22 2001
@@ -136,7 +140,8 @@
 SVN_FIND_APACHE
 
 dnl ### should we ever bother with the system install?
-INSTALL="\$(top_srcdir)/apr/build/install.sh -c"
+full_top_srcdir=`cd $(top_srcdir) ; pwd`
+INSTALL="\`$(full_top_srcdir)/apr/build/install.sh -c"
 AC_SUBST(INSTALL)
 
 dnl use APR's mkdir to enable creating intervening directories

cheers
Mo

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

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