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

Re: OT: $SVN envvars Re: svn 1.8 debugging-compilation-serf-configure problem because of 1.6 Ubuntu install

From: Gabriela Gibson <gabriela.gibson_at_gmail.com>
Date: Mon, 04 Mar 2013 18:43:29 +0000

On 04/03/13 18:09, Daniel Shahaf wrote:
> Gabriela Gibson wrote on Mon, Mar 04, 2013 at 17:51:15 +0000:
>> +However, to compile serf with Subversion, the following configure
>> +flags are also required:
>> +
>> + --with-apr=/path/to/apr/install
>> + --with-apr-util=/path/to/apr-util/install
>> +
>
> First of all, are these options to svn's configure or to serf's
> configure?
>

Serf requires them, but in this case, the Subversion build is meant.

> In either case, I don't understand why they would be required. apr* are
> mandatory dependencies, and the --with-apr argument should only serve to
> tell configure where the APR installation it should use use, i.e., to
> skip looking for apr in the standard locations (/usr, /usr/local, etc).
> Can you explain?

That would be overambitious! :) :) :) I simply thought that because serf
needs those switches in it's own compile, I try that, and I got lucky.

However, here is what happens for me:

Steps to reproduce:

   svn co https://svn.apache.org/repos/asf/subversion/trunk trunk3
   cd trunk3
   ./get-deps.sh
   cd apr
   ./buildconf
   cd ../apr-util/
   ./buildconf
   cd ..
   ./autogen.sh
   ./configure --enable-maintainer-mode --with-serf=/usr/local/serf

Error message:

checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
configure: serf library configuration via prefix
checking serf.h usability... yes
checking serf.h presence... yes
checking for serf.h... yes
checking for serf_context_create in -lserf-1... no
configure: serf library configuration via pkg-config
checking for serf-2 library... no
checking for serf-1 library... no
checking was serf enabled... no

An appropriate version of serf could not be found, so libsvn_ra_serf
will not be built. If you want to build libsvn_ra_serf, please
install serf 1.2.0 or newer.

configure: error: Serf was explicitly enabled but an appropriate version
was not found.
g_at_musashi:~/trunk3$
Received on 2013-03-04 19:43:53 CET

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