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

Trouble compiling using "--with-serf=/home/myUserName/local"

From: Schuh, Michael (ARC-AA) <michael.schuh_at_nasa.gov>
Date: Mon, 22 Jul 2013 19:31:30 -0500

I am having trouble compiling subversion 1.8.0 using "--with-serf=/home/myUserName/local".

Serf is installed in /home/myUserName/local. The serf files with serf in their name are:


The subversion configure finds the serf.h file so I have the path correct. It is complaining about "serf_context_create in -lserf-1" and dies.

./configure --prefix=/home/myUserName/local --with-serf=/home/myUserName/local/

(bunch of output deleted)

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.1 or newer.

configure: error: Serf was explicitly enabled but an appropriate version was not found.

I compiled and installed serf with:

   wget https://serf.googlecode.com/files/serf-1.2.1.tar.bz2
   tar -xvf serf-1.2.1.tar.bz2
   cd serf-1.2.1
   ./configure --prefix=/home/myUserName/local
   make install

It looks to me like things are set up properly. What is the "serf_context_create in -lserf-1" check all about and what must I do to satisfy this check?

Received on 2013-07-23 02:32:07 CEST

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