Other Unix Notes
172
The fix is to either upgrade MySQL to at least version 3.23.34 or, after running
configure
, remove
the line
#define HAVE_REALPATH
from
config.h
before running
make
.
Note that this means that you can't symbolically link a database directories to another database
directory or symbolic link a table to another database on BSDI. (Making a symbolic link to another disk
is okay).
2.20.5. Other Unix Notes
2.20.5.1. HP-UX Version 10.20 Notes
If you install MySQL using a binary tarball distribution on HP-UX, you may run into trouble even before
you get the MySQL distribution unpacked, as the HP-UX
tar
cannot handle long file names. This
means that you may see errors when you try to unpack MySQL.
If this occurs, you must use GNU
tar
(
gtar
) to unpack the distribution.
There are a couple of small problems when compiling MySQL on HP-UX. Use
gcc
instead of the HP-
UX native compiler, because
gcc
produces better code.
Use
gcc
2.95 on HP-UX. Do not use high optimization flags (such as
-O6
) because they may not be
safe on HP-UX.
The following
configure
line should work with
gcc
2.95:
CFLAGS="-I/opt/dce/include -fpic" \
CXXFLAGS="-I/opt/dce/include -felide-constructors -fno-exceptions \
-fno-rtti" \
CXX=gcc \
./configure --with-pthread \
--with-named-thread-libs='-ldce' \
--prefix=/usr/local/mysql --disable-shared
The following
configure
line should work with
gcc
3.1:
CFLAGS="-DHPUX -I/opt/dce/include -O3 -fPIC" CXX=gcc \
CXXFLAGS="-DHPUX -I/opt/dce/include -felide-constructors \
-fno-exceptions -fno-rtti -O3 -fPIC" \
./configure --prefix=/usr/local/mysql \
--with-extra-charsets=complex --enable-thread-safe-client \
--enable-local-infile --with-pthread \
--with-named-thread-libs=-ldce --with-lib-ccflags=-fPIC
--disable-shared
2.20.5.2. HP-UX Version 11.x Notes
If you install MySQL using a binary tarball distribution on HP-UX, you may run into trouble even before
you get the MySQL distribution unpacked, as the HP-UX
tar
cannot handle long file names. This
means that you may see errors when you try to unpack MySQL.
If this occurs, you must use GNU
tar
(
gtar
) to unpack the distribution.
Because of some critical bugs in the standard HP-UX libraries, you should install the following patches
before trying to run MySQL on HP-UX 11.0:
PHKL_22840 Streams cumulative
PHNE_22397 ARPA cumulative
This solves the problem of getting
EWOULDBLOCK
from
recv()
and
EBADF
from
accept()
in
threaded applications.
If you are using
gcc
2.95.1 on an unpatched HP-UX 11.x system, you may get the following error:
In file included from /usr/include/unistd.h:11,
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...