Skip to content
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

Rubinius installation fails #3052

Closed
ghost opened this issue May 27, 2014 · 10 comments
Closed

Rubinius installation fails #3052

ghost opened this issue May 27, 2014 · 10 comments

Comments

@ghost
Copy link

ghost commented May 27, 2014

https://gist.github.com/10d34026928ecfc5368e

@jc00ke
Copy link
Member

jc00ke commented May 27, 2014

😦 are you able to build from a clone?

@ghost
Copy link
Author

ghost commented May 27, 2014

Nope. I just tried & got the same result:

Rubinius Crash Report #rbxcrashreport

Error: signal SIGABRT

[[Backtrace]]
0   rbx                                 0x0000000108b68b5c _ZN8rubiniusL12segv_handlerEi + 412
1   libsystem_platform.dylib            0x00007fff91b1c5aa _sigtramp + 26
2   ???                                 0x00007fff5717f770 0x0 + 140734654576496
3   rbx                                 0x0000000109349eb6 abort + 22
4   rbx                                 0x0000000108aac4e5 _ZN8rubinius3bugEPKc + 69
5   rbx                                 0x0000000108aa9c48 _ZN8rubinius11Environment19run_from_filesystemEv + 1240
6   rbx                                 0x0000000108c108dc main + 236
7   libdyld.dylib                       0x00007fff932c05fd start + 1

[[System Info]]
sysname: Darwin
nodename: Genetrix.local
release: 13.2.0
version: Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64
machine: x86_64

@jc00ke
Copy link
Member

jc00ke commented May 27, 2014

OK, thanks, just wanted to check.

@yorickpeterse
Copy link
Contributor

Is this on Mavericks? What compiler are you using, gcc or clang? If you're using gcc, could you give clang a try? You can specify this when building from source by running ./configure --cc=clang --cxx=clang++.

@ghost
Copy link
Author

ghost commented May 29, 2014

Yes, it's on Mavericks. My original attempts were using gcc. I tried with clang as suggested and it still crashes: https://gist.github.com/c9de379ad1b7465b2933

The last few lines before that are:

[BUG: Unable to find loader]
2   rbx  0x0000000107f1b8e0 rubinius::bug(char const*) + 64
3   rbx  0x0000000107f19048 rubinius::Environment::run_from_filesystem() + 1240
4   rbx  0x000000010807fcdc main + 236
5   libdyld.dylib  0x00007fff932c05fd start + 1

@dbussink
Copy link
Contributor

@vonvo-carlo Ah, those lines are like the most critical information here 😄. Somehow it seems to be in a weird state where it can't find any of the compiled Ruby files to load.

Can you write down the exact steps that you've done here so we can try and reproduce the problem? So cloning the repo, running bundler, configure etc.

@ghost
Copy link
Author

ghost commented May 29, 2014

Sure, I just followed the instructions in the README to the letter:

To install Rubinius, use the following steps:

  1. Ensure that MRI 2.0+, rubygems, rake, and git are installed
  2. git clone git://github.com/rubinius/rubinius.git
  3. cd rubinius
  4. bundle
  5. ./configure --prefix=/path/to/install/dir
  6. rake

It fails at step 6.

@ghost
Copy link
Author

ghost commented May 29, 2014

Well, this is awkward... I figured out what's going on. I had rbx-2.2.1 set as my global default instead of MRI Ruby. Doh! I switched it to MRI (as stated in the README!) and everything works perfectly.

@ghost ghost closed this as completed May 29, 2014
@yorickpeterse
Copy link
Contributor

Did you happen to try and install Rbx in the same directory as rbx-2.2.1 was installed? I believe that starting with 2.2.5 (or something like that) Rbx is supposed to be able to compile/install itself.

@ghost
Copy link
Author

ghost commented May 29, 2014

No, I installed it to its own directory.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants