Building Encryption Libraries

FIS neither encourages nor supports the use of any specific encryption library. In order to be helpful, here is how we created the libraries for testing GT.M in the development environment.

Debian, Ubuntu, RedHat and Fedora

Packages were installed from standard repositories using the package manager.

IBM AIX 7.1 (pSeries)

Dependencies: Building the encryption libraries on AIX requires GNU Make and IBM's xlc compiler toolchain.

GPG-ERROR

./configure CC=cc CFLAGS=-q64 ($OBJECT_MODE=64)

GCRYPT

./configure CC="xlc -q64" --disable-asm ($OBJECT_MODE=64)/ or CC=cc CFLAGS=-q64

CRYPTO (From OpenSSL)

These instructions build OpenSSL which provides libcrypto.

./Configure aix64-cc shared # Note: it is an upper case C 
.make 
(as root) make install 

GPGME

GPGME requires a source level fix to use the proper malloc() that requires an include for stdlib.h in the include section of version.c. Then:

./configure CC="xlc -q64" --disable-asm ($OBJECT_MODE=64)/ or CC=cc CFLAGS=-q64 

GNUPG

GPG on AIX requires the setuid bit to be set. This can be done via chmod u+s /path/to/gpg. Please see http://www.gnupg.org/documentation/faqs.en.html#q6.1

./configure CC="xlc -q64" --disable-asm ($OBJECT_MODE=64) or CC=cc CFLAGS=-q64