Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SVN on AIX ?

Status
Not open for further replies.

hfaix

MIS
Nov 25, 2003
596
US
Has anyone successfully compiled or installed SVN on AIX (5.3)?

I'm trying to compile it as per the instructions, however I keep getting a "configure: error: subversion requires zlib" even though I downloaded and extracted the dependency packages (with zlib).

Any thoughts? I found a couple hits "the" google that say :

cd zlib
../configure --prefix=...
make install
cd ..
../configure --prefix=<the_same_as_above>

What am I supposed to put in the prefix?



 
Does anybody use SVN (subversion)?

I got in installed on Fedora 7 in about 40 minutes. I have about 8 hours into getting it running on AIX 5.3...no luck yet.
 
I managed to get svn running on 4.3.3 but compiling from source. I used the Linux utilities for 4.3.3 for packages like zlib. I couldn't get the apache support working though and the SVN community are pretty useless when it comes to supporting AIX, HP-UX or Solaris.

I vaguely remember that ./configure had the option of numerous flags, but the most important ones were those relating to shared libraries, there may even be specific flags for zlib's existance and/or path.

If I get an opportunity I will see if I can find a note about the build process I used to build an svn server on the rather older 4.3.3.
 
Thanks for the post. I've gotten a lot further now. I pulled down gcc and gcc++ (and several pre-reqs) to try a different compiler. That seems to have done the trick. I was using IBM compilers.
 
we got it to compile here, by using the deps package.

i noticed the same thing, it wouldn't find my zlib right off the bat.
 
I wouldn't be doing tek-tips any service, if I didn't post how I got this working. It took a bit of tinkering, but it works. Note, this may not work for everyone...but it works for me. I did this on 5.3 TL5SP4 servers.

1) mkdir /usr/svn
2) cd /usr/svn
3) download subversion-deps-1.4.3.tar.gz and subversion-1.4.3.tar.gz from the subversion website.
4) gunzip subversion-deps-1.4.3.tar.gz #needs downloaded first
5) gunzip subversion-1.4.3.tar.gz #needs downloaded first
6) tar -xvf subversion-1.4.3.tar
7) tar -xvf subversion-deps-1.4.3.tar
8) chown -R root:system /usr/svn/subversion-1.4.3/

9) download necessary compiler pre-reqs from IBM Linux Toolbox for AIX

10) rpm –i gcc-4.0.0-1.aix5.3.ppc.rpm
11) rpm –i libgcc-4.0.0-1.aix5.3.ppc.rpm
12) rpm –i libstdcplusplus-4.0.0-1.aix5.3.ppc.rpm
13) rpm –i libstdcplusplus-devel-4.0.0-1.aix5.3.ppc.rpm
14) rpm -i gcc-cplusplus-4.0.0-1.aix5.3.ppc.rpm

15) mkdir /usr/svn/custom
16) cd /usr/svn/subversion-1.4.3/zlib
17) ./configure --prefix /usr/svn/custom #configures
18) ./configure –s --prefix /usr/svn/custom #configures with shared libs
19) make
20) make install

21) cd ..
22) ./configure --prefix /usr/svn/custom
23) make
24) make install

TEST..
25) PATH=/usr/svn/custom/bin:$PATH
26) svn --version





 
hfaix,

Your directions were great.

I followed them to install svn subversion-1.4.3 on AIX 5.2 ML8.
Replacing the 5.3 rpms with the 5.2 rpms.

I was getting these errors below
(When running step 22 ./configure --prefix /usr/svn/custom)

checking for _doprnt... yes
checking for symlink... yes
checking for readlink... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
configure: error: subversion requires zlib


and


(when running step 24 make install )

exec(): 0509-036 Cannot load program /usr/svn/subversion-1.4.3/subversion/svnversion/.libs/lt-svnversion because of the following errors:
0509-022 Cannot load module /usr/svn/subversion-1.4.3/subversion/libsvn_delta/.libs/libsvn_delta-1.so.
0509-150 Dependent module /usr/svn/custom/lib/libz.a(libz.so.1) could not be loaded.
0509-152 Member libz.so.1 is not found in archive
make: 1254-004 The error code from the last command is 255.



I did two things to fix these errors not sure which one actually fixed what.



1. removed the /usr/svn/custom with failed build content

2. download zlib and untar it under /usr/local.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top