2011年8月17日水曜日

redmineインストール時エラー②

Ubuntu 11.04 (Linux)にて

sudo gem install mysql
をredmineのインストール手順に沿ってinstallしようとすると
下記のようなエラーが出てしまう。
libmysqlclient-devのパッケージがinstallされていないからのようだ。

sudo apt-get install libmysqlclient-dev
にて解消

Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no

0 件のコメント:

コメントを投稿