安装RedCloth时出错 [英] Error installing RedCloth

查看:145
本文介绍了安装RedCloth时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  sudo gem install RedCloth 
建筑物本地扩展。这可能需要一段时间...
错误:安装RedCloth时出错:
错误:无法构建gem原生扩展。
$ b $ / usr / bin / ruby​​ extconf.rb
创建Makefile
$ b $ make
sh:make:nie znaleziono polecenia


Gem文件将保留安装在/usr/lib/ruby/gems/1.8/gems/RedCloth-4.2.3中进行检查。
结果记录到/usr/lib/ruby/gems/1.8/gems/RedCloth-4.2.3/ext/redcloth_scan/gem_make.out

我试着将这一切都汇总出来并与所有的东西联系起来。所以我需要帮助。

如果谷歌的波兰语翻译是正确的,那么你没有解决方案 > make 安装在你的机器上。



尝试输入,其中。如果你什么都看不到,那么你需要先处理。我不确定您在OpenSuse中需要的软件包名称。您应该能够搜索Yum(Yast?无论OpenSuse的软件包管理器被称为...)是否适合Debian的构建必要软件包。



编辑:在OpenSuse中,您需要的软件包似乎被称为C / C ++开发(或C / C ++编译器和工具)。看到这个线索的一些指针: http://forums.opensuse.org/applications /413553-build-essential.html



我不知道OpenSuse,但如果它与Debian类似,那么您也可以安装Ruby gems(和Perl和Python模块)直接从你的包管理器。这可能是好的也可能是坏的。很好,因为软件包管理器更好地处理依赖和卸载(平均),而不是你自己。糟糕的是因为发行版通常会有比自己更早的版本。不过,这是一个考虑的选择。


I'm getting this erron when trying to install RedCloth on openSuse:

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

/usr/bin/ruby extconf.rb
creating Makefile

make
sh: make: nie znaleziono polecenia


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/RedCloth-4.2.3 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/RedCloth-4.2.3/ext/redcloth_scan/gem_make.out

I tried to google this out and triend everything. So I need help with that.

解决方案

If Google's Polish translation is correct, then you don't have make installed on your machine.

Try entering which make. If you see nothing, then you need to handle that first. I'm not sure the name of the package you need in OpenSuse. You should be able to search in Yum (Yast? whatever OpenSuse's package manager is called...) for something like Debian's 'build-essential' package.

Edit: In OpenSuse, the package you need seems to be called "C/C++ Development" (or "C/C++ Compiler and Tools"). See this thread for some pointers: http://forums.opensuse.org/applications/413553-build-essential.html

I don't know OpenSuse, but if it's anything like Debian, you can probably also install Ruby gems (and Perl and Python modules) directly from your package manager. This can be good and bad. Good because the package manager takes better care of dependencies and uninstalling (on average) than you would on your own. Bad because the distro will often have older versions than you might be able to get yourself. Still, it's an option to consider.

这篇关于安装RedCloth时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