Error installing visualruby

Can you give me the exact resolution of below issue?

I am getting following error while installing visual ruby
#####################################################

C:\DevKit>gem install visualruby
Building native extensions. This could take a while…
ERROR: Error installing visualruby:
ERROR: Failed to build gem native extension.

C:/Ruby193/bin/ruby.exe extconf.rb

checking for --enable-debug-build option… no
checking for -Wall option to compiler… yes
checking for -Waggregate-return option to compiler… yes
checking for -Wcast-align option to compiler… yes
checking for -Wextra option to compiler… yes
checking for -Wformat=2 option to compiler… yes
checking for -Winit-self option to compiler… yes
checking for -Wlarger-than-65500 option to compiler… yes
checking for -Wmissing-declarations option to compiler… yes
checking for -Wmissing-format-attribute option to compiler… yes
checking for -Wmissing-include-dirs option to compiler… yes
checking for -Wmissing-noreturn option to compiler… yes
checking for -Wmissing-prototypes option to compiler… yes
checking for -Wnested-externs option to compiler… yes
checking for -Wold-style-definition option to compiler… yes
checking for -Wpacked option to compiler… yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler… yes
checking for -Wpointer-arith option to compiler… yes
checking for -Wswitch-default option to compiler… yes
checking for -Wswitch-enum option to compiler… yes
checking for -Wundef option to compiler… yes
checking for -Wout-of-line-declaration option to compiler… no
checking for -Wunsafe-loop-optimizations option to compiler… yes
checking for -Wwrite-strings option to compiler… yes
checking for rb_define_alloc_func() in ruby.h… yes
checking for rb_block_proc() in ruby.h… yes
checking for new allocation framework… yes
checking for attribute assignment… no
checking for cairo… yes
checking for rb_cairo.h… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=C:/Ruby193/bin/ruby
–enable-debug-build
–disable-debug-build
–with-pkg-config
–without-pkg-config
–with-override-variables
–without-override-variables

Gem files will remain installed in
C:/Ruby193/lib/ruby/gems/1.9.1/gems/gtksource
view2-2.2.5 for inspection.
Results logged to
C:/Ruby193/lib/ruby/gems/1.9.1/gems/gtksourceview2-2.2.5/ext/g
tksourceview2/gem_make.out
################################################################

I have checked mkmf.log and below mentioned in details.

  1. cc1.exe: error: unrecognized command line option
    “-Wout-of-line-declaration”

  2. conftest.c:6:18: fatal error: node.h: No such file or directory

3)cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/cairo: No such file or
directory
cc1.exe: warning:
/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/include: No such file
or directory
cc1.exe: warning:
/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/include/glib-2.0: No
such file or directory
cc1.exe: warning:
/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/glib-2.0/include:
No such file or directory
cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/pixman-1: No such file
or directory
cc1.exe: warning: /home/vagrant/rcairo.win32/vendor/local/include: No
such file or directory
cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/freetype2: No such file
or directory
cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/libpng16: No such file
or directory
cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/libxml2: No such file or
directory

4)C:/Ruby193/lib/ruby/gems/1.9.1/gems/cairo-1.14.1-x86-mingw32/ext/cairo/rb_cairo.h:20:19:
fatal error: cairo.h: No such file or directory

#################################################
mkmf.log

checking for --enable-debug-build option… -------------------- no


try_compiler_option: checking for -Wall option to compiler…
-------------------- yes

