Oracle 5.0 Reference Manual page 197

Table of Contents

Advertisement

gnumake install
scripts/mysql_install_db
2.20.5.6. Alpha-DEC-OSF/1 Notes
If you have problems compiling and have DEC
CC=cc CFLAGS=-O CXX=gcc CXXFLAGS=-O3 \
./configure --prefix=/usr/local/mysql
If you get problems with the
touch include/c_asm.h
CC=gcc CFLAGS=-I./include \
CXX=gcc CXXFLAGS=-O3 \
./configure --prefix=/usr/local/mysql
Note that the following problems with the
(Compaq) patch kit from: http://ftp.support.compaq.com/public/unix/.
On OSF/1 V4.0D and compiler "DEC C V5.6-071 on Digital Unix V4.0 (Rev. 878)," the compiler had
some strange behavior (undefined
_exit undefined
compile MySQL with the following
4.0C:
CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure --prefix=/usr/local/mysql
With the Digital compiler "C++ V6.1-029," the following should work:
CC=cc -pthread
CFLAGS=-O4 -ansi_alias -ansi_args -fast -inline speed \
-speculate all -arch host
CXX=cxx -pthread
CXXFLAGS=-O4 -ansi_alias -ansi_args -fast -inline speed \
-speculate all -arch host -noexceptions -nortti
export CC CFLAGS CXX CXXFLAGS
./configure --prefix=/usr/mysql/mysql \
In some versions of OSF/1, the
that defines 'HAVE_ALLOCA'.
config.h
The
alloca()
warning resulting from this can be ignored.
configure
lpthread -lmach -lexc
When using gcc, you can also try running
CFLAGS=-D_PTHREAD_USE_D4 CXX=gcc CXXFLAGS=-O3 ./configure ...
If you have problems with signals (MySQL dies unexpectedly under high load), you may have found
an OS bug with threads and signals. In this case, you can tell MySQL not to use signals by configuring
with:
CFLAGS=-DDONT_USE_THR_ALARM \
CXXFLAGS=-DDONT_USE_THR_ALARM \
./configure ...
This does not affect the performance of MySQL, but has the side effect that you can't kill clients that
are "sleeping" on a connection with
client dies when it issues its next command.
c_asm.h
asm
errors occurring while linking mysqld). On this system, we have managed to
configure
--with-mysqld-ldflags=-all-static --disable-shared \
--with-named-thread-libs="-lmach -lexc -lc"
alloca()
function also may have an incorrect prototype in /usr/include/alloca.h. This
uses the following thread libraries automatically:
-lc".
mysqladmin kill
Other Unix Notes
and
installed, try running
CC
gcc
file, you can create and use a 'dummy'
program can be fixed by downloading the latest DEC
ld
symbols).
also appears to be broken (problems with
/bin/ld
line, after replacing
function is broken. Fix this by removing the line in
like this:
configure
or
mysqladmin
177
configure
c_asm.h
with the version from OSF
/bin/ld
--with-named-thread-libs="-
shutdown. Instead, the
like this:
file with:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents