AIX and Subversion - it's possible

by Jörg Jooss 10. August 2005 08:02

Since my current project requires a Subversion client on AIX 5.3, and there are no binary distributions available for this platform, I decided to give it a shot today. My expectations weren't exactly high… I had read through the Subversion users' mailing list archive, and it seemed as though AIX and Subversion were not really your RCS dream team. But low expectations can hardly be not met, so I grabbed the 1.2.1 tarball, unpacked it and typed the fateful word ./configure.

1st interlude: The good news is that the Subversion package is pretty much self-contained. You'll need an extra installation of Berkeley DB if you want to build a server with a BDB backend, but if you just need the client or if FSFS is your preferred backend (it's mine for sure), that single tarball is all you'll ever need.

2nd interlude: The bad news is that Subversion's configure checks, checks again and double checks your system for C compilers, FORTRAN compilers (excuse me Surprised), BDB installations, and arcane UNIX tools that it takes ages to finish. I don't know how many CPUs I had available (probably just one due to micro-partitioning), but it took three and a half hours to spit out the Makefile. Yes, there are tons of switches you can pass to configure that will skip certain steps and thus speed up the process, but if you follow the INSTALL file's instructions in quick start mode, you're going to miss them…

The actual build then went pretty fast, I guess less than 30 minutes using IBM's AIX C compiler. And the build didn't fail! Lo and behold, svn even worked right away.

Morale of the story:

  1. Binary distributions are for wimps.
  2. Any build tool not called make is for wimps.
  3. The euphoria doesn't wear off even hours later.

Wink

Tags:

Software Construction

Comments (1) -

Noryungi
Noryungi
7/26/2007 10:28:31 AM #

Trying to compile svn 1.4.4 on both AIX 5.3 and AIX 5.2 machines is very painful... Do you have a configure line that you know works by any chance? Thanks in advance!

noryungi [at] yahoo [dot] com

Comments are closed

Page List

RecentPosts

Disclaimer

The posts on this weblog are provided "AS IS" with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

 

© Copyright 2010, Jörg Jooss