-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode 4.6 breaks rvm #1480
Comments
Can you try again and post the output of |
yep, 1 sec. Also if it matters here is my brew config since it gives some useful specs. HOMEBREW_VERSION: 0.9.3
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 7486ff25e065819a2adacae915a8a5e3e9c44f81
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.2-x86_64
Xcode: 4.6
CLT: 4.6.0.0.1.1358221012
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby and here is the make.log [2013-01-28 18:02:15] make
CC = clang
LD = ld
LDSHARED = clang -dynamic -bundle
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/lifeiscontent/.rvm/usr/include -I. -I.ext/include/x86_64-darwin12.2.1 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace
SOLIBS =
compiling regparse.c
regparse.c:582:15: error: implicit conversion loses integer precision: 'st_index_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
return t->num_entries;
~~~~~~ ~~~^~~~~~~~~~~
1 error generated.
make: *** [regparse.o] Error 1 |
you are using |
awesome, this fixed it. thanks @mpapis |
I would like to get Ruby source code to be fixed instead. ruby-1.9.3-p327 compiles with Xcode 4.6 just fine. The problem start just with ruby-1.9.3-p362. |
This is not the place to report issues with ruby.
|
@eshustrov you can report bugs for Ruby here: http://bugs.ruby-lang.org/ |
I feel silly not reading the documentation. |
For the record, since it wasn't explicitly stated, once you add all of the |
@briankulp RVM will detect |
Yep, just installing the requirements is enough. Built and installed fine. Runs fine. |
--with-gcc=gcc-4.2 didn't work for me. (Not in PATH) --with-gcc=gcc did |
@crosson |
I upgraded to XCode 4.6 and then could not install |
I had the same problem. |
when trying to install a version of ruby with xcode 4.6 installed I get this error.
The text was updated successfully, but these errors were encountered: