X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <14576153.post@talk.nabble.com>
Date: Wed, 2 Jan 2008 02:24:32 -0800 (PST)
From: melvins <enyasproject@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)
In-Reply-To: <d45df6780712261141g1f44b397k34419bb30e47442f@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: enyasproject@gmail.com
References: <d45df6780712261141g1f44b397k34419bb30e47442f@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


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.



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'm not sure why that happens, and I'm not sure what's different about
> the Cygwin Ruby package which works. Any ideas?
> 
> Incidentally, I downloaded the new development release of Ruby 1.9.0,
> and it compiles just fine on Cygwin. It also runs my /dev/urandom bug
> script without failing, and lseek is not called in the strace.
> 
> Mike Boone
> http://boonedocks.net/mike/
> 
> --
> 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/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Building-Ruby-%28was-Re%3A-Ruby-on-Rails-2.0.2-Cygwin-Bug%29-tp14505644p14576153.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

