差分
この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン 両方とも次のリビジョン | ||
os:debian:mysql:src-install:start [2010/09/05 01:35] yuki |
os:debian:mysql:src-install:start [2010/09/30 22:55] yuki |
||
---|---|---|---|
ライン 1: | ライン 1: | ||
====== srcからインストール ====== | ====== srcからインストール ====== | ||
+ | |||
+ | <note important>環境 : MySQL5.5.5-m3 + Debian5.0.5 64bit</note> | ||
1. ソースコードのダウンロード。 | 1. ソースコードのダウンロード。 | ||
ライン 5: | ライン 7: | ||
* Development Releases → Source CodeをSelect。 | * Development Releases → Source CodeをSelect。 | ||
* Generic Linux (Architecture Independent), Compressed TAR Archiveを入手。 | * Generic Linux (Architecture Independent), Compressed TAR Archiveを入手。 | ||
+ | *<code>wget http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.6-rc.tar.gz/from/http://ftp.iij.ad.jp/pub/db/mysql/</code> | ||
2. ビルドに必要なので先にインストール | 2. ビルドに必要なので先にインストール | ||
ライン 18: | ライン 21: | ||
./configure --with-plugins=innobase</code> | ./configure --with-plugins=innobase</code> | ||
- | * 下記の場合はlibncurses5-devまたはlibncursesw5-devのインストール。 | + | * libncurses5-devまたはlibncursesw5-devが足りてないと多分下記エラー。 |
* <code>checking for termcap functions library... configure: error: No curses/termcap library found</code> | * <code>checking for termcap functions library... configure: error: No curses/termcap library found</code> | ||
ライン 27: | ライン 30: | ||
Temp fix was remove @ndbcluster_includes@ from ./extra/Makefile and ./sql/MakeFile plus | Temp fix was remove @ndbcluster_includes@ from ./extra/Makefile and ./sql/MakeFile plus | ||
remove @NDB_SCI_LIBS@ from ./sql/MakeFile</code> | remove @NDB_SCI_LIBS@ from ./sql/MakeFile</code> | ||
- | * viで./extra/Makefileを開いて、:%s/@ndbcluster_includes@//g | ||
- | * viで./sql/MakeFileを開いて、:%s/@ndbcluster_includes@//g、:%s/@NDB_SCI_LIBS@//g | ||
* sedで書くと、<code> | * sedで書くと、<code> | ||
sed -i -e 's/@ndbcluster_includes@//g' sql/Makefile | sed -i -e 's/@ndbcluster_includes@//g' sql/Makefile | ||
ライン 36: | ライン 37: | ||
6. make。 | 6. make。 | ||
*<code>make && make install</code> | *<code>make && make install</code> | ||
- | |||