"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L.
-march=i486 -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi
"
checked program was:
/* begin */
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char *argv)
6: {
7: return 0;
8: }
/
end */

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -march=i486 -Wall -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Waggregate-return option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -march=i486 -Waggregate-return
-Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wcast-align option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -march=i486
-Wcast-align -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wextra option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-march=i486 -Wextra -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wformat=2 option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -march=i486 -Wformat=2 -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Winit-self option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -march=i486 -Winit-self -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wlarger-than-65500 option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -march=i486 -Wlarger-than-65500 -Werror
-c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wmissing-declarations option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -march=i486
-Wmissing-declarations -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wmissing-format-attribute option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -march=i486 -Wmissing-format-attribute -Werror -c
conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wmissing-include-dirs option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -march=i486
-Wmissing-include-dirs -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wmissing-noreturn option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-march=i486 -Wmissing-noreturn -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wmissing-prototypes option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -march=i486 -Wmissing-prototypes -Werror -c
conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wnested-externs option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -march=i486 -Wnested-externs
-Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wold-style-definition option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -march=i486
-Wold-style-definition -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wpacked option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -march=i486 -Wpacked -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wp,-D_FORTIFY_SOURCE=2 option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpacked -march=i486 -Wp,-D_FORTIFY_SOURCE=2
-Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wpointer-arith option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -march=i486
-Wpointer-arith -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wswitch-default option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith
-march=i486 -Wswitch-default -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wswitch-enum option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith
-Wswitch-default -march=i486 -Wswitch-enum -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wundef option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith
-Wswitch-default -Wswitch-enum -march=i486 -Wundef -Werror -c
conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wout-of-line-declaration option to
compiler… -------------------- no

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith
-Wswitch-default -Wswitch-enum -Wundef -march=i486
-Wout-of-line-declaration -Werror -c conftest.c”
cc1.exe: error: unrecognized command line option
“-Wout-of-line-declaration”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wunsafe-loop-optimizations option to
compiler… -------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith
-Wswitch-default -Wswitch-enum -Wundef -march=i486
-Wunsafe-loop-optimizations -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


try_compiler_option: checking for -Wwrite-strings option to compiler…
-------------------- yes

“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048
-O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wall -Waggregate-return -Wcast-align
-Wextra -Wformat=2 -Winit-self -Wlarger-than-65500
-Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith
-Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations
-march=i486 -Wwrite-strings -Werror -c conftest.c”
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
/
end */


have_func: checking for rb_define_alloc_func() in ruby.h…
-------------------- yes

"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I.
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/gtksourceview2-2.2.5/ext/gtksourceview2/.gem.20150709-800-1j09p61
-IC:/Ruby193/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt -DFD_SETSIZE=2048
-DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra
-Wno-unused-parameter -Wno-parentheses -Wno-long-long
-Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings
-Wdeclaration-after-statement -Wimplicit-function-declaration -Wall
-Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self
-Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute
-Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes
-Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2
-Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef
-Wunsafe-loop-optimizations -Wwrite-strings conftest.c -L.
-LC:/Ruby193/lib -L. -march=i486 -lmsvcrt-ruby191 -lshell32
-lws2_32 -limagehlp -lshlwapi "
conftest.c:8:5: warning: no previous prototype for ‘t’
conftest.c: In function ‘t’:
conftest.c:8:5: warning: old-style function definition
checked program was:
/* begin */
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ruby.h>
6:
7: /top/
8: int t() { void ((volatile p)()); p = (void
((
)()))rb_define_alloc_func; return 0; }
9: int main(int argc, char *argv)
10: {
11: if (argc > 1000000) {
12: printf("%p", &t);
13: }
14:
15: return 0;
16: }
/
end */


have_func: checking for rb_block_proc() in ruby.h…
-------------------- yes

"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I.
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/gtksourceview2-2.2.5/ext/gtksourceview2/.gem.20150709-800-1j09p61
-IC:/Ruby193/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt -DFD_SETSIZE=2048
-DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra
-Wno-unused-parameter -Wno-parentheses -Wno-long-long
-Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings
-Wdeclaration-after-statement -Wimplicit-function-declaration -Wall
-Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self
-Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute
-Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes
-Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2
-Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef
-Wunsafe-loop-optimizations -Wwrite-strings conftest.c -L.
-LC:/Ruby193/lib -L. -march=i486 -lmsvcrt-ruby191 -lshell32
-lws2_32 -limagehlp -lshlwapi "
conftest.c:8:5: warning: no previous prototype for ‘t’
conftest.c: In function ‘t’:
conftest.c:8:5: warning: old-style function definition
checked program was:
/* begin */
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ruby.h>
6:
7: /top/
8: int t() { void ((volatile p)()); p = (void (()()))rb_block_proc;
return 0; }
9: int main(int argc, char *argv)
10: {
11: if (argc > 1000000) {
12: printf("%p", &t);
13: }
14:
15: return 0;
16: }
/
end */


“gcc -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I.
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/gtksourceview2-2.2.5/ext/gtksourceview2/.gem.20150709-800-1j09p61
-IC:/Ruby193/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt -DFD_SETSIZE=2048
-DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra
-Wno-unused-parameter -Wno-parentheses -Wno-long-long
-Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings
-Wdeclaration-after-statement -Wimplicit-function-declaration -Wall
-Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self
-Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute
-Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes
-Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2
-Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef
-Wunsafe-loop-optimizations -Wwrite-strings -march=i486 -c conftest.c”
conftest.c:6:18: fatal error: node.h: No such file or directory
compilation terminated.
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include “ruby.h”
6: #include “node.h”
7: int node_attrasgn = (int)NODE_ATTRASGN;
/
end */

have_package: checking for cairo… -------------------- yes


have_header: checking for rb_cairo.h… -------------------- no

“gcc -E
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/cairo-1.14.1-x86-mingw32/vendor/local/include
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/cairo-1.14.1-x86-mingw32/ext/cairo
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/cairo-1.14.1-x86-mingw32/vendor/local/include
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/cairo-1.14.1-x86-mingw32/ext/cairo
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/gtk2-2.2.5-x86-mingw32/vendor/local/include
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/gtk2-2.2.5-x86-mingw32/ext/gtk2
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/gdk_pixbuf2-2.2.5-x86-mingw32/vendor/local/include
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/gdk_pixbuf2-2.2.5-x86-mingw32/ext/gdk_pixbuf2
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/pango-2.2.5-x86-mingw32/vendor/local/include
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/pango-2.2.5-x86-mingw32/ext/pango
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/atk-2.2.5-x86-mingw32/vendor/local/include
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/atk-2.2.5-x86-mingw32/ext/atk
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/glib2-2.2.5-x86-mingw32/vendor/local/include
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/glib2-2.2.5-x86-mingw32/ext/glib2
-IC:/Ruby193/include/ruby-1.9.1/i386-mingw32
-IC:/Ruby193/include/ruby-1.9.1/ruby/backward
-IC:/Ruby193/include/ruby-1.9.1 -I.
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/gtksourceview2-2.2.5/ext/gtksourceview2/.gem.20150709-800-1j09p61
-IC:/Ruby193/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt -DFD_SETSIZE=2048
-DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra
-Wno-unused-parameter -Wno-parentheses -Wno-long-long
-Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings
-Wdeclaration-after-statement -Wimplicit-function-declaration -Wall
-Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self
-Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute
-Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes
-Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2
-Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef
-Wunsafe-loop-optimizations -Wwrite-strings
-IC:/Ruby193/lib/ruby/gems/1.9.1/gems/cairo-1.14.1-x86-mingw32/ext/cairo
-mms-bitfields -mms-bitfields
-I/home/vagrant/rcairo.win32/vendor/local/include/cairo
-I/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/include
-I/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/include/glib-2.0
-I/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/glib-2.0/include
-I/home/vagrant/rcairo.win32/vendor/local/include/pixman-1
-I/home/vagrant/rcairo.win32/vendor/local/include
-I/home/vagrant/rcairo.win32/vendor/local/include/freetype2
-I/home/vagrant/rcairo.win32/vendor/local/include/libpng16
-I/home/vagrant/rcairo.win32/vendor/local/include/libxml2 conftest.c -o
conftest.i”
cc1.exe: warning: /home/vagrant/rcairo.win32/vendor/local/include/cairo:
No such file or directory
cc1.exe: warning:
/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/include: No such file
or directory
cc1.exe: warning:
/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/include/glib-2.0: No
such file or directory
cc1.exe: warning:
/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/glib-2.0/include:
No such file or directory
cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/pixman-1: No such file
or directory
cc1.exe: warning: /home/vagrant/rcairo.win32/vendor/local/include: No
such file or directory
cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/freetype2: No such file
or directory
cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/libpng16: No such file
or directory
cc1.exe: warning:
/home/vagrant/rcairo.win32/vendor/local/include/libxml2: No such file or
directory
In file included from conftest.c:5:0:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cairo-1.14.1-x86-mingw32/ext/cairo/rb_cairo.h:20:19:
fatal error: cairo.h: No such file or directory
compilation terminated.
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <rb_cairo.h>
/
end */


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs