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

RE: Install troubles with version 1.6

From: Andrea Antonio Maleci <A.Maleci_at_iwbank.it>
Date: Fri, 3 Apr 2009 13:00:37 +0200

Hi Patricia,
I've just builded SVN 1.6 and I did not have problems.
May be you're wrong on your apr path: try with -with-apr=/disk01/subversion/apr, without build folder.

I've done as follows, and it works:

 * I've downloaded httpd project (I got httpd-2.2.10, that includes apr and apr-utils);
 * I've build and installed httpd;
 * I've downloaded and uncompressed svn 1.6 (trunk that you got is the wip release, latest stable 1.6 is on http://subversion.tigris.org/downloads/subversion-1.6.0.tar.gz);
 * I've downloaded and uncompressed svn 1.6 deps (http://subversion.tigris.org/downloads/subversion-deps-1.6.0.tar.gz);
 * I've removed apr and apr-utils on subversion-1.6.0;
 * I've created instead of them two symbolic link to apr and apr-util on httpd project (like ln -s httpd-2.2.10/srclib/apr subversion-1.6.0/apr);
 * I've build subversion with -with-included-apr option;
 * I've installed subversion.

That's because svn and httpd, doing this, uses the same apr version.

Ciao,
Andrea

________________________________
From: Patricia A Moss [mailto:pmoss4_at_csc.com]
Sent: giovedì 2 aprile 2009 21.03
To: users_at_subversion.tigris.org
Subject: Install troubles with version 1.6

I checked out the most recent source code from:
svn checkout http://svn.collab.net/repos/svn/trunk subversion

I then ran the command: sh ./autogen.sh
Then I ran ./configure.
The configure spit out the following messages:
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'

So I performed the following; within my subversion, top-level, directory:
svn co \
    http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x \
    apr

svn co \
    http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \
    apr-util

Then I went into each subdirectory and ran the buildconf script
#cd apr
# ./buildconf
# cd ..
#cd apr-util
# ./buildconf
Then ran the ./configure again and got the following errors:
# ./configure --with-apr=/disk01/subversion/apr/build/ --with-apr-util=/disk01/subversion/apr-util/
configure: Configuring Subversion 1.7.0
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 ANSI C... 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
./configure: line 3003: AC_PROG_SED: command not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for egrep... 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: the --with-apr parameter is incorrect. It
must specify an install prefix, a build directory, or an apr-config file.

I don't know how to rectify the ./configure error so that I can get a clean compile.
Can someone shed light? Thanks

PATI MOSS
System Engineer Sr. Professional
CSC

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1531193

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 13:01:39 CEST

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