This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 2 Jan 2008 14:01:21 -0000
- Subject: RE: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)
- References: <d45df6780712261141g1f44b397k34419bb30e47442f@mail.gmail.com> <14576153.post@talk.nabble.com>
On 02 January 2008 10:25, melvins wrote:
> Mike Boone wrote:
>>
>> In reference to that /dev/urandom bug I encountered last week, I
>> thought I might try to build Ruby from source on Cygwin and see how it
>> works.
>>
>> I downloaded Ruby 1.8.6-p111 off the ruby-lang.org website, unpacked
>> it, then ./configure and make. This fails with:
>>
>> ./missing/strftime.c:193: error: 'timezone' redeclared as different kind
>> of symbol /usr/include/cygwin/time.h:33: error: previous declaration of
>> 'timezone' was here make: *** [strftime.o] Error 1
>>
> I had the same problem with you mike, what I did is I downloaded a
> stable-snapshot version of ruby, then I copy the missing/strftime.c file to
> hte 1.8.6 version, run make again, then it now all works.
For full explanation, see
http://cygwin.com/ml/cygwin/2007-12/msg00003.html
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/