Ben rvm 1.23.16 (stable)
kullanarak Yakut ortamı inşa ediyorum ve Yakut ruby-2.0.0-p353
için ruby 2.0.0-p247
arasında geçti görebiliyordu ve şimdi eğer Raylar yüklemeye çalıştığınızda 4.0 rails gem install rails -v 4.0.0
veya gem install rails -v 4.0.0 --no-rdoc --no-ri.
(ommit için yükleme işleminin dokümantasyonu, Geçenlerde öğrendin gibi ~/.rvm/gems/ruby-2.0.0-p353/gems/atomic-1.1.14/ext/gem_make.out
aitRuby 2.0.0-p247'nin Ruby-2.0.0-p353'e güncelleştirilmesi. Rails 4.0.0 yüklenirken hata oluştu. GNU/Linux üzerinde
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling atomic_reference.c
linking shared-object atomic_reference.so
make "DESTDIR=" install
/usr/bin/install -c -m 0755 atomic_reference.so ./.gem.20131122-9599-8hv76z
installing default atomic_reference libraries
Gem files will remain installed in /home/llarruda/.rvm/gems/ruby-2.0.0-p353/gems/atomic-1.1.14 for inspection.
Results logged to /home/llarruda/.rvm/gems/ruby-2.0.0-p353/gems/atomic-1.1.14/ext/gem_make.out
içeriği:) aşağıdaki hata var. Bu Yakut versiyonunun güncelleme başlayarak oluştu, bütün taşlar ile aynı şekilde yüklemiş
"gcc -o conftest -I/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/x86_64-linux -I/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/ruby/backward -I/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/lib -Wl,-R/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/lib -L/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
"gcc -o conftest -I/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/x86_64-linux -I/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/ruby/backward -I/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/lib -Wl,-R/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/lib -L/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/lib -lruby -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC -lpthread -lrt -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {
4: int i = 1;
5: __sync_bool_compare_and_swap(&i, 1, 4);
6: return (i != 4);
7: }
/* end */
./conftest
o ortamı ihtiyaç olabilir şunlardır:
/home/llarruda/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling atomic_reference.c
linking shared-object atomic_reference.so
make "DESTDIR=" install
/usr/bin/install -c -m 0755 atomic_reference.so ./.gem.20131122-9599-8hv76z
installing default atomic_reference libraries
~/.rvm/gems/ruby-2.0.0-p353/gems/atomic-1.1.14/ext/mkmf.log
bakınız.
Eğer '/home/llarruda/.rvm/gems içeriğini gönderebilir miyim ...............
deneyin ve yeniden yeniden/ruby-2.0.0-p353/gems/atomic-1.1.14/ext/gem_make.out'? – joews@joews Evet, yapacak. –
http://stackoverflow.com/questions/17385535/error-installing-ruby-on-rails-4-0-atomic-reference-c-error-71? –