#include "../fbuffer/fbuffer.h"
Hello.I'm trying to install Ruby 2.0.0-p0 with RubyInstaller on Windows XP.I've downloaded executable (rubyinstaller-2.0.0-p0.exe).I've downloaded DevKit executable (DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe)I've installed Ruby in C:\Ruby200I've checked, Ruby works:C:\>ruby -vruby 2.0.0p0 (2013-02-24) [i386-mingw32]C:\>ruby -e "puts 'Hello World'"Hello WorldThen I unpacked the DevKit in C:\DevKitThen I did these steps:C:\Documents and Settings\User>cd C:\DevKitC:\DevKit>ruby dk.rb init[INFO] found RubyInstaller v2.0.0 at C:/Ruby200Initialization complete! Please review and modify the auto-generated'config.yml' file to ensure it contains the root directories to allof the installed Rubies you want enhanced by the DevKit.C:\DevKit>ruby dk.rb install[INFO] Updating convenience notice gem override for 'C:/Ruby200'[INFO] Installing 'C:/Ruby200/lib/ruby/site_ruby/devkit.rb'And now an error appears:C:\DevKit>gem install json --platform=rubyFetching: json-1.7.7.gem (100%)Temporarily enhancing PATH to include DevKit...Building native extensions. This could take a while...ERROR: Error installing json:ERROR: Failed to build gem native extension.C:/Ruby200/bin/ruby.exe extconf.rbcreating Makefilemakegenerating generator-i386-mingw32.defcompiling generator.cgenerator.c:1:0: internal compiler error: Illegal instructionPlease submit a full bug report,with preprocessed source if appropriate.See <mingw-w64-public@lists.sourceforge.net> for instructions.make: *** [generator.o] Error 1Gem files will remain installed in C:/Ruby200/lib/ruby/gems/2.0.0/gems/json-1.7.7 for inspection.Results logged to C:/Ruby200/lib/ruby/gems/2.0.0/gems/json-1.7.7/ext/json/ext/generator/gem_make.outI have also installed:Cygwin (C:\cygwin),MinGW compilers (C:\MinGW\bin),RailsInstaller with Ruby 1.9.3p125 (C:\RailsInstaller\Ruby1.9.3\bin).None of these three is in my PATH. I removed all any links to their directories from my PATH before I started installation.RailsInstaller's Ruby 1.9.3p125 works just fine. All the commands, everything. I develop Rails with it now.Even now, after instillation of Ruby 2.0.0-p0, I can do this and it works:C:\DevKit>C:\RailsInstaller\Ruby1.9.3\bin\ruby -vruby 1.9.3p125 (2012-02-16) [i386-mingw32]C:\DevKit>C:\RailsInstaller\Ruby1.9.3\bin\gem query --remote --name-matches zen_config*** REMOTE GEMS ***zen_config (0.0.4)But Ruby 2.0.0-p0 doesn't work. I'd like to install Ruby 2.0.0-p0 with RubyInstaller and continue working with 2.0.0 version but smth goes wrong with installation. What may it be? How to solve it?Thank you.
C:\DevKit>C:\DevKit\mingw\bin\gcc --versiongcc (rubenvb-4.7.2-release) 4.7.2Copyright (C) 2012 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.C:\DevKit>C:\RailsInstaller\DevKit\mingw\bin\gcc --versiongcc (tdm-1) 4.5.2Copyright (C) 2010 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What processor is your computer?
The GCC version used by ruby 2.0.0 is using Nocona, illegal instructions might raise from such optimization.
Sorry for top posting. Sent from mobile.
See <mingw-w6...@lists.sourceforge.net> for instructions.
make: *** [generator.o] Error 1Gem files will remain installed in C:/Ruby200/lib/ruby/gems/2.0.0/gems/json-1.7.7 for inspection.Results logged to C:/Ruby200/lib/ruby/gems/2.0.0/gems/json-1.7.7/ext/json/ext/generator/gem_make.out
I have also installed:Cygwin (C:\cygwin),MinGW compilers (C:\MinGW\bin),RailsInstaller with Ruby 1.9.3p125 (C:\RailsInstaller\Ruby1.9.3\bin).None of these three is in my PATH. I removed all any links to their directories from my PATH before I started installation.RailsInstaller's Ruby 1.9.3p125 works just fine. All the commands, everything. I develop Rails with it now.
Even now, after instillation of Ruby 2.0.0-p0, I can do this and it works:C:\DevKit>C:\RailsInstaller\Ruby1.9.3\bin\ruby -vruby 1.9.3p125 (2012-02-16) [i386-mingw32]C:\DevKit>C:\RailsInstaller\Ruby1.9.3\bin\gem query --remote --name-matches zen_config*** REMOTE GEMS ***zen_config (0.0.4)But Ruby 2.0.0-p0 doesn't work. I'd like to install Ruby 2.0.0-p0 with RubyInstaller and continue working with 2.0.0 version but smth goes wrong with installation. What may it be? How to solve it?Thank you.
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyinstalle...@googlegroups.com.
To post to this group, send email to rubyin...@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
processor : 0vendor_id : AuthenticAMDcpu family : 6model : 10model name : AMD Athlon(tm) XP 2500+stepping : 0cpu MHz : 1833cache size : 512 KBfpu : yesfpu_exception : yescpuid level : 1wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
TLB size : 512 4K pagesclflush size : 64cache_alignment : 64address sizes : 34 bits physical, 32 bits virtualpower management: ts
Hello.
No, I didn't find some magic C solution. I just checked whether my MinGW compiler can compile a C code that has such an include:
#include “../path/to/header.h”
instead of usual
#include “header.h”