Oracle 5.0 Reference Manual page 195

Table of Contents

Advertisement

After configuring, edit
#define HAVE_SNPRINTF 1
to this:
#undef HAVE_SNPRINTF
And finally, in mysqld.cc, you need to add a prototype for initgroups().
#ifdef _AIX41
extern "C" int initgroups(const char *,int);
#endif
For 32-bit binaries, if you need to allocate a lot of memory to the
to just use
ulimit -d
something like this:
export LDR_CNTRL='MAXDATA=0x80000000'
You can find more information about using a lot of memory at
en_US/aixprggd/genprogc/lrg_prg_support.htm.
Users of AIX 4.3 should use
As of AIX 4.1, the C compiler has been unbundled from AIX as a separate product.
obtained here:
The steps for compiling MySQL on AIX with
particular, the need to edit
running configure, you should also patch the
/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 *);
2.20.5.4. SunOS 4 Notes
On SunOS 4, MIT-pthreads is needed to compile MySQL. This in turn means you need GNU make.
Some SunOS 4 systems have problems with dynamic libraries and libtool. You can use the
following
configure
./configure --disable-shared --with-mysqld-ldflags=-all-static
When compiling readline, you may get warnings about duplicate defines. These can be ignored.
Other Unix Notes
and
config.h
include/my_config.h
unlimited. You may also have to modify
instead of the
gmake
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/
config.h
line to avoid this problem:
utility included with AIX.
make
3.3.2 are similar to those for using
gcc
and
after running configure). However, before
my_config.h
file as follows:
curses.h
175
and change the line that says this:
process, it is not enough
mysqld
to add a line
mysqld_safe
http://publib16.boulder.ibm.com/pseries/
gcc
gcc
3.3.2 can be
2.95 (in

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents