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:

/home/myUserName/local/include/serf-1
/home/myUserName/local/include/serf-1/serf.h
/home/myUserName/local/include/serf-1/serf_bucket_types.h
/home/myUserName/local/include/serf-1/serf_bucket_util.h
/home/myUserName/local/lib/libserf-1.so
/home/myUserName/local/lib/libserf-1.so.0
/home/myUserName/local/lib/pkgconfig/serf-1.pc
/home/myUserName/local/lib/libserf-1.la
/home/myUserName/local/lib/libserf-1.a
/home/myUserName/local/lib/libserf-1.so.0.0.0

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?

Thanks,
   Michael



Reply via email to