1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.322 2009/06/11 19:00:14 tgl Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.323 2009/06/12 15:53:32 tgl Exp $ -->
2
2
3
3
<chapter id="installation">
4
4
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -2053,17 +2053,17 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
2053
2053
</indexterm>
2054
2054
2055
2055
<para>
2056
- PostgreSQL on AIX works , but getting it installed properly can be
2057
- challenging. Both AIX version 4.3 and 5.3 are supported in
2058
- theory. You can use GCC or the native IBM compiler xlc. In
2056
+ PostgreSQL works on AIX, but getting it installed properly can be
2057
+ challenging. AIX versions from 4.3.3 to 6.1 are considered supported.
2058
+ You can use GCC or the native IBM compiler xlc. In
2059
2059
general, using recent versions of AIX and PostgreSQL helps. Check
2060
2060
the build farm for up to date information about which versions of
2061
2061
AIX are known to work.
2062
2062
</para>
2063
2063
2064
2064
<para>
2065
2065
Use the following <command>configure</command> flags in addition
2066
- to your own if you have Readline or libz
2066
+ to your own if you have installed Readline or libz
2067
2067
there: <literal>--with-includes=/usr/local/include
2068
2068
--with-libraries=/usr/local/lib</literal>.
2069
2069
</para>
@@ -2085,17 +2085,54 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
2085
2085
<ulink url="http://www.han.de/~jum/aix/ldd.c"></ulink>.
2086
2086
</para>
2087
2087
2088
- <sect3>
2089
- <title>AIX 4.3.2</title>
2088
+ <para>
2089
+ <xref linkend="AIX-fixlevels"> shows the minimum recommended fix levels
2090
+ for various AIX versions. To check your current fix level, use
2091
+ <command>oslevel -r</command> in AIX 4.3.3 to AIX 5.2 ML 7, or
2092
+ <command>oslevel -s</command> in later versions.
2093
+ </para>
2090
2094
2091
- <para>
2092
- On AIX 4.3.2, you need <filename>libm.a</filename> that is in the
2093
- fileset <literal>bos.adt.libm</>. Try the following command:
2094
- <screen>
2095
- $ lslpp -l bos.adt.libm
2096
- </screen>
2097
- </para>
2098
- </sect3>
2095
+ <table id="AIX-fixlevels">
2096
+ <title>
2097
+ Minimum recommended <systemitem class="osname">AIX</systemitem> fix levels
2098
+ </title>
2099
+
2100
+ <tgroup cols="2">
2101
+ <thead>
2102
+ <row>
2103
+ <entry>AIX version</entry>
2104
+ <entry>fix level</entry>
2105
+ </row>
2106
+ </thead>
2107
+
2108
+ <tbody>
2109
+ <row>
2110
+ <entry>AIX 4.3.3</entry>
2111
+ <entry>Maintenance Level 11 + post ML11 bundle</entry>
2112
+ </row>
2113
+
2114
+ <row>
2115
+ <entry>AIX 5.1</entry>
2116
+ <entry>Maintenance Level 9 + post ML9 bundle</entry>
2117
+ </row>
2118
+
2119
+ <row>
2120
+ <entry>AIX 5.2</entry>
2121
+ <entry>Technology Level 10 Service Pack 3</entry>
2122
+ </row>
2123
+
2124
+ <row>
2125
+ <entry>AIX 5.3</entry>
2126
+ <entry>Technology Level 7</entry>
2127
+ </row>
2128
+
2129
+ <row>
2130
+ <entry>AIX 6.1</entry>
2131
+ <entry>Base Level</entry>
2132
+ </row>
2133
+ </tbody>
2134
+ </tgroup>
2135
+ </table>
2099
2136
2100
2137
<sect3>
2101
2138
<title>GCC issues</title>
@@ -2133,11 +2170,11 @@ $ lslpp -l bos.adt.libm
2133
2170
2134
2171
<para>
2135
2172
The problem was reported to IBM, and is recorded as bug report
2136
- PMR29657. If you upgrade to maintenance level 5300-03, that will
2137
- include this fix. Use the command <literal>oslevel -r</literal>
2138
- to determine what maintenance level you are at. An immediate
2139
- resolution is to alter <symbol>_SS_MAXSIZE</symbol> to = 1025 in
2140
- <filename>/usr/include/sys/socket.h</filename> .
2173
+ PMR29657. If you upgrade to maintenance level 5300-03 or later,
2174
+ that will include this fix. A quick workaround
2175
+ is to alter <symbol>_SS_MAXSIZE</symbol> to 1025 in
2176
+ <filename>/usr/include/sys/socket.h</filename>. In either case,
2177
+ recompile PostgreSQL once you have the corrected header file .
2141
2178
</para>
2142
2179
</sect3>
2143
2180
@@ -2149,7 +2186,8 @@ $ lslpp -l bos.adt.libm
2149
2186
to parse IP addresses in <varname>listen_addresses</>,
2150
2187
<filename>pg_hba.conf</>, etc. Older versions of AIX have assorted
2151
2188
bugs in this function. If you have problems related to these settings,
2152
- updating to the latest fix pack for your AIX release should fix it.
2189
+ updating to the appropriate fix level shown in <xref
2190
+ linkend="AIX-fixlevels"> should take care of it.
2153
2191
</para>
2154
2192
2155
2193
<!-- http://archives.postgresql.org/message-id/6064jt6cfm.fsf_-_@dba2.int.libertyrms.com -->
0 commit comments