Tag: makefile

警告被视为铁路中的错误

当我尝试在我的rails项目中进行“bundle install”时出现以下错误 C:/Ruby22/bin/ruby.exe -r ./siteconf20150427-5772-lng4pk.rb extconf.rb creating Makefile make “DESTDIR=” clean make “DESTDIR=” generating byebug-i386-mingw32.def compiling breakpoint.c cc1.exe: warnings being treated as errors In file included from c:/Ruby22/include/ruby-2.2.0/ruby/defines.h:163:0, from c:/Ruby22/include/ruby-2.2.0/ruby/ruby.h:29, from c:/Ruby22/include/ruby-2.2.0/ruby.h:33, from ./byebug.h:4, from breakpoint.c:1: c:/Ruby22/include/ruby-2.2.0/ruby/win32.h:319:44: error: ‘struct timespec’ declared inside parameter list c:/Ruby22/include/ruby-2.2.0/ruby/win32.h:319:44: error: its scope is only this definition or declaration, which […]

在Mac OS 10.5.8上通过RVM安装Ruby 1.8.7-p302时运行make时出错

运行“rvm install 1.8.7-p302”提供以下反馈: rich-macbook:~ rich$ rvm install 1.8.7-p302 Installing Ruby from source to: /Users/rich/.rvm/rubies/ruby-1.8.7-p302, this may take a while depending on your cpu(s)… ruby-1.8.7-p302 – #fetching ruby-1.8.7-p302 – #extracted to /Users/rich/.rvm/src/ruby-1.8.7-p302 (already extracted) Applying patch ‘stdout-rouge-fix’ (located at /Users/rich/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch) ERROR: Error running ‘patch -F 25 -p1 -N -f <"/Users/rich/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch"', please read /Users/rich/.rvm/log/ruby-1.8.7-p302/patch.apply.stdout-rouge-fix.log ruby-1.8.7-p302 – #configuring […]

Nokogiri本机扩展无法构建(不是libxml2或libxslt缺少问题)

正如标题所说,它似乎没有失败,因为缺少libxml2或libxslt。 我不确定该怎么做错误。 (得到它?因为问题出在制作期间?嘿嘿……) Anywho,这是我得到的输出。 任何想法,将不胜感激: Building native extensions. This could take a while… ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config. checking for libxml/parser.h… yes checking for libxslt/xslt.h… yes checking for libexslt/exslt.h… yes checking for iconv_open() in iconv.h… yes checking for […]

在Snow Leopard上使用`rvm`安装`ruby-1.8.7-p334`时出错

安装Snow Leopard(OS X 10.6)后,我的一些Rubygem停止工作。 我还安装了Xcode(以获取make )并在使用rvm安装ruby-1.8.7-p334时出现以下错误。 我在运行Leopard时能够成功安装它。 任何帮助,将不胜感激。 Macintosh:haloror patelc75$ rvm install ruby-1.8.7-p334 Installing Ruby from source to: /Users/patelc75/.rvm/rubies/ruby-1.8.7-p334, this may take a while depending on your cpu(s)… ruby-1.8.7-p334 – #fetching ruby-1.8.7-p334 – #extracted to /Users/patelc75/.rvm/src/ruby-1.8.7-p334 (already extracted) ruby-1.8.7-p334 – #configuring ruby-1.8.7-p334 – #compiling ERROR: Error running ‘make ‘, please read /Users/patelc75/.rvm/log/ruby-1.8.7-p334/make.log ERROR: There has […]

rvm install ruby​​-1.9.3-p286:运行’make -j 9’时出错(OSX:Mountain Lion)

运行rvm install ruby-1.9.3-p286给了我这个错误: Error running ‘make -j 9’, please read /Users/epeterson/.rvm/log/ruby-1.9.3-p286/make.log There has been an error while running make. Halting the installation.