delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/17/11:10:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_GJ,TW_MJ,TW_RV,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <733473.30429.qm@web4101.mail.ogk.yahoo.co.jp>
Date: Thu, 18 Nov 2010 01:10:27 +0900 (JST)
From: neomjp <neomjp AT yahoo DOT co DOT jp>
Subject: Re: CYGWIN_NT-6.1-WOW64: Unable to install rubies with rvm
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
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

Hi, Jon,

	I am using cygwin-1.7 on XP Professinal SP 3 and I do not
use rvm, so things may be a little bit different from yours. But
here are some information I know about ruby on cygwin.

On 2010/11/17 3:11, Jon Seidel CMC wrote:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3DVersion 1.8.7 installation attempt

> [2010-11-16 09:37:58] make
> eval.c:211: error: conflicting types for '_longjmp'
> /usr/include/machine/setjmp.h:335: error: previous declaration of '_longj=
mp'
> was here
> eval.c:211: error: conflicting types for '_longjmp'
> /usr/include/machine/setjmp.h:335: error: previous declaration of '_longj=
mp'
> was here

	As Csaba pointed out, _longjmp is among the things that
changed between cygwin 1.5 and 1.7. So ruby 1.8 cannot be built on
cygwin-1.7 .

	This _longjmp problem was fixed in ruby subversion trunk
revision 23317, and the fix was backported to then-current ruby_1_9_1
branch. So now, all ruby 1.9.x can be built on cygwin-1.7 . But so
far, nobody has made the effort to do the porting and testing of ruby
1.8.x on cygwin-1.7, probably because no more active development is happeni=
ng for ruby 1.8. ruby 1.8 is fading out.

	So what I recommend is

1. Get official ruby-1.8.7-p72-2 from cygwin.com . It was built for cygwin-=
1.5 and is outdated, but it can be used to help build
ruby-1.9.x .
2. Then build ruby 1.9.2 (or trunk).
3. If ruby 1.9.2 is built successfully, uninstall ruby-1.8.7-p72-2 .

	A few weeks ago, I successfully built

ruby 1.9.2p35 (2010-11-02 revision 29665) [i386-cygwin]
ruby 1.9.3dev (2010-11-02 trunk 29669) [i386-cygwin]

from ruby_1_9_2 branch and trunk, respectively. They both showed several te=
st failures (as always on cygwin), but are good enough for my daily usage. =
So, at least these revisions are known to work on cygwin-1.7. (Actually, mo=
st revisions that I have tried worked. The codes seem to be very well maint=
ained.)

	I hope these information helps you build ruby-1.9 on
CYGWIN_NT-6.1-WOW64 .

--
neomjp

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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