]> granicus.if.org Git - postgresql/commitdiff
Aix patches from Zeugswetter Andrea
authorBruce Momjian <bruce@momjian.us>
Mon, 17 Apr 2000 18:05:00 +0000 (18:05 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 17 Apr 2000 18:05:00 +0000 (18:05 +0000)
doc/FAQ_AIX

index 56d1dd5df08e98b370dd899bf8f5dbb31beb0a8b..6699bfa26d646229f5e68f08349de06c7d9045a9 100644 (file)
@@ -1,34 +1,23 @@
 From: ZEUGSWETTER Andreas IZ5 <Andreas.Zeugswetter@telecom.at>
-To: "'Thomas Lockhart'" <lockhart@alumni.caltech.edu>
-Cc: "'hackers@postgresql.org'" <hackers@postgresql.org>
-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.