Oracle 5.0 Reference Manual page 196

Table of Contents

Advertisement

When compiling mysqld, there are some
can be ignored.
2.20.5.5. Alpha-DEC-UNIX Notes (Tru64)
If you are using
has some serious bugs!
When compiling threaded programs under Digital Unix, the documentation recommends using the
option for
pthread
should run
configure
CC="cc -pthread" CXX="cxx -pthread -O" \
./configure --with-named-thread-libs="-lpthread -lmach -lexc -lc"
When compiling mysqld, you may see a couple of warnings like this:
mysqld.cc: In function void handle_connections()':
mysqld.cc:626: passing long unsigned int *' as argument 3 of
accept(int,sockadddr *, int *)'
You can safely ignore these warnings. They occur because
warnings.
If you start the server directly from the command line, you may have problems with it dying when you
log out. (When you log out, your outstanding processes receive a
server like this:
nohup mysqld [options] &
causes the command following it to ignore any
nohup
Alternatively, start the server by running mysqld_safe, which invokes
See
Section 4.3.2,
If you get a problem when compiling mysys/get_opt.c, just remove the
from the start of that file.
If you are using Compaq's CC compiler, the following
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/local/mysql \
--with-low-memory \
--enable-large-files \
--enable-shared=yes \
--with-named-thread-libs="-lpthread -lmach -lexc -lc"
gnumake
If you get a problem with
mysql, you should be able to get around this by issuing these commands:
cd mysql
/bin/sh ../libtool --mode=link cxx -pthread
-O4 -ansi_alias -ansi_args -fast -inline speed \
-speculate all \ -arch host
-o mysql
../readline/libreadline.a -lcurses \
../libmysql/.libs/libmysqlclient.so
cd ..
gnumake
Other Unix Notes
1.1.2 on Digital Unix, you should upgrade to
egcs
and
and the
cc
cxx
something like this:
"mysqld_safe
— MySQL Server Startup
when compiling with shared libraries as just shown, when linking
libtool
-DUNDEF_HAVE_GETHOSTBYNAME_R \
mysql.o readline.o sql_string.o completion_hash.o \
implicit declaration of function
libraries (in addition to -lpthread). You
-lmach -lexc
configure
SIGHUP
Script".
configure
-O3 -DDBUG_OFF \
-lm
176
2.95.2, because
gcc
can detect only errors, not
signal.) If so, try starting the
SIGHUP
signal sent from the terminal.
using
mysqld
#define _NO_PROTO
line should work:
warnings. These
on DEC
egcs
-
for you.
nohup
line

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents