diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/INSTALL.AIX | 80 |
1 files changed, 43 insertions, 37 deletions
diff --git a/cpp/INSTALL.AIX b/cpp/INSTALL.AIX index af67b84c6ed..2a0c61267b0 100644 --- a/cpp/INSTALL.AIX +++ b/cpp/INSTALL.AIX @@ -21,43 +21,52 @@ C compiler Third-party libraries --------------------- -- Berkeley DB 4.1.25 or 4.2.52 with C++ support enabled, and built - with a C++ compiler compatible with the one you are using. The - Berkeley DB source distribution can be downloaded from +- Berkeley DB 4.1.25 or 4.2.52 with C++ support enabled, and built + with a C++ compiler compatible with the one you are using. + The Berkeley DB source distribution can be downloaded from http://www.sleepycat.com We recommend to configure and build Berkeley DB with: - - $ ../dist/configure --enable-cxx --enable-posixthreads + $ ../dist/configure --enable-cxx --enable-posixmutexes (plus --prefix=<dir> and/or --enable-java if you like) - $ gmake For 64 bit builds, use: - $ export OBJECT_MODE=64 - $ ../dist/configure --enable-cxx --enable-posixthreads + $ ../dist/configure --enable-cxx --enable-posixmutexes (plus --prefix=<dir> and/or --enable-java if you like) $ gmake -- OpenSSL 0.9.6 or OpenSSL 0.9.7. Source distributions can be - downloaded from http://www.openssl.org. You should also be able to - use the openssl distribution for AIX 5.1 available in the "AIX - Toolbox for Linux Applications" (cryptographic section): +- OpenSSL + Unfortunately you cannot use openssl-0.9.6m-1 from the "AIX Toolbox + for Linux Applications" (cryptographic section), as it was improperly + built with cc instead of xlc_r. We expect that the next revision of + this package will be built properly. + + In the meantime, for 32 bit builds, we recommend to use OpenSSL + 0.9.6m with the IBM patches available at http://www.ibm.com/servers/aix/products/aixos/linux/ezinstall.html - + (crypto section), following the IBM instructions (from openssl.spec) + but using xlc_r (instead of cc) and with a new SHLIB_MAJOR version + to avoid conflict with the OpenSSL installed on your system + (typically used by OpenSSH). + + For 64 bit builds, we recommend to use OpenSSL 0.9.7d (or later). + You can download the source distribution from http://www.openssl.org. + - expat 1.9x, which can be downloaded from http://sourceforge.net/projects/expat. - You can also use the binary distribution for AIX 5.1 available in - the "AIX Toolbox for Linux Applications": + You can also use the binary distribution for AIX 5.1 available + in the "AIX Toolbox for Linux Applications": http://www.ibm.com/servers/aix/products/aixos/linux/ezinstall.html -- bzip2 1.0. The source distribution can be downloaded from +- bzip2 1.0 + The source distribution can be downloaded from http://sources.redhat.com/bzip2 - For 32 bit builds, you can also use the binary distribution from the - "AIX Toolbox for Linux Applications". + For 32 bit builds, you can also use the binary distribution from + the "AIX Toolbox for Linux Applications". GNU Make 3.80 @@ -70,8 +79,8 @@ Make from the "AIX Toolbox for Linux Applications". Python 2.2 or 2.3 ----------------- -To run the automated test suite, you will need Python 2.2 or 2.3. If -you have no interest in running the test scripts, Python is not +To run the automated test suite, you will need Python 2.2 or 2.3. If +you have no interest in running the test scripts, Python is not required. You can download Python from the "AIX Toolbox for Linux Applications". @@ -100,9 +109,10 @@ Now you're ready to build Ice: $ gmake This will build the Ice core library, all add-ons, all tests, and all -examples. +examples. + -After a successful build, you can run the test suite, provided that +After a successful build, you can run the test suite, provided that you installed Python: $ gmake test @@ -120,34 +130,29 @@ PATH and "lib" to LIBPATH: $ export PATH=`pwd`/bin:$PATH $ export LIBPATH=`pwd`/lib:$LIBPATH - ====================================================================== Library versioning ====================================================================== - Ice uses the same library versioning convention as the packages -distributed in the "AIX Toolbox for Linux Applications". See: - +distributed in the "AIX Toolbox for Linux Applications". +See http://www-124.ibm.com/pipermail/aixtoolbox-list/2004-June/001789.html - ====================================================================== 64 bit builds ====================================================================== To build Ice in 64 bit mode, you need to: -- Obtain or build all the third party dependencies. A number of - packages from the "AIX Toolbox for Linux Applications" provide both - 32 and 64 bit shared objects in the same archive libraries. For - example: - +- Obtain or build all the third party dependencies. A number of + packages from the "AIX Toolbox for Linux Applications" provide both + 32 and 64 bit shared objects in the same archive libraries. + For example: $ ar -t -X32_64 /opt/freeware/lib/libexpat.a libexpat.so.0 libexpat.so.0 - Set the environment variable OBJECT_MODE to 64, e.g.: - $ export OBJECT_MODE=64 - Build and test as described above. @@ -161,7 +166,8 @@ Simply run "gmake install". This will install Ice in the "prefix" directory specified in the file Make.rules. After installation, make sure that the <prefix>/bin directory is in -your PATH, and the <prefix>/lib directory is in your LIBPATH. When -compiling Ice programs, you must also make sure to pass the location -of the <prefix>/include directory to the compiler with the -I option, -and the location of the <prefix>/lib directory with the -L option. +your PATH, and the <prefix>/lib directory is in your +LIBPATH. When compiling Ice programs, you must also make sure +to pass the location of the <prefix>/include directory to the compiler +with the -I option, and the location of the <prefix>/lib directory +with the -L option. |