RE: Compile/Install Subversion client on AIX

2010-03-08 Thread Giulio Troccoli






Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851VAT Reg No 778499447





From: Srivastava, Sumit [mailto:ssrivasta...@cvs.com]
Sent: 05 March 2010 17:15
To: users@subversion.apache.org
Subject: Compile/Install Subversion client on AIX



I have to install Subversion client 1.6.3 on a AIX machine. Is there a 
place I can get the pre compiled binaries and just install it?

Otherwise, where can I find the steps to compile the source code and 
install svn client.

Please help!

Thanks,

Sumit


Please do not post in HTML.

I have successfully built 1.6.9 on AIX 5.3 and 1.4.5 on AIX 4.3 (still working 
on 1.6.9 on AIX 4.3). This is what I did for AIX 5.3 (SVN 1.6.9)

mkdir svnbuild
cd svnbuild
gunzip -c subversion-deps-1.6.9.tar.gz | tar xvf -
gunzip -c subverison-1.6.9.tar.gz | tar xvf -
Cd subversion-1.6.9/apr
CC=/usr/vac/bin/cc CFLAGS=-qmaxmem=-1 -O2 -qlanglvl=extended ./configure 
--enable-shared --enable-static
make; make install
cd ../apr-util/xml/expat
CC=/usr/vac/bin/cc CFLAGS=-qmaxmem=-1 -O2 -qlanglvl=extended ./configure 
--enable-shared=yes
make; make install
cd ../..
CC=/usr/vac/bin/cc CFLAGS=-qmaxmem=-1 -O2 -qlanglvl=extended ./configure 
--with-apr=/usr/local/apr --with-expat=builtin
make; make install
cd ../neon
CC=/usr/vac/bin/cc CFLAGS=-qmaxmem=-1 -O2 -qlanglvl=extended 
CPPFLAGS=-I/usr/local/include -LDFLAGS=-brtl ./configure 
--with-expat=/usr/local/lib/libexpat.la --enable-shared=yes
make; make install
cd ..
CC=/usr/vac/bin/cc CFLAGS=-qmaxmem=-1 -O2 -qlanglvl=extended 
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure 
--disable-shared --without-ssl --without-berkeley-db --with-apr=/usr/local/apr 
--with-apr-util=/usr/local/apr --without-apxs --with-neon=/usr/loca 
--without-serf
make; make install

Of course, before doing all this I tested it using the --prefix option to all 
configure to built it locally. When you do that you will have to adjust the 
--with-apr and --with-apr-util options to point to the locally installed apr 
and apr-util (I think I remember I had to add the bin directory at the end of 
the path, so something like /home/dev/local/apr/bin).

Give it a try. Maybe it won't work for you as is but it's a start.

Good luck
Giulio


Compile/Install Subversion client on AIX

2010-03-05 Thread Srivastava, Sumit
I have to install Subversion client 1.6.3 on a AIX machine. Is there a
place I can get the pre compiled binaries and just install it?
Otherwise, where can I find the steps to compile the source code and
install svn client.

Please help!

Thanks,
Sumit