Forum: Ruby mkmf creates broken makefile (Windows)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4637ce1956d543735226f026f8fce06e?d=identicon&s=25 ZippySwish (Guest)
on 2008-12-21 22:35
(Received via mailing list)
Hi!

I'm trying to compile the ruby whirlpool library from

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

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
E7cff3cfd41c495e1012227d7dc24202?d=identicon&s=25 Luis Lavena (luislavena)
on 2008-12-22 18:40
(Received via mailing list)
On Dec 21, 7:34 pm, ZippySwish <fischer....@gmail.com> wrote:
> require 'mkmf'
> install-so: $(RUBYARCHDIR)
>
> It works fine in Ubuntu btw.
>
> Thanks in advance

What Ruby version are you trying to use under Cygwin?
4637ce1956d543735226f026f8fce06e?d=identicon&s=25 ZippySwish (Guest)
on 2008-12-23 02:25
(Received via mailing list)
it says Ruby 1.8.7-p72-2
This topic is locked and can not be replied to.