~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to Docs/linuxthreads.txt

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2011-11-08 11:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20111108113113-3ulw01fvi4vn8m25
Tags: upstream-5.5.17
ImportĀ upstreamĀ versionĀ 5.5.17

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[Note this information is obsolete]
 
2
 
 
3
Notes on compiling glibc for the standard MySQL binary:
 
4
 
 
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
 
14
 - make
 
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
 
17
 2.95
 
18
 - surun make install
 
19
 - To build the binaries, run Build-tools/Do-linux-build