Author: paul
Date: 2006-04-17 18:45:26 +0200 (Mon, 17 Apr 2006)
New Revision: 1842
Log:
r4505@kite-hub: paul | 2006-04-17 11:44:00 -0500
Add info about using gcc 3.2.2 to compile MySQL on AIX. (Bug#15938)
Modified:
trunk/
trunk/refman-4.1/installing.xml
trunk/refman-5.0/installing.xml
trunk/refman-5.1/installing.xml
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:6700
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:9486
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:4468
+ 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:6700
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:9486
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:4505
Modified: trunk/refman-4.1/installing.xml
===================================================================
--- trunk/refman-4.1/installing.xml 2006-04-17 16:14:23 UTC (rev 1841)
+++ trunk/refman-4.1/installing.xml 2006-04-17 16:45:26 UTC (rev 1842)
@@ -10200,7 +10200,7 @@
UNIX socket var/lib/mysql/mysql.sock
Uptime: 5 days 19 hours 19 min 0 sec
-Threads: 1 Questions: 163 Slow queries: 0
+Threads: 1 Questions: 163 Slow queries: 0
Opens: 11 Flush tables:1 Open tables: 0 Queries per second avg: 0.007
Threads: 1 Questions: 9 Slow queries: 0
</programlisting>
@@ -17740,8 +17740,8 @@
</para>
<para>
- The UnixWare 7 file size limit is 1 TB with VXFS.
- Some OS utilities have a limitation of 2GB.
+ The UnixWare 7 file size limit is 1 TB with VXFS. Some OS
+ utilities have a limitation of 2GB.
</para>
<para>
Modified: trunk/refman-5.0/installing.xml
===================================================================
--- trunk/refman-5.0/installing.xml 2006-04-17 16:14:23 UTC (rev 1841)
+++ trunk/refman-5.0/installing.xml 2006-04-17 16:45:26 UTC (rev 1842)
@@ -9962,8 +9962,8 @@
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 14 days 5 hours 5 min 21 sec
-Threads: 1 Questions: 366 Slow queries: 0
-Opens: 0 Flush tables: 1 Open tables: 19
+Threads: 1 Questions: 366 Slow queries: 0
+Opens: 0 Flush tables: 1 Open tables: 19
Queries per second avg: 0.000
</programlisting>
@@ -15332,6 +15332,51 @@
of the <command>make</command> utility included with AIX.
</para>
+ <para>
+ As of AIX 4.1, the C compiler has been unbundled from AIX as a
+ separate product. We recommend using <command>gcc</command>
+ 3.3.2, which can be obtained here:
+ <ulink url="ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/"/>
+ </para>
+
+ <para>
+ The steps for compiling MySQL on AIX with
+ <command>gcc</command> 3.3.2 are similar to those for using
+ <command>gcc</command> 2.95 (in particular, the need to edit
+ <filename>config.h</filename> and
+ <filename>my_config.h</filename> after running
+ <command>configure</command>). However, before running
+ <command>configure</command>, you should also patch the
+ <filename>curses.h</filename> file as follows:
+ </para>
+
+<programlisting>
+/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/curses.h.ORIG
+ Mon Dec 26 02:17:28 2005
+--- /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/curses.h
+Mon Dec 26 02:40:13 2005
+***************
+*** 2023,2029 ****
+
+
+ #endif /* _AIX32_CURSES */
+! #if defined(__USE_FIXED_PROTOTYPES__) || defined(__cplusplus) || defined
+(__STRICT_ANSI__)
+ extern int delwin (WINDOW *);
+ extern int endwin (void);
+ extern int getcurx (WINDOW *);
+--- 2023,2029 ----
+
+
+ #endif /* _AIX32_CURSES */
+! #if 0 && (defined(__USE_FIXED_PROTOTYPES__) || defined(__cplusplus)
+|| defined
+(__STRICT_ANSI__))
+ extern int delwin (WINDOW *);
+ extern int endwin (void);
+ extern int getcurx (WINDOW *);
+</programlisting>
+
</section>
<section id="sunos">
@@ -16772,8 +16817,8 @@
</para>
<para>
- The UnixWare 7 file size limit is 1 TB with VXFS.
- Some OS utilities have a limitation of 2GB.
+ The UnixWare 7 file size limit is 1 TB with VXFS. Some OS
+ utilities have a limitation of 2GB.
</para>
<para>
Modified: trunk/refman-5.1/installing.xml
===================================================================
--- trunk/refman-5.1/installing.xml 2006-04-17 16:14:23 UTC (rev 1841)
+++ trunk/refman-5.1/installing.xml 2006-04-17 16:45:26 UTC (rev 1842)
@@ -9929,8 +9929,8 @@
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 14 days 5 hours 5 min 21 sec
-Threads: 1 Questions: 366 Slow queries: 0
-Opens: 0 Flush tables: 1 Open tables: 19
+Threads: 1 Questions: 366 Slow queries: 0
+Opens: 0 Flush tables: 1 Open tables: 19
Queries per second avg: 0.000
</programlisting>
@@ -14766,6 +14766,51 @@
of the <command>make</command> utility included with AIX.
</para>
+ <para>
+ As of AIX 4.1, the C compiler has been unbundled from AIX as a
+ separate product. We recommend using <command>gcc</command>
+ 3.3.2, which can be obtained here:
+ <ulink url="ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/"/>
+ </para>
+
+ <para>
+ The steps for compiling MySQL on AIX with
+ <command>gcc</command> 3.3.2 are similar to those for using
+ <command>gcc</command> 2.95 (in particular, the need to edit
+ <filename>config.h</filename> and
+ <filename>my_config.h</filename> after running
+ <command>configure</command>). However, before running
+ <command>configure</command>, you should also patch the
+ <filename>curses.h</filename> file as follows:
+ </para>
+
+<programlisting>
+/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/curses.h.ORIG
+ Mon Dec 26 02:17:28 2005
+--- /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/curses.h
+Mon Dec 26 02:40:13 2005
+***************
+*** 2023,2029 ****
+
+
+ #endif /* _AIX32_CURSES */
+! #if defined(__USE_FIXED_PROTOTYPES__) || defined(__cplusplus) || defined
+(__STRICT_ANSI__)
+ extern int delwin (WINDOW *);
+ extern int endwin (void);
+ extern int getcurx (WINDOW *);
+--- 2023,2029 ----
+
+
+ #endif /* _AIX32_CURSES */
+! #if 0 && (defined(__USE_FIXED_PROTOTYPES__) || defined(__cplusplus)
+|| defined
+(__STRICT_ANSI__))
+ extern int delwin (WINDOW *);
+ extern int endwin (void);
+ extern int getcurx (WINDOW *);
+</programlisting>
+
</section>
<section id="sunos">
@@ -16206,8 +16251,8 @@
</para>
<para>
- The UnixWare 7 file size limit is 1 TB with VXFS.
- Some OS utilities have a limitation of 2GB.
+ The UnixWare 7 file size limit is 1 TB with VXFS. Some OS
+ utilities have a limitation of 2GB.
</para>
<para>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r1842 - in trunk: . refman-4.1 refman-5.0 refman-5.1 | paul | 17 Apr |