Go to the first, previous, next, last section, table of contents.


Linux-Alpha notes.

The first problem is linuxthreads. You must patch linuxthreads for alpha because the RedHat distribution uses an old (broken) linuxthreads version.

  1. Obtain the glibc2.5c source from any GNU ftp site.
  2. 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.
  3. Configure and compile glibc (You have to read the manual how to do this together with linuxthreads). Don't install this!
  4. Rename your old version of /usr/lib/libpthread.a to /usr/lib/libpthread.a-old
  5. Copy the file glibc.../linuxthreads/libpthread.a to /usr/lib.
  6. 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
    
  7. Try to compile mysys/thr_lock and mysys/thr_alarm. Test that these work!
  8. 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.