Skip to content

Instantly share code, notes, and snippets.

@stereodenis
Created July 3, 2012 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stereodenis/3039056 to your computer and use it in GitHub Desktop.
Save stereodenis/3039056 to your computer and use it in GitHub Desktop.
stereodenis@stereodenis-nix:~/work/yonga-shop$ gem install date-performance -v '0.4.8'
Building native extensions. This could take a while...
ERROR: Error installing date-performance:
ERROR: Failed to build gem native extension.
/home/stereodenis/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
creating Makefile
make
compiling date_performance.c
date_performance.c:16:14: ошибка: static-декларация «rb_cRational» после неstatic-декларации
/home/stereodenis/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1/ruby/ruby.h:1271:19: замечание: здесь была предыдущая декларация «rb_cRational»
date_performance.c: В функции «rb_date_new»:
date_performance.c:200:5: предупреждение: ISO C90 forbids mixed declarations and code [-pedantic]
date_performance.c:219:3: предупреждение: ISO C90 forbids mixed declarations and code [-pedantic]
date_performance.c: В функции «rb_date_strftime»:
date_performance.c:253:31: ошибка: «struct RString» не содержит элемента с именем «ptr»
date_performance.c:254:29: ошибка: «struct RArray» не содержит элемента с именем «ptr»
date_performance.c:268:30: ошибка: «struct RString» не содержит элемента с именем «ptr»
date_performance.c:269:17: ошибка: «struct RString» не содержит элемента с именем «len»
date_performance.c:277:30: ошибка: «struct RString» не содержит элемента с именем «ptr»
date_performance.c:279:5: предупреждение: неявная декларация функции «bzero» [-Wimplicit-function-declaration]
date_performance.c:279:5: предупреждение: несовместимая неявная декларация внутренней функции «bzero» [по умолчанию включена]
date_performance.c:284:23: ошибка: «struct RString» не содержит элемента с именем «len»
date_performance.c: В функции «rb_date_strptime»:
date_performance.c:304:27: ошибка: «struct RString» не содержит элемента с именем «ptr»
date_performance.c:305:27: ошибка: «struct RString» не содержит элемента с именем «ptr»
date_performance.c:329:3: предупреждение: неявная декларация функции «strptime» [-Wimplicit-function-declaration]
date_performance.c: В функции «rb_date_compare»:
date_performance.c:350:3: предупреждение: ISO C90 forbids mixed declarations and code [-pedantic]
date_performance.c:353:5: предупреждение: комментарии в стиле C++ не разрешены в ISO C90 [по умолчанию включена]
date_performance.c:353:5: предупреждение: (об этом будет сообщено только один раз для каждого файла) [по умолчанию включена]
date_performance.c:365:3: предупреждение: ISO C90 forbids mixed declarations and code [-pedantic]
make: *** [date_performance.o] Ошибка 1
Gem files will remain installed in /home/stereodenis/.rvm/gems/ruby-1.9.3-p194@yonga/gems/date-performance-0.4.8 for inspection.
Results logged to /home/stereodenis/.rvm/gems/ruby-1.9.3-p194@yonga/gems/date-performance-0.4.8/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment