Go to the first, previous, next, last section, table of contents.
The first problem is linuxthreads. You must patch linuxthreads for
alpha because the RedHat distribution uses an old (broken) linuxthreads
version.
-
Obtain the glibc2.5c source from any GNU ftp site.
-
Get the file
ftp://www.tcx.se/pub/mysql/linux/patched-glibc-linuxthreads-0.6.tgz.
This includes a fixed .c file. Copy this to the glibc
`./linuxthreads' directory.
-
Configure and compile glibc (You have to read the manual how to do this
together with linuxthreads). Don't install this!
-
Rename your old version of /usr/lib/libpthread.a to /usr/lib/libpthread.a-old
-
Copy the file glibc.../linuxthreads/libpthread.a to /usr/lib.
-
Configure MySQL with (everything on one row):
CC=gcc CCFLAGS="-Dalpha_linux_port" CXX=gcc CXXFLAGS="-O3 -Dalpha_linux_port" ./configure --prefix=/usr/local/mysql
-
Try to compile mysys/thr_lock and mysys/thr_alarm. Test that these
work!
-
Recompile mysqld.
Note that Alpha-Linux is still an alpha platform for MySQL. With RedHat
5.0 and the patched linuxthreads you have a very good chance of it working.
Go to the first, previous, next, last section, table of contents.