Oracle 5.0 Reference Manual page 191

Table of Contents

Advertisement

CFLAGS=-pthread CXXFLAGS=-pthread ./configure --with-mit-threads=no
2.20.4.4. BSD/OS Version 2.x Notes
If you get the following error when compiling MySQL, your
item_func.h: In method
`Item_func_ge::Item_func_ge(const Item_func_ge &)':
item_func.h:28: virtual memory exhausted
make[2]: *** [item_func.o] Error 1
Try using
ulimit -v 80000
switching to
If you are using gcc, you may also use have to use the
configure
If you get problems with the current date in MySQL, setting the
Section 2.21, "Environment
2.20.4.5. BSD/OS Version 3.x Notes
Upgrade to BSD/OS 3.1. If that is not possible, install BSDIpatch M300-038.
Use the following command when configuring MySQL:
env CXX=shlicc++ CC=shlicc2 \
./configure \
--prefix=/usr/local/mysql \
--localstatedir=/var/mysql \
--without-perl \
--with-unix-socket-path=/var/mysql/mysql.sock
The following is also known to work:
env CC=gcc CXX=gcc CXXFLAGS=-O3 \
./configure \
--prefix=/usr/local/mysql \
--with-unix-socket-path=/var/mysql/mysql.sock
You can change the directory locations if you wish, or just use the defaults by not specifying any
locations.
If you have problems with performance under heavy load, try using the
[422]
priority
gives better performance, at least until BSDI fixes its thread scheduler.
If you get the error
and running
v 80000
sh; some BSDI users have reported problems with
2.20.4.6. BSD/OS Version 4.x Notes
BSDI 4.x has some thread-related bugs. If you want to use MySQL on this, you should install all thread-
related patches. At least M400-023 should be installed.
On some BSDI 4.x systems, you may get problems with shared libraries. The symptom is that you can't
execute any client programs, for example, mysqladmin. In this case, you need to reconfigure not to
use shared libraries with the
Some customers have had problems on BSDI 4.0.1 that the
tables. This occurs because some library/system-related bug causes
directory without having asked for that to happen.
and run
or sh; some BSDI users have reported problems with
csh
to be able to compile sql_yacc.cc.
Variables".
option to mysqld. This runs all threads with the same priority. On BSDI 3.1, this
virtual memory exhausted
again. If this doesn't work and you are using bash, try switching to
make
--disable-shared
BSD Notes
ulimit
again. If this doesn't work and you are using bash, try
make
--with-low-memory
while compiling, you should try using
and ulimit.
bash
option to configure.
mysqld
171
value for virtual memory is too low:
and ulimit.
bash
[124]
flag for
variable should help. See
TZ
--skip-thread-
binary after a while can't open
to change current
mysqld
ulimit -
or
csh

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents