[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-14 18:15:20 CEST

One more time. It looks like my bld script was blocked by virus
scanning. I'll paste it here.

#!/bin/ksh93

## Define variables
base_dir=/svn/client-install
src_dir=/svn/downloads
build_dir=/svn/client-build

## Create initial directories
mkdir -p $build_dir

## Build openssl
cd $build_dir
#gunzip $src_dir/openssl-0.9.8b.tar.gz
tar xvf $src_dir/openssl-0.9.8b.tar
cd $build_dir/openssl-0.9.8b
./config no-shared --prefix=$base_dir
make
make install

## Build Subversion
cd $build_dir
#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
# Have to export these vars to openssl and libxml or expat can be found.
export CC="gcc -I$base_dir/include -L$base_dir/lib"
export CFLAGS="-I$base_dir/include -I$base_dir/usr/local/include"
export LDFLAGS="-L$base_dir/lib -L$base_dir/usr/local/lib"
./configure --prefix=$base_dir --without-berkeley-db
--with-libs=$base_dir/lib --with-includes=$base_dir/include --with-ssl
--enable-shared=no --enable-all-static
make
make install

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 14 18:19:52 2006

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.