X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,TW_RV,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Sean Subject: Re: =?utf-8?b?Q1lHV0lOX05ULTYuMS1XT1c2NDo=?= Unable to install rubies with rvm Date: Wed, 24 Nov 2010 04:25:54 +0000 (UTC) Lines: 50 Message-ID: References: <04c001cb85b9$aa277e30$fe767a90$@com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Jon Seidel CMC edpci.com> writes: > > When I try to compile a ruby (1.8.7 or 1.9.2) using rvm on cygwin, I get the > following errors. I can't find any similar issues either on the RVM list or > the cygwin list. As noted elsewhere on ruby-lang.org, I did try to install > 1.8.7 first (1.9.2 requires ruby to already be installed). FWIW: I have > installed RVM and both these rubies on a Mac and that worked just fine. > > I hope someone has run into this already and has a work-around/suggestion. > > Thanks...jon > ============================Version 1.8.7 installation attempt > $ rvm install 1.8.7-head > /cygdrive/c/home/jes/.rvm/rubies/ruby-1.8.7-head, this may take a while > depending on your cpu(s)... > > ruby-1.9.2-head - #fetching > Updating ruby from http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7 > Copying from repo to src path... > Running autoconf > ruby-1.8.7-head - #configuring > ruby-1.8.7-head - #compiling > Error running 'make ', please check > /cygdrive/c/home/jes/.rvm/log/ruby-1.8.7-head/make.error.log > There has been an error while running make. Halting the installation. > $less /cygdrive/c/home/jes/.rvm/log/ruby-1.8.7-head/make.error.log > [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' I have the same issue. Although I did manage to get ruby 1.9.2 installed, 1.8.7 died with the same errors you have. I also have both rubies working under rvm on my Mac without this issue. My rvm version on cygwin is: $ rvm -v rvm 1.1.0 Did you ever manage to get ruby 1.8.7 installed in the end? - Sean -- 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