install redmine on mssql.
Added by Михаил Галац almost 11 years ago
Hi. I try install redmine on base MSSQL.
After command
gem install bundler cd /usr/share/redmine
I do
sudo bundle install --without development test postgresql sqlite
And
bundle install --without development test postgresql sqlite rmagick mysql2
A see error
root@redmine:/usr/share/redmine# bundle install --without development test postgresql sqlite rmagick mysql2 Fetching gem metadata from https://rubygems.org/......... Fetching additional metadata from https://rubygems.org/.. Resolving dependencies... Using rake (10.1.1) Using i18n (0.6.9) Using multi_json (1.8.4) Using activesupport (3.2.16) Using builder (3.0.0) Using activemodel (3.2.16) Using erubis (2.7.0) Using journey (1.0.4) Using rack (1.4.5) Using rack-cache (1.2) Using rack-test (0.6.2) Using hike (1.2.3) Using tilt (1.4.1) Using sprockets (2.2.2) Using actionpack (3.2.16) Using mime-types (1.25.1) Using polyglot (0.3.3) Using treetop (1.4.15) Using mail (2.5.4) Using actionmailer (3.2.16) Using arel (3.0.3) Using tzinfo (0.3.38) Using activerecord (3.2.16) Using activerecord-sqlserver-adapter (3.2.12) Using activeresource (3.2.16) Using bundler (1.5.3) Using coderay (1.1.0) Using fastercsv (1.5.5) Using rack-ssl (1.3.3) Using json (1.8.1) Using rdoc (3.12.2) Using thor (0.18.1) Using railties (3.2.16) Using jquery-rails (2.0.3) Using mysql2 (0.3.15) Using net-ldap (0.3.1) Using ruby-openid (2.3.0) Using rack-openid (1.4.2) Using rails (3.2.16) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for iconv_open() in iconv.h... yes checking for sybfront.h... no ----- freetds is missing. ----- *** 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/bin/ruby1.8 --enable-lookup --disable-lookup --with-iconv-dir --without-iconv-dir --with-iconv-include --without-iconv-include=${iconv-dir}/include --with-iconv-lib --without-iconv-lib=${iconv-dir}/lib --with-freetds-dir --without-freetds-dir --with-freetds-include --without-freetds-include=${freetds-dir}/include --with-freetds-lib --without-freetds-lib=${freetds-dir}/lib Gem files will remain installed in /var/lib/gems/1.8/gems/tiny_tds-0.5.1 for inspection. Results logged to /var/lib/gems/1.8/gems/tiny_tds-0.5.1/ext/tiny_tds/gem_make.out An error occurred while installing tiny_tds (0.5.1), and Bundler cannot continue. Make sure that `gem install tiny_tds -v '0.5.1'` succeeds before bundling. root@redmine:/usr/share/redmine#
gem tiny-tds do not install
i try install tiny-tds
root@redmine:/usr/share/redmine# gem install tiny_tds -v ERROR: While executing gem ... (OptionParser::MissingArgument) missing argument: -v root@redmine:/usr/share/redmine# gem install tiny_tds Building native extensions. This could take a while... ERROR: Error installing tiny_tds: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for iconv_open() in iconv.h... yes checking for sybfront.h... no ----- freetds is missing. ----- *** 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/bin/ruby1.8 --enable-lookup --disable-lookup --with-iconv-dir --without-iconv-dir --with-iconv-include --without-iconv-include=${iconv-dir}/include --with-iconv-lib --without-iconv-lib=${iconv-dir}/lib --with-freetds-dir --without-freetds-dir --with-freetds-include --without-freetds-include=${freetds-dir}/include --with-freetds-lib --without-freetds-lib=${freetds-dir}/lib Gem files will remain installed in /var/lib/gems/1.8/gems/tiny_tds-0.6.1 for inspection. Results logged to /var/lib/gems/1.8/gems/tiny_tds-0.6.1/ext/tiny_tds/gem_make.out
What to do?