gem install mysql
-----------------------------------------------------------------------------
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install mysql
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
-----------------------------------------------------------------------------
gem install mysql -- --with-mysql-lib=/usr/local/mysql/lib/mysql/
cd /usr/local/ruby/lib/ruby/gems/1.8/gems/mysql-2.7/
ruby extconf.rb --with-mysql-config=/usr/local/mysql/bin/mysql_config
make
make install
gem install mysql -- --with-mysql-lib=/usr/local/mysql/lib/mysql/
'프로그래밍 언어 > Ruby On Rails' 카테고리의 다른 글
mongrel_rails cluster start or stop (0) | 2007.05.10 |
---|---|
gem list 보기 (0) | 2007.05.09 |
ror (0) | 2007.05.09 |