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

Re: Compiling Subversion with SSL Support - not happening

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 16 Dec 2008 16:19:56 +0000

On Tue, Dec 16, 2008 at 10:58:40AM +0000, Campbell Allan wrote:
> On Monday 15 Dec 2008, Sankaran, Nambi wrote:
> > Hi Stefen
> >
> > This is what I did,
> >
> > 1. downloaded suberversion-1.5.4.tar.gz
> > 2. unzipped the file
> > 3. downloaded subversion-deps-1.5.4.tar.gz
> > 4. unzipped this tar file in the same directory, where subversion is
> > unzipped
> > 5. deleted "serf" directory
> > 6. ran the following "configure" command
> > ./configure
> > --prefix=/ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/
> >
> > --without-apxs
> > --with-ssl
> >
> > --with-libs=/ebay/software/pkgs/linux/2.4.21/i686/openssl/0.9.8i/
> >
> > --includedir=/ebay/software/pkgs/linux/2.4.21/i686/openssl/0.9.8i/includ
> > e
> > --disable-shared
> > This resutls in this error,
> >
> > config.status: creating subversion/svn_private_config.h
> > config.status: subversion/svn_private_config.h is unchanged
> > config.status: executing mkdir-init commands
> > configure: WARNING: Unrecognized options: --with-libs
> > configure: WARNING: we have configured without BDB filesystem support
> >
> >
> >
> > I have attached the log files.
> >
> > What is the right way to build svn with openssl support?
> >
> > Thanks
> > nambi
> >
>
> I've traditionally used the environment variables LDFLAGS and CPPFLAGS. So the
> last step of my build goes something like:
>
> OPENSSL_INSTALL=/path/to/openssl
> LDFLAGS=-L$OPENSSL_INSTALL/lib
> CPPFLAGS=-I$OPENSSL_INSTALL/include
> CFLAGS=-fPIC
>
> export LDFLAGS CPPFLAGS CFLAGS
>
> ./configure --prefix=/path/to/svninstall --with-ssl

Hi Nambi,

sorry, I didn't see your last mail when I must have first received it.

The way Campbell described it may actually be the only way to get it working.
You have openssl installed in a location where the *neon* (not svn)
configure script won't pick it up automatically. With --with-ssl option
for Subversion's configure script simply causes --with-ssl to be passed
on to the neon configure script. Subversion itself does not link with
ssl (only indirectly, via neon).

The --with-libs option does not exist in the subversion configure
script, see ./configure --help.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=985071

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-16 17:25:15 CET

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

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