<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Dear Sir,<br><br>I became interested in Ruby and so came across Cairo. I am running WinXP Pro SP2.I followed the instructions to install Cairo with the following result: Can you advice please?<br><br>D:\Java\RubyOnRails\ruby-gnome2-all-0.16.0\rcairo-1.2.0\rcairo-1.2.0>c:\ruby\bin<br>\ruby setup.rb config<br>Processing the package `cairo' ...<br>---> lib<br><--- lib<br>---> ext<br>c:/ruby/bin/ruby D:/Java/RubyOnRails/ruby-gnome2-all-0.16.0/rcairo-1.2.0/rcairo-<br>1.2.0/packages/cairo/ext/extconf.rb<br>checking for GCC... no<br>checking for cairo version (>= 1.2.0)... no<br>*** D:/Java/RubyOnRails/ruby-gnome2-all-0.16.0/rcairo-1.2.0/rcairo-1.2.0/package<br>s/cairo/ext/extconf.rb failed ***<br>Could not create Makefile due to some reason, probably lack of<br>necessary libraries and/or
headers. Check the mkmf.log file for more<br>details. You may need configuration options.<br><br>Provided configuration options:<br> --with-opt-dir<br> --without-opt-dir<br> --with-opt-include<br> --without-opt-include=${opt-dir}/include<br> --with-opt-lib<br> --without-opt-lib=${opt-dir}/lib<br> --with-make-prog<br> --srcdir=D:/Java/RubyOnRails/ruby-gnome2-all-0.16.0/rcairo-1.2.0/rcairo-<br>1.2.0/packages/cairo/ext<br> --curdir<br> --ruby=c:/ruby/bin/ruby<br>
--with-pkg-config<br> --without-pkg-config<br>setup.rb:656:in `command': system("c:/ruby/bin/ruby" "D:/Java/RubyOnRails/ruby-g<br>nome2-all-0.16.0/rcairo-1.2.0/rcairo-1.2.0/packages/cairo/ext/extconf.rb") faile<br>d (RuntimeError)<br> from setup.rb:661:in `ruby'<br> from setup.rb:1237:in `extconf'<br> from setup.rb:1233:in `config_dir_ext'<br> from setup.rb:1498:in `__send__'<br> from setup.rb:1498:in `traverse'<br> from setup.rb:1515:in `dive_into'<br> from setup.rb:1496:in `traverse'<br> from setup.rb:1490:in `exec_task_traverse'<br> ... 8
levels...<br> from setup.rb:827:in `__send__'<br> from setup.rb:827:in `invoke'<br> from setup.rb:774:in `invoke'<br> from setup.rb:1544<br><br>D:\Java\RubyOnRails\ruby-gnome2-all-0.16.0\rcairo-1.2.0\rcairo-1.2.0>c:\ruby\bin<br>\ruby setup.rb setup<br>No such file or directory - .config<br>setup.rb config first<br>Try 'ruby setup.rb --help' for detailed usage.<br><br>D:\Java\RubyOnRails\ruby-gnome2-all-0.16.0\rcairo-1.2.0\rcairo-1.2.0><br><br>Thank you<br><br>zak<br></div></div></body></html>