delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/26/14:42:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <d45df6780712261141g1f44b397k34419bb30e47442f@mail.gmail.com>
Date: Wed, 26 Dec 2007 14:41:50 -0500
From: "Mike Boone" <boonedocks AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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/

- Raw text -


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