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]

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


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.9.2 installation attempt
$ rvm install 1.9.2-head
/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-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_9_2
Copying from repo to src path...
Running autoconf
ruby-1.9.2-head - #configuring
ruby-1.9.2-head - #compiling
Error running 'make ', please check
/cygdrive/c/home/jes/.rvm/log/ruby-1.9.2-head/make.error.log
There has been an error while running make. Halting the installation.
$ less /cygdrive/c/home/jes/.rvm/log/ruby-1.9.2-head/make.error.log
[2010-11-16 09:12:03] make
make: *** [miniprelude.c] Error 1


============================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'
/usr/include/machine/setjmp.h:335: error: previous declaration of '_longjmp'
was here
eval.c: In function `rb_eval_string_wrap':
eval.c:1744: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `rb_eval_cmd':
eval.c:1885: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `call_trace_func':
eval.c:2736: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `rb_raise_jump':
eval.c:4770: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `method_missing':
eval.c:5736: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `rb_call0':
eval.c:5894: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `rb_f_eval':
eval.c:6696: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `exec_under':
eval.c:6720: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `rb_load':
eval.c:7036: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `call_end_proc':
eval.c:8071: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `rb_f_END':
eval.c:8084: warning: assignment discards qualifiers from pointer target
type
eval.c: In function `mproc':
eval.c:9860: warning: assignment discards qualifiers from pointer target
type
make: *** [eval.o] Error 1

============================Some basic information...
$ uname
CYGWIN_NT-6.1-WOW64

$ rvm -v
rvm 1.0.21 by Wayne E. Seguin (wayneeseguin@gmail.com)
[http://rvm.beginrescueend.com/]

make, gcc, etc installed on cygwin from waterloo site


Jon Seidel, CMCR
EDP Consulting, Inc. / www.edpci.com / www.4mypasswords.com 
LinkedIn Profile
Technology that means Business - Since 1979
3373 Guido Street
Oakland, CA 94602 
phone: 510-530-6314
fax: 510-531-1522 
 
The Certified Management Consultant (CMC) mark is awarded to consultants who
meet the strict standards defined by the Institute of Management Consultants
USA, including examination by their peers, client evaluations, and a written
examination evidencing their understanding of the IMC USA's Code of Ethics. 
Check out IMC USA for more information. 

Attachment: cygcheck.out
Description: Binary data

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