File: linuxthreads.txt

package info (click to toggle)
mariadb-10.0 10.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 416,512 kB
  • sloc: cpp: 1,351,103; ansic: 803,086; perl: 59,621; pascal: 32,136; sh: 25,156; yacc: 14,897; xml: 5,194; sql: 4,651; cs: 4,647; makefile: 4,113; python: 2,526; ruby: 2,496; lex: 1,427; asm: 295; awk: 54; php: 22; sed: 16
file content (19 lines) | stat: -rw-r--r-- 831 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Note this information is obsolete]

Notes on compiling glibc for the standard MySQL binary:

 - make sure you have gcc 2.95 and gmake 3.79 or newer
 - wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.2.5.tar.gz
 - wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-2.2.5.tar.gz
 - tar zxvf glibc-2.2.5.tar.gz ; cd glibc-2.2.5 ;
   tar zxvf ../glibc-linuxthreads-2.2.5.tar.gz
 - patch -p1 < ~/bk/mysql/Docs/glibc-2.2.5.patch
 - ./configure --prefix=/usr/local/mysql-glibc --enable-static-nss \
  --disable-shared --enable-add-ons=linuxthreads --target=i386 \
  --host=i386-pc-linux-gnu
 - make
 - possible problems - if compiler is not properly installed, one can get
 "cpp: too many input" files error - easiest way to solve - SUSE RPM for gcc
 2.95
 - surun make install
 - To build the binaries, run Build-tools/Do-linux-build