I have been writing this article for a long time. I found this article in my mailbox today because I have left my home AIX company. Article So paste it here.
Environment: AIX 5.3.
Go to the Subversion website and download the related packages.
1. Install APR
[/U3/up070427/. cldev/pkgs/APR]>./configure -- prefix =/U3/up070427/. cldev/httpd
[/U3/up070427/. cldev/pkgs/APR]> make
[/U3/up070427/. cldev/pkgs/APR] >>> make install
[/U3/up070427/. cldev/pkgs/APR]> export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH:/U3/up070427/. cldev/subversion/lib
[/U3/up070427/. cldev/pkgs/APR]> export Path = $ path:/U3/up070427/. cldev/subversion/bin
[/U3/up070427/. cldev/pkgs/APR]> CP apr-1-config Apr-config
2. Install Apr-util
[/U3/up070427 /. cldev/pkgs/apr-util-1.3.10] >>>. /configure -- prefix =/U3/up070427 /. cldev/httpd -- With-Apr =/U3/up070427 /. cldev/httpd
[/U3/up070427/. cldev/pkgs/apr-util-1.3.10]> make
[/U3/up070427/. cldev/pkgs/apr-util-1.3.10]> make install
3. zlib
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/zlib]>./configure -- prefix =/U3/up070427/. cldev/subversion-Dep
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/zlib]> make
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/zlib]> make install
4. SQLite-Amalgamation
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/SQLite-amalgamation]>./configure -- prefix =/U3/up070427/. cldev/subversion-Dep
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/SQLite-amalgamation]> make
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/SQLite-amalgamation]> make install
5. Subversion
[/U3/up070427 /. cldev/pkgs/subversion-1.6.15] >>>. /configure -- prefix =/U3/up070427 /. cldev/Subversion -- With-Apr =/U3/up070427 /. cldev/httpd -- With-Apr-util =/U3/up070427 /. cldev/httpd -- With-SQLite =/U3/up070427 /. cldev/subversion-dep -- With-zlib =/U3/up070427 /. cldev/subversion-dep/
[/U3/up070427/. cldev/pkgs/subversion-1.6.15]> make
[/U3/up070427/. cldev/pkgs/subversion-1.6.15]> make install
SVN: Unrecognized URL scheme for... is not available after installation.
No neon package is installed. It seems that everything in subversion-dep needs to be installed.
Not found Libxml2 , And then install
[/U3/up070427/. cldev/pkgs/libxml2-2.7.8]>./configure -- prefix =/U3/up070427/. cldev/subversion-Dep
[/U3/up070427/. cldev/pkgs/libxml2-2.7.8]> make
[/U3/up070427/. cldev/pkgs/libxml2-2.7.8]> make install
[/U3/up070427 /. cldev/pkgs/subversion-1.6.15/neon] >>>. /configure -- prefix =/U3/up070427 /. cldev/subversion-dep -- With-libs =/U3/up070427 /. cldev/subversion-dep/
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/neon]> make
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/neon]> make install
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/neon]> export cflags =-I/U3/up070427/. cldev/subversion-dep/include
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/neon]> export cppflags =-I/U3/up070427/. cldev/subversion-dep/include
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/neon]> export ldflags =-L/U3/up070427/. cldev/subversion-dep/lib
[/U3/up070427 /. cldev/pkgs/subversion-1.6.15/serf] >>>. /configure -- prefix =/U3/up070427 /. cldev/subversion-dep -- With-Apr =/U3/up070427 /. cldev/httpd -- With-Apr-util =/U3/up070427 /. cldev/httpd -- With-zlib =/U3/up070427 /. cldev/subversion-dep/
[/U3/up070427/. cldev/pkgs/subversion-1.6.15/serf]> make
Report during compilation
/Usr/include/OpenSSL/pq_compat.h ", line 1.3: 1506-218 (e) unknown
Preprocessing directive # ibm_prolog_begin_tag.
"/Usr/include/OpenSSL/pq_compat.h", line 2.3: 1506-218 (e) unknown
Preprocessing directive # This.
"/Usr/include/OpenSSL/pq_compat.h", line 4.3: 1506-220 (e) # line value
53ssl985 must contain only decimal digits.
"/Usr/include/OpenSSL/pq_compat.h", line 4.12: 1506-288 (w) expecting
File Name or new-Line Character on # Line directive.
...
Similar error, F ***
Reload OpenSSL Right
./Config -- prefix =/U3/up070427/. cldev/subversion-Dep
During this period, a lot of locale problems were reported.
_ All = "zh_cn.gb18030 ",
Lc1_fastmsg = "true ",
Lang = "en_us"
Are supported and installed on your system.
Perl: Warning: falling back to the standard locale ("C ").
Making links in crypto/modes...
Perl: Warning: Setting locale failed.
Perl: Warning: Please check that your locale settings:
Lc_all = "zh_cn.gb18030 ",
Lc1_fastmsg ="
Make; make install
[/U3/up070427 /. cldev/pkgs/subversion-1.6.15/serf] >>>. /configure -- prefix =/U3/up070427 /. cldev/subversion-dep -- With-Apr =/U3/up070427 /. cldev/httpd -- With-Apr-util =/U3/up070427 /. cldev/httpd -- With-OpenSSL =/U3/up070427 /. cldev/subversion-de
(Indicate the author and source when reprinting. Do not use it for commercial purposes without permission)
For more articles visit my blog: http://www.cnblogs.com/logicbaby