Keep runtimedir and kernel dir at the same level as libdir. #1911

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@voxik
Contributor

voxik commented Sep 17, 2012

It seems that there are some assumptions about some libraries placement. In my case, when I use the --libdir configure option, build breaks with error

LDSHARED build/melbourne20.so
rake aborted!
cannot load such file -- /builddir/build/BUILD/rubinius-rubinius-aac4fb6/staging/usr/lib64/kernel/common/compiled_code
Tasks: TOP => build => build:build => kernel:build => compiler:load
(See full trace by running task with --trace)

The error is due to these two lines [1]. Since there is this assumption (and I am not sure it can be removed), the configure script should be fixed accordingly. Additional argument is that neither kernledir nor runtimedir are configurable, so the unless section is useless.

[1] https://github.com/rubinius/rubinius/blob/master/lib/mri_bridge.rb#L68-L69

@voxik

This comment has been minimized.

Show comment Hide comment
@voxik

voxik Sep 21, 2012

Contributor

The error is elsewhere. Introduced due to #1757 by 7862130#L10R346 ... Going to provide fix in a second.

Contributor

voxik commented Sep 21, 2012

The error is elsewhere. Introduced due to #1757 by 7862130#L10R346 ... Going to provide fix in a second.

@voxik voxik closed this Sep 21, 2012

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