1
[Note this information is obsolete]
3
Notes on compiling glibc for the standard MySQL binary:
5
- make sure you have gcc 2.95 and gmake 3.79 or newer
6
- wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.2.5.tar.gz
7
- wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-2.2.5.tar.gz
8
- tar zxvf glibc-2.2.5.tar.gz ; cd glibc-2.2.5 ;
9
tar zxvf ../glibc-linuxthreads-2.2.5.tar.gz
10
- patch -p1 < ~/bk/mysql/Docs/glibc-2.2.5.patch
11
- ./configure --prefix=/usr/local/mysql-glibc --enable-static-nss \
12
--disable-shared --enable-add-ons=linuxthreads --target=i386 \
13
--host=i386-pc-linux-gnu
15
- possible problems - if compiler is not properly installed, one can get
16
"cpp: too many input" files error - easiest way to solve - SUSE RPM for gcc
19
- To build the binaries, run Build-tools/Do-linux-build