From: Jeremy H. <je...@ch...> - 2007-01-23 14:23:31
|
Rob, I'm the current maintainer of Ruby/FLTK but I'm not one of the original developers. Unfortunately I only have access to Linux so I can't debug your problems directly. > Unfortunately I'm currently unable to build ruby-fltk. Most of the > checks performed by extconf.rb seem to fail ... It looks like the all tests for headers pass but the ones for individual functions fail. This may be because your compiler is trying to compile the test files as C instead of C++. extconf.rb redefines the test file to have a .cxx extension and relies on the compiler to know that this means the contents are C++ . This works with gcc , but maybe your compiler behaves differently. > and it also complains that OS X is an unsupported platform. There's a line in extconf.rb that does this whenever the platform is not X11 or Windows. I assume you're not running X11 on Mac OS? > Does anyone have any tips for getting this to work? Any help would > gratefully received. Can you send the mkmf.log file? That should record exactly what the compiler was doing when the feature tests failed. Did you get as far as running make? If so, can you send the log of that too? It's very annoying that the mkmf feature test functions fail for C++ and that there is no standard, reliable fix for this, or at least there was none when I last tapped Google and the lazyweb for answers. I'll look again and see if things have improved. Regards, Jeremy Henty |