[Rubyinstaller-devel] RubyInline: Path with spaces, cannot reproduce

Roger Pack rogerdpack at gmail.com
Mon Jul 27 19:57:13 EDT 2009


> Roger: would you mind run the exact same command from rubyinline
> repository and paste your output?


C:\dev_c\downloads\rubyinline>ruby -d -w -Ilib example.rb
Exception `LoadError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1106 - no such file to load
-- rubygems/defaults/operating_system
Exception `LoadError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such
file to load -- zentest_mapping
RubyInline v 3.8.2
Exception `LoadError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such
file to load -- inline/Inline_MyTest_957b.so
Exception `LoadError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 - no such
file to load -- inline/Inline_MyTest_957b.so
Building C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.so with 'gcc
-shared -s   -g
-O2  -I c:/ruby/lib/ruby/1.8/i386-mingw32  -I c:/ruby/include
-Lc:/ruby/lib -o "C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.so"
"C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.c"
-Wl,--enable-auto-import -Lc:/ruby/lib -lmsvcrt-ruby18'
gcc.exe: no input files
Output:

Exception `CompilationError' at ./lib/inline.rb:589 - error executing
"gcc -shared -s   -g -O2  -I c:/ruby/lib/ruby/1.8/i386-mingw32  -I
c:/ruby/include -Lc:/ruby/lib -o \"C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.so\"
\"C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.c\"
-Wl,--enable-auto-import -Lc:/ruby/lib -lmsvcrt-ruby18": 256
Renamed C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.c to
C:/Documents and Settings/Melissa./lib/inline.rb:589:in `build': error
executing "gcc -shared -s   -g -O2  -I
c:/ruby/lib/ruby/1.8/i386-mingw32  -I c:/ruby/include -Lc:/ruby/lib -o
\"C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.so\"
\"C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.c\"
-Wl,--enable-auto-import -Lc:/ruby/lib -lmsvcrt-ruby18": 256
(CompilationError)
Renamed C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.c to
C:/Documents and
Settings/Melissa.BLACKY/.ruby_inline/Inline_MyTest_957b.c.bad
        from ./lib/inline.rb:819:in `inline'
        from example.rb:19


More information about the Rubyinstaller-devel mailing list