Actions
Bug #18684
closedSupport for out of source build
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux]
Description
Trying out of source build, it fails:
... snip ...
compiling ../ruby-3.1.1/vm_sync.c
compiling ../ruby-3.1.1/vm_trace.c
compiling ../ruby-3.1.1/yjit.c
assembling ../ruby-3.1.1/coroutine/amd64/Context.S
Assembler messages:
Fatal error: can't create coroutine/amd64/Context.o: No such file or directory
make: *** [Makefile:438: coroutine/amd64/Context.o] Error 1
I wonder if there is any chance to make this work?
Updated by mame (Yusuke Endoh) almost 2 years ago
Please precisely write what you did. The following process works well for me.
$ tar xf ruby-3.1.1.tar.gz
$ mkdir ruby-build
$ cd ruby-build
$ ../ruby-3.1.1/configure --prefix=$PWD/local
$ make
I guess you first did "in-place" build and then did "out-of-place" build by using the source directory that has not only source files but also object files. This is not supported.
Updated by nobu (Nobuyoshi Nakada) almost 2 years ago
- Status changed from Open to Feedback
Updated by vo.x (Vit Ondruch) almost 2 years ago
mame (Yusuke Endoh) wrote in #note-1:
I guess you first did "in-place" build and then did "out-of-place" build by using the source directory that has not only source files but also object files.
Thx, that was what I did. Is there a way to prevent this or to provide some helpful message?
Updated by jeremyevans0 (Jeremy Evans) almost 2 years ago
- Status changed from Feedback to Closed
Actions
Like0
Like0Like0Like0Like0