This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CYGWIN_NT-6.1-WOW64: Unable to install rubies with rvm


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:
> ============================Version 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 '_longjmp'
> was here
> eval.c:211: error: conflicting types for '_longjmp'
> /usr/include/machine/setjmp.h:335: error: previous declaration of '_longjmp'
> 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 happening 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 test 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, most revisions that I have tried worked. The codes seem to be very well maintained.)

	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]