**以前のリビジョンの文書です**

srcからインストール

  • ソースコードのダウンロード。
  • ビルドに必要なので先にインストール
    • <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を書き直す。
    • 参考から抽出。<code> Suggested fix: Temp fix was remove @ndbclusterincludes@ from ./extra/Makefile and ./sql/MakeFile plus remove @NDBSCILIBS@ from ./sql/MakeFile</code> * viで./extra/Makefileを開いて、:%s/@ndbclusterincludes@g * viで./sql/MakeFileを開いて、:%s/@ndbclusterincludes@g、:%s/@NDBSCILIBS@g * sedで書くと、<code> sed -i -e 's/@ndbclusterincludes@g' sql/Makefile sed -i -e 's/@ndbclusterincludes@g' extra/Makefile sed -i -e 's/@NDBSCILIBS@g' sql/Makefile</code> - make。 *<code>make && make install</code>
os/debian/mysql/src-install/start.1283618058.txt.gz · 最終更新: 2010/09/05 01:34 by yuki
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0