Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > RE: Re: Compiling Subversion with SSL Support - not happening

subversion
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

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

Author postmaster at tigris dot org
Full name postmaster at tigris dot org
Date 2008-12-22 11:05:48 PST
Message 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/ap​r/1.3.3/lib

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

3. build openssl-0.9.8i as static library
    ./config no-shared --prefix=/ebay/softw​are/pkgs/linux/2.4.2​1/i686/openssl/0.9.8​i
    make
    make install
       
4. build neon-0.28.3 as static library
   
    ./configure
    --prefix=/ebay/softw​are/pkgs/linux/2.4.2​1/i686/neon/0.28.3
    --with-ssl=openssl
    --with-libs=/ebay/so​ftware/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/so​ftware/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/softw​are/pkgs/linux/2.4.2​1/i686/subversion/1.​5.4
    --without-apxs
    --disable-shared
    --with-neon=/ebay/so​ftware/pkgs/linux/2.​4.21/i686/neon/0.28.​3/
    --with-apr=/ebay/sof​tware/pkgs/linux/2.4​.21/i686/apr/1.3.3
    --with-apr-util=/eba​y/software/pkgs/linu​x/2.4.21/i686/apr-ut​il/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

« Previous message in topic | 12 of 13 | Next message in topic »

Messages

Show all messages in topic

     Re: Compiling Subversion with SSL Support - not happening stsp Stefan Sperling 2008-12-11 09:09:50 PST
         RE: Compiling Subversion with SSL Support - not happening "Sankaran, Nambi" <nsankaran at ebay dot com> "Sankaran, Nambi" <nsankaran at ebay dot com> 2008-12-11 12:45:20 PST
             Re: Compiling Subversion with SSL Support - not happening stsp Stefan Sperling 2008-12-12 06:04:26 PST
                 RE: Compiling Subversion with SSL Support - not happening "Sankaran, Nambi" <nsankaran at ebay dot com> "Sankaran, Nambi" <nsankaran at ebay dot com> 2008-12-12 12:16:02 PST
                     Re: Compiling Subversion with SSL Support - not happening stsp Stefan Sperling 2008-12-12 17:26:32 PST
                         RE: Compiling Subversion with SSL Support - not happening "Sankaran, Nambi" <nsankaran at ebay dot com> "Sankaran, Nambi" <nsankaran at ebay dot com> 2008-12-15 10:56:40 PST
                             Re: Compiling Subversion with SSL Support - not happening Campbell Allan <campbell dot allan at ciboodle dot com> Campbell Allan <campbell dot allan at ciboodle dot com> 2008-12-16 02:58:49 PST
                                 Re: Compiling Subversion with SSL Support - not happening stsp Stefan Sperling 2008-12-16 08:20:10 PST
                                 Re: Compiling Subversion with SSL Support - not happening stsp Stefan Sperling 2008-12-20 03:45:15 PST
                             Re: Compiling Subversion with SSL Support - not happening Campbell Allan <campbell dot allan at ciboodle dot com> Campbell Allan <campbell dot allan at ciboodle dot com> 2008-12-20 04:49:39 PST
                     Re: Compiling Subversion with SSL Support - not happening stsp Stefan Sperling 2008-12-20 04:54:40 PST
                         RE: Re: Compiling Subversion with SSL Support - not happening postmaster at tigris dot org postmaster at tigris dot org 2008-12-22 11:05:48 PST
             Re: Compiling Subversion with SSL Support - not happening stsp Stefan Sperling 2008-12-20 04:48:55 PST
Messages per page: