内容へ移動
[[
✎ os:debian:mysql:src-install:start
]]
doku@ainoniwa
文書の表示
最近の変更
サイトマップ
ログイン
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== srcからインストール ====== 1. ソースコードのダウンロード。 * http://dev.mysql.com/downloads/mysql/5.5.html#downloads * Development Releases → Source CodeをSelect。 * Generic Linux (Architecture Independent), Compressed TAR Archiveを入手。 - ビルドに必要なので先にインストール * <code>apt-get install build-essential apt-get install libncurses5-dev apt-get install libncursesw5-dev</code> - 解凍 * <code># tar zxvf mysql-5.5.5-m3.tar.gz</code> - ./configure * <code>cd mysql-5.5.5-m3 ./configure --with-plugins=innobase</code> * 下記の場合はlibncurses5-devまたはlibncursesw5-devのインストール。 * <code>checking for termcap functions library... configure: error: No curses/termcap library found</code> - ./configure後、Makefileを書き直す。 * 参考 : http://bugs.mysql.com/bug.php?id=55350 * 参考から抽出。<code> Suggested fix: Temp fix was remove @ndbcluster_includes@ from ./extra/Makefile and ./sql/MakeFile plus 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 -i -e 's/@ndbcluster_includes@//g' sql/Makefile sed -i -e 's/@ndbcluster_includes@//g' extra/Makefile sed -i -e 's/@NDB_SCI_LIBS@//g' sql/Makefile</code> - make。 *<code>make && make install</code>
文書の表示
以前のリビジョン
メディアマネージャー
文書の先頭へ