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

RE: Compile/Install Subversion client on AIX

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Mon, 8 Mar 2010 11:19:34 +0000

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

________________________________

        From: Srivastava, Sumit [mailto:SSrivastava1_at_cvs.com]
        Sent: 05 March 2010 17:15
        To: users_at_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
Received on 2010-03-08 12:20:11 CET

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