Go to the first, previous, next, last section, table of contents.
The current port is only tested on a 'sco3.2v5.0.4' system.
There has also been a lot of progress on a port to 'sco 3.2v4.2'.
-
For OpenServer 5.0.X You need to use GDS in Skunkware 95 (95q4c). This
is necessary because GNU gcc 2.7.2 in Skunkware 97 does not have GNU
as.
-
You need the port of GCC 2.5.? for this product and the Developement
system. They are required on this version of SCO UNIX. You can not
just use the GCC Dev system.
-
One should get FSU thread package and install this first. This can be
found at:
http://www.cs.wustl.edu/~schmidt/ACE_wrappers/FSU-threads.tar.gz
You can also get a precompiled package from:
ftp://www.tcx.se/pub/mysql/Downloads/SCO/FSU-threads-3.5c.tar.gz
-
FSU pthreads can be compiled with SCO UNIX 4.2 with tcpip. Or
OpenServer 3.0 or Open Desktop 3.0 (OS 3.0 ODT 3.0), with the SCO
Developement System installed using a good port of GCC 2.5.X ODT or OS
3.0 you will need a good port of GCC 2.5.? There are a lot of problems
without a good port. The port for this product requires the SCO UNIX
Developement system. Without it, you are missing the libraries and the
linker that is needed.
-
To build FSU pthreads in your system do the following:
-
Run ./configure in threads/src directory and select the SCO OpenServer
option. This command copy Makefile.SCO5 to Makefile.
-
Run make.
-
To install in default /usr/include directory, login as root and cd to
thread/src directory, run make install.
-
Remember to use GNU
make when making MySQL.
-
If you don't start safe_mysqld as root, you will probably only get the
default 110 open files per process. mysqld will write a note about this
in the log file.
-
With SCO 3.2V4.2 you must use a FSU-pthreads version 3.5c or newer.
The following configure line should work:
CFLAGS="-D_XOPEN_XPG4" CXX=gcc CXXFLAGS="-D_XOPEN_XPG4" ./configure
--with-debug=yes --prefix=/usr/local/mysql
--with-named-thread-libs="-lgthreads -lsocket -lgen -lgthreads"
--with-named-curses-libs="-lcurses"
--without-perl
You may get some problems with some include files. In this case you can
find new SCO specific include files at:
ftp://www.tcx.se/pub/mysql/Downloads/SCO/SCO-3.2v4.2-includes.tar.gz.
You should unpack this in the mysql-source-distributions/include directory!
SCO development notes:
-
MySQL should automaticly detect FSU-threads and link mysqld
with:
-lgthreads -lsocket -lgthreads
-
The SCO development libraries are reentrant in FSU pthreads. SCO claims
that its libraries function are reentrant so they must be reentrant with
FSU pthreads. FSU pthreads on OpenServer tries to use the SCO scheme to
make reentrant library.
-
FSU threads (at least the version at www.tcx.se) comes linked with
GNU malloc. If you get problems with memory usage, check that gmalloc.o
is included in libgthreads.a and libgthreads.so
-
In FSU pthreads, the following system calls are pthread aware: read,
write, getmsg, connect, accept, select and wait.
Go to the first, previous, next, last section, table of contents.