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

Re: Building static AIX client

From: Justin Johnson <justinjohnson_at_gmail.com>
Date: 2006-07-31 15:48:46 CEST

On 7/14/06, David Edelsohn <dje@watson.ibm.com> wrote:
> >>>>> Daniel Berlin writes:
> Dan> Justin Johnson wrote:
> >>> 3) Run the attached bld-svn-client-static.sh script to build the
> >>> Subversion client.
> Dan> I'm pretty sure David Edelsohn either got subversion to build statically
> Dan> on AIX, or determined it was impossible.
> Dan> One of the two.
> Dan> David?
> Dan> (This guy is trying to build SVN with --enable-shared=no, and it doesn't
> Dan> work, I think I remember you tried to do the same thing).
> SVN on AIX definitely needs shared libraries disabled. I have
> been able to build all SVN releases so far with configure options:
> --with-berkely-db=no --disable-shared
> Berkeley DB was causing problems and I do not need to run an SVN server,
> so I just disabled that part.
> Also, it is very important to use Bash, not the default AIX shell,
> to run configure, if you want it to complete in your lifetime.

Just for the record, here is how I successfully compiled a static
version of the AIX Subversion client.


## Define variables

## Create initial directories
mkdir -p $build_dir

cat <<EOF > /tmp/crypt.exp

## Build Subversion
cd $build_dir
rm -rf $build_dir/subversion-1.3.2
gunzip $src_dir/subversion-1.3.2.tar.gz
tar xvf $src_dir/subversion-1.3.2.tar
cd $build_dir/subversion-1.3.2

LDFLAGS="-lc -lcrypt -ltli -Wl,-brtl,-bI:/tmp/crypt.exp,-bI:/lib/pse.exp"

./configure --without-berkeley-db --prefix=$prefix --enable-static
--without-zlib --enable-all-static --disable-nls

make install

strip $prefix/bin/svn*

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 31 15:50:22 2006

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