delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/08/09:07:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 8 Jan 2008 15:06:26 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)
Message-ID: <20080108140626.GZ29568@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <d45df6780712261141g1f44b397k34419bb30e47442f AT mail DOT gmail DOT com> <14576153 DOT post AT talk DOT nabble DOT com> <08ba01c84d47$f469cb90$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
In-Reply-To: <08ba01c84d47$f469cb90$2e08a8c0@CAM.ARTIMI.COM>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jan  2 14:01, Dave Korn wrote:
> 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

I've proposed a patch on comp.lang.ruby:
http://groups.google.com/group/comp.lang.ruby/msg/0e3f786c969bcd07


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019