diff options
author | Bruce Momjian | 2000-04-17 18:05:00 +0000 |
---|---|---|
committer | Bruce Momjian | 2000-04-17 18:05:00 +0000 |
commit | f6943a9f2b71b6e01e438a5bad287cf2aaf1a449 (patch) | |
tree | 3d1ac889a406678d4208aea615eb43331d35a2af /doc/FAQ_AIX | |
parent | b39c6d002c55bfa5ef57a776b657147968476b6f (diff) |
Aix patches from Zeugswetter Andrea
Diffstat (limited to 'doc/FAQ_AIX')
-rw-r--r-- | doc/FAQ_AIX | 45 |
1 files changed, 17 insertions, 28 deletions
diff --git a/doc/FAQ_AIX b/doc/FAQ_AIX index 56d1dd5df08..6699bfa26d6 100644 --- a/doc/FAQ_AIX +++ b/doc/FAQ_AIX @@ -1,34 +1,23 @@ From: ZEUGSWETTER Andreas IZ5 <[email protected]> -To: "'Thomas Lockhart'" <[email protected]> -Cc: "'[email protected]'" <[email protected]> -Subject: Re: [HACKERS] Call for updates! -Date: Tue, 14 September 1999 +Mon Apr 17 14:01:23 EDT 2000 -> Hi. I'd like to update the ports list in the docs to include -> references to v6.5 for the various platforms for which PostgreSQL-6.5b -> has been tested. - -PostgreSQL 6.5.2 compiles and regresses ok on AIX 4.3.2 -using the IBM compiler. -gcc has problems with shared libs that are not easily resolved. +AIX 4.3.2 with native IBM compiler xlc 3.6.4 passes all regression tests. +Other versions of OS and compiler should also work. If you don't have +a powerpc there might be differences in the geometry regression test. -The following regression tests fail because of different rounding -behavior or error messages: -int2 .. failed -- same as int2-i386-netbsd.out -int4 .. failed -- same as int4-i386-netbsd.out -geometry .. failed -- Some Zero Values with minus sign (-0) -abstime .. failed -tinterval .. failed -horology .. failed +Use the following configure flags in addition to your own: +./configure --without-CXX +and if you have readline there: +--with-includes=/usr/local/include --with-libraries=/usr/local/lib -It has the following problems: +libpq++ does not work because xlC does not have the string and bool classes. +compiling the few files, that fail, with g++ does work. -1. AIX has int8,int16,int32,int64 in /usr/include/inttypes.h - --> configure fails to find snprintf support for int8 - (because it includes stdio.h) - I feel this is an IBM problem. I changed my /usr/include/inttypes.h - Either do that or comment out int8-int32 in src/include/c.h. - -2. libpq++ does not work because xlC does not have the string and bool classes. - it does compile/work with gcc +Compiling PostgreSQL with gcc (2.95.2) on AIX does work if you use the +configure +option: --template=aix_gcc + +With the current compiler flags the redefines of int8 - int64 that prior +versions +had a problem with are not a problem any more. |