Monday, August 24, 2009

OpenSSL & OpenSSH Installation (From Source)

Installing ssl and ssh will be somehow straightforward task after installing the AIX Linux Toolbox. Both openssl and openssh source tar balls support AIX 6, means that, it correctly guesses the machine type and operating system without modification any config file. Giving an installation directory (i.e. prefix) when installing a program from the source is a good practice. Otherwise 'make install' command scatters the files to various directories (/usr/bin, /usr/lib, etc.) and removing the s/w can be very tedious task in such a case.

OpenSSL

./config --prefix=/www/ssl -shared
make
make install

giving the -shared parameter will be a good idea in order to have shared object library files.

OpenSSH

./config --prefix=/www/ssh --with-ssl-dir
make
make install

Thursday, August 6, 2009

Apache-PHP Compilation in AIX 6.1

coming soon..

cc1 "out of memory allocating" bytes "after a total of" parse_date.lo

You can TRY turning off all optimizations when building. (remove all -O flags from CFLAGS) That tends to require less memory. (ref http://forums.vpslink.com/gentoo/324-problems-mysql-php-vsplink2.html)

http://bugs.php.net/bug.php?id=35863&edit=1

[6 Jan 2006 10:06am UTC] derick@php.net
Objection
You shouldn't try to outsmart our configure by specifying your own
CFLAGS. Apparently GCC does some very heavy optimizations with -Os that
use a lot of memory for our complex parser for date and time strings,
and you don't have enough memory for this.