[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: Ben Reser <ben_at_reser.org>
Date: Mon, 4 Mar 2013 14:48:15 -0800

On Mon, Mar 4, 2013 at 10:43 AM, Gabriela Gibson
<gabriela.gibson_at_gmail.com> wrote:
> 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$

I couldn't replicate this. I installed serf-1.2.0 with
--prefix=/usr/local/serf and used identical configure parameters and
got:
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... yes
checking was serf enabled... yes

Can you provide the output of the serf sections in config.log?

Your configure output from above shows configure trying to use your
prefix and not being able to when it tries to look for
serf_context_create in the library. It then goes on to try the
pkg-config method and doesn't find serf that way either.

I recall their being some sort of issues with this on Linux that I saw
a couple weeks back but I can't seem to replicate them now.
Received on 2013-03-04 23:48:53 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.