On Mon, Mar 4, 2013 at 10:43 AM, Gabriela Gibson
> Steps to reproduce:
> svn co https://svn.apache.org/repos/asf/subversion/trunk trunk3
> cd trunk3
> cd apr
> cd ../apr-util/
> cd ..
> ./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.
I couldn't replicate this. I installed serf-1.2.0 with
--prefix=/usr/local/serf and used identical configure parameters and
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