比较来自世界各地的卖家的域名和 IT 服务价格

安装 Redmine 在设备上 NSlu2-Linux (QNAP)

我想发射 Redmine 在我的NAS服务器上 NSlu2 (QNAP) 与处理器 arm. 我已经安装了 ipkg, 一切都很好。

试图安装时 Redmine 我需要安装 ruby-on-rails. 问题是在我的存储库中安装了版本 Ruby 1.9.1, 这太新了 Redmine 它不会工作。 有人知道如何降低鲁宾 1.8.6 或者 1.8.7?

非常感谢,

燕麦

P.S .: 也许我可以编译正确的版本,但我不喜欢这个想法。 首选解决方案将是我可以下载的一些包,或者参考替代存储库。

P.P.S .: 获取初步版本 Redmine 版本 0.9.0 推出数据库填充脚本,但我必须安装它 mysql gem. 跑步

gem install mysql

定向目录时的其他选项 my-sql-config 没有帮助,我收到一条错误消息:

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

/opt/bin/ruby extconf.rb install mysql
checking for mysql_ssl_set()... *** 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
--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=/opt/bin/ruby
--with-mysql-config
--without-mysql-config
/opt/lib/ruby/1.9.1/mkmf.rb:362:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /opt/lib/ruby/1.9.1/mkmf.rb:415:in `try_link0'
from /opt/lib/ruby/1.9.1/mkmf.rb:419:in `try_link'
from /opt/lib/ruby/1.9.1/mkmf.rb:527:in `try_func'
from /opt/lib/ruby/1.9.1/mkmf.rb:772:in `block in have_func'
from /opt/lib/ruby/1.9.1/mkmf.rb:668:in `block in checking_for'
from /opt/lib/ruby/1.9.1/mkmf.rb:274:in `block (2 levels) in postpone'
from /opt/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from /opt/lib/ruby/1.9.1/mkmf.rb:274:in `block in postpone'
from /opt/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from /opt/lib/ruby/1.9.1/mkmf.rb:270:in `postpone'
from /opt/lib/ruby/1.9.1/mkmf.rb:667:in `checking_for'
from /opt/lib/ruby/1.9.1/mkmf.rb:771:in `have_func'
from extconf.rb:50:in `<main>'

Gem files will remain installed in /opt/local/lib/ruby/gems/1.9.1/gems/mysql-2.8.1 for inspection.
Results logged to /share/HDA_DATA/.qpkg/Optware/local/lib/ruby/gems/1.9.1/gems/mysql-2.8.1/ext/mysql_api/gem_make.out

欢迎任何建议。 建议杂志 mkmf.log 空的 我想我没有源代码 mysql, 但我在哪里可以以包装的形式得到它 Optware, 它与已安装的版本合作 mysql.
</main>
已邀请:

窦买办

赞同来自:

这里的黑暗中的图片总数:

如果已安装 Ruby 1.9.1, 尝试设置 RVM (
http://rvm.beginrescueend.com/
) 和

gem install rvm

然后你可以

rvm install ruby-1.8.7 --head

进而

rvm ruby-1.8.7

去鲁宾 1.8.7

窦买办

赞同来自:

如果磁盘上有足够的空间,您是否考虑过安装了 debian 在 chroot? 因此,您仍将拥有可访问的源软件,以及完整的安装。 debian.

知食

赞同来自:

嗯,你的设备是什么? - 系列 NSLU2 或者 QNAP TS? 我不认为 NSLU2 将足以启动网站 Rails, 但 QNAP TS- [124] 09 合适的。

我会替换标准固件 (无论它是什么) 上 Debian (据报道,这是工作的
http://www.cyrius.com/debian/orion/qnap/
), 然后在那里使用数据包。

ipkg

存储库通常有点有趣和分散,而不是少于支持 Debian, 因此,在使用它们时,您可以更轻松地获得帮助。

要回复问题请先登录注册