Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

building with custom --prefix fails #99

Closed
stepheneb opened this Issue Nov 27, 2009 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

stepheneb commented Nov 27, 2009

After running ./configure with a prefix set running rake fails with these errors:

bin/mspec ci -B full --background
ERROR: unable to find runtime directory

Rubinius was configured to find the runtime directory at:

  /Users/stephen/dev/ruby/builds/rubinius/runtime

but that directory does not exist.

Set the environment variable RBX_RUNTIME to the location
of the directory with the compiled Rubinius kernel files.

You may have configured Rubinius for a different install
directory but you have not run 'rake install' yet.

rake aborted!
Command failed with status (1): [bin/mspec ci -B full --background...]

And rake install fails with these errors:

Compiling library files for install...
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -Ilib lib/bin/compile.rb -V -T default lib
./lib/etc.rb:4: uninitialized constant Etc::FFI (NameError)
  from ./lib/rubygems.rb:10:in `require'
  from ./lib/rubygems.rb:10
  from ./lib/ubygems.rb:10:in `require'
  from ./lib/ubygems.rb:10
rake aborted!
Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...]

Full console log: http://gist.github.com/243919

Contributor

stepheneb commented Nov 28, 2009

Looking into this further.

I've set a custom --prefix:

./configure --enable-llvm --prefix=/Users/stephen/dev/ruby/builds/rubinius

The default rake task runs:

rake build
rake vm:test
bin/mspec ci -B full --background

The first error is reported when running mspec but the problems start earlier.

Just running:

bin/rbx --version

Generates this error report:

ERROR: unable to find runtime directory

Rubinius was configured to find the runtime directory at:

  /Users/stephen/dev/ruby/builds/rubinius/runtime

but that directory does not exist.

Set the environment variable RBX_RUNTIME to the location
of the directory with the compiled Rubinius kernel files.

You may have configured Rubinius for a different install
directory but you have not run 'rake install' yet.

If I copy the dirs runtime/ and lib/ to the custom prefix dir then running:

bin/rbx --version

works.

more details soon ...

Owner

evanphx commented Jan 5, 2010

Please refill if there is still a problem.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment