I just noticed (because libxml-ruby wouldn’t compile) that the mkmf.rb
in my version of Ruby 1.8.6 has a bug. The generated makefile
prefixes spaces instead of tabs for a couple of the generated make
tasks. Specifically, the clean/distclean tasks.
It appears to have been addressed in 1.9 trunk (although oddly, the
same tasks now use two tabs where all the others use one).
Posting this for two reasons:
Be aware if you are still on 1.8.6 that if you see a Make error
complaining about spaces instead of tabs while compiling an extension,
it’s probably mkmf’s fault and not the extensions’.
Does anyone know if this has been addressed in 1.8.7 or any of the