You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Gallant <ga...@indiana.edu> on 2010/06/21 13:05:23 UTC

Subversion configure with-apr

Hi,

Running on redhat 5.5 enterprise
Building from sources, at configuration step, buiding for use with  
tomcat/java - no apache http server present.  Recieve a configure  
error for --with-apr (even with --without-apr and --with-apr=no)

Thanks,
Mike

uname -a
Linux vi224 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64  
x86_64 x86_64 GNU/Linux

# ./configure --with-apr=no --with-apxs=no --with-apache=no
configure: WARNING: unrecognized options: --with-apache
configure: Configuring Subversion 1.6.11
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: --with-apr requires a directory  
or file to be provided

# ./configure --without-apr --without-apxs
configure: Configuring Subversion 1.6.11
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: --with-apr requires a directory  
or file to be provided
[root@vi224 subversion-1.6.11]#

Re: Subversion configure with-apr

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Jun 21, 2010 at 09:05:23AM -0400, Mike Gallant wrote:
> Hi,
> 
> Running on redhat 5.5 enterprise
> Building from sources, at configuration step, buiding for use with
> tomcat/java - no apache http server present.  Recieve a configure
> error for --with-apr (even with --without-apr and --with-apr=no)

Subversion requires APR. You cannot compile Subversion without it.
You can choose not to compile the mod_dav_svn module (i.e. Subversion's
Apache web server integration). That is controlled by the --with-apxs
option. But you need APR.

Stefan