安裝Redmine2.3.0時,需要安裝Mysql20.3.11,總是安裝失敗問題
安裝Redmine2.3.0時,需要安裝Mysql2 0.3.11,總是安裝失敗,顯示以下資訊:
[root@cloudop redmine-2.3.0]# gem install mysql2
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
checking for rb_thread_blocking_region()... no
checking for rb_wait_for_single_fd()... no
checking for mysql.h... no
checking for mysql/mysql.h... no
-----
mysql.h is missing. please check your installation of mysql and try again.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-mysql-config
--without-mysql-config
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.11 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.11/ext/mysql2/gem_make.out
我是Redhat5.5的系統,查了下資料,通過更新mysql的庫來解決了:
# yum install mysql-devel
# gem install mysql2
相關文章
- qq安裝出現提取安裝檔案失敗,qq安裝失敗
- 安裝失敗????
- Android Studio 使用vivo手機真機執行時安裝spk安裝包總是安裝失敗Android
- 安裝scrapy失敗
- 解決npm 安裝部分依賴失敗問題總結NPM
- Composer doctrine/dbal 2.0 安裝失敗問題
- brew install mac安裝失敗的問題Mac
- pip安裝模組失敗
- 安裝失敗,求救(轉)
- 解決@vue/cli 建立專案是安裝chromedriver時失敗的問題VueChrome
- [提問交流]安裝失敗IS_POST
- 安裝rac時需要注意的問題
- Session 'app': Error Launching activity(安裝包安裝失敗)SessionAPPError
- 徹底解決docker build時安裝軟體失敗問題DockerUI
- VCSA6.7 安裝失敗
- pip 安裝 selenium 失敗
- matplotlib 安裝失敗,求解!
- oracle安裝補丁失敗Oracle
- 安裝SQL Server時,提示VS Shell 安裝失敗,退出程式碼為 1638。SQLServer
- Wireshark安裝失敗或找不到網路介面問題
- android7.0應用安裝失敗的問題Android
- flutter安裝問題總結Flutter
- 安裝問題
- KB5034441安裝失敗,正在安裝0%,不能繼續更新
- MSMQ 觸發器 安裝失敗MQ觸發器
- python安裝失敗,改下源Python
- Jenkins外掛安裝失敗Jenkins
- HomeBrew 安裝 yarn 1.6.0 版本失敗Yarn
- jiveJdon2安裝失敗。。。求助!!
- npm安裝失敗解決方案NPM
- AMD CPU 安裝 Android Studio 時候提示“安裝安卓模擬器失敗”Android安卓
- macOS High Sierra下pyenv安裝多版本失敗問題Mac
- Linux解決MySQL-python安裝失敗問題LinuxMySqlPython
- win10安裝3dmax失敗怎麼辦_如何解決win10安裝3dmax失敗的問題Win103D
- 從郵件中提取的證書安裝失敗,無法安裝?
- rabbitmq安裝使用問題彙總MQ
- Ubuntu中fcitx安裝失敗問題,及軟體換源問題Ubuntu
- 安裝anaconda提示建立menu失敗