From: "rmagick@..." Date: 2009-01-21T08:43:30+09:00 Subject: Re: 1.8.6 OCI binary extension question On Jan 17, 4:10 pm, Luis Lavena wrote: (snip) > Shameless plug: you can take a look torake-compiler[1] for cross- > compilation, so you can generate the extension and the gem from Linux/ > OSX. Luis, Is there a way to configure rake-compiler to specify a name for the binary executable that is different from the extension name? The RMagick binary is RMagick2.so, but rake-compiler assumes it is simply RMagick. Given the Rakefile: require 'rake/extensiontask' Rake::ExtensionTask.new('RMagick') tim@linux:~/RMagick/projects/RMagick$ rake -T (in /home/tim/RMagick/projects/RMagick) rake clean # Remove any temporary products. rake clobber # Remove any generated file. rake compile # Compile all the extensions rake compile:RMagick # Compile RMagick tim@linux:~/RMagick/projects/RMagick$ rake compile (in /home/tim/RMagick/projects/RMagick) cd tmp/i686-linux/RMagick make: Nothing to be done for `all'. cd - cp tmp/i686-linux/RMagick/RMagick.so lib/RMagick.so rake aborted! No such file or directory - tmp/i686-linux/RMagick/RMagick.so