[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 4 Mar 2013 21:02:29 +0200

Gabriela Gibson wrote on Mon, Mar 04, 2013 at 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:
>
> ./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.

Is it just that you need to build/install serf?

% cd serf
% ./serfmake --prefix=/usr/local/serf build check install
(for the 'install' part you need write permission on /usr/local/serf)

Or is there another point here that I'm missing..
Received on 2013-03-04 20:03:10 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.