[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

mkmf creates broken makefile (Windows

ZippySwish

12/21/2008 9:35:00 PM

Hi!

I'm trying to compile the ruby whirlpool library from

http://izumi.plan99.net/blog/index.php/ruby-whirlpoo...

on windows with Cygwin.

extconf.rb looks like this:

require 'mkmf'
dir_config('whirlpool')
create_makefile('whirlpool')



It doesn't give any error messages while creating the makefile,
however when I give the "make" command in cygwin, I get

Makefile:106: *** target pattern contains no %. Stop.



Line 106 of the Makefile looks like this:

install-so: $(RUBYARCHDIR)


It works fine in Ubuntu btw.

Thanks in advance
2 Answers

Luis Lavena

12/22/2008 5:39:00 PM

0

On Dec 21, 7:34 pm, ZippySwish <fischer....@gmail.com> wrote:
> Hi!
>
> I'm trying to compile the ruby whirlpool library from
>
> http://izumi.plan99.net/blog/index.php/ruby-whirlpoo...
>
> on windows with Cygwin.
>
> extconf.rb looks like this:
>
> require 'mkmf'
> dir_config('whirlpool')
> create_makefile('whirlpool')
>
> It doesn't give any error messages while creating the makefile,
> however when I give the "make" command in cygwin, I get
>
> Makefile:106: *** target pattern contains no %. Stop.
>
> Line 106 of the Makefile looks like this:
>
> install-so: $(RUBYARCHDIR)
>
> It works fine in Ubuntu btw.
>
> Thanks in advance

What Ruby version are you trying to use under Cygwin?

--
Luis Lavena

ZippySwish

12/23/2008 1:24:00 AM

0

it says Ruby 1.8.7-p72-2