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

RE: Re: Compiling Subversion with SSL Support - not happening

From: <postmaster_at_tigris.org>
Date: Mon, 22 Dec 2008 11:05:48 -0800 (PST)

Hi Stefan, Allan

Thanks for your help.
The following sequence of steps worked.
( All the dependent libraries must by built as static libraries)

1. built apr-1.3.3 as static library
   /ebay/software/pkgs/linux/2.4.21/i686/apr/1.3.3/lib

2. build apr-util-1.3.4 as static library
   /ebay/software/pkgs/linux/2.4.21/i686/apr-util/1.3.4/lib

3. build openssl-0.9.8i as static library
        ./config no-shared --prefix=/ebay/software/pkgs/linux/2.4.21/i686/openssl/0.9.8i
        make
        make install
           
4. build neon-0.28.3 as static library
   
        ./configure
        --prefix=/ebay/software/pkgs/linux/2.4.21/i686/neon/0.28.3
        --with-ssl=openssl
        --with-libs=/ebay/software/pkgs/linux/2.4.21/i686/openssl/0.9.8i
        --disable-shared
        
        make
        make install

5. build subversion 1.5.4 with --disable-shared option

    export OPENSSL_DIR=/ebay/software/pkgs/linux/2.4.21/i686/openssl/0.9.8i/
    export LDFLAGS=-L$OPENSSL_DIR/lib
    export CPPFLAGS=-I$OPENSSL_DIR/include
    export CFLAGS=-fPIC

   ./configure
        --prefix=/ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4
        --without-apxs
        --disable-shared
        --with-neon=/ebay/software/pkgs/linux/2.4.21/i686/neon/0.28.3/
        --with-apr=/ebay/software/pkgs/linux/2.4.21/i686/apr/1.3.3
        --with-apr-util=/ebay/software/pkgs/linux/2.4.21/i686/apr-util/1.3.4

        make
        make install

This method builds "svn" that statically binds to openssl.
This took quite a while to figure out.
I hope this information is useful to others who are trying to build "svn with openssl support"

Thanks
nambi

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-22 23:44:51 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.