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
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
./configure --enable-maintainer-mode --with-serf=/usr/local/serf
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.
Received on 2013-03-04 19:43:53 CET