Closed
Description
OSX 10.9.1
Commands I ran leading up to the issue:
$> git clone https://github.com/mozilla/rust.git
$> cd rust
$> ./configure
$> make install
"make install" outputs the following error message:
make[2]: *** No rule to make target `/home/rust/src/llvm/home/rust/x86_64-apple-darwin/llvm/Makefile', needed by `Makefile'. Stop.
make[1]: *** [clean-llvmx86_64-apple-darwin] Error 2
make: *** [/home/rust/x86_64-apple-darwin/llvm/llvm-auto-clean-stamp] Error 2
The issue is that the path "home/rust/x86_64-apple-darwin/llvm/Makefile" has been appended to the path "/home/rust/src/llvm", and I imagine that the path should just be "home/rust/x86_64-apple-darwin/llvm/Makefile". Looking at the output of "make --print-data-base", I found:
# makefile (from `Makefile.config', line 55)
PROJ_SRC_DIR := /home/rust/src/llvm/home/rust/x86_64-apple-darwin/llvm
There are other variables that are assigned the same broken path that PROJ_SRC_DIR is, but after my preliminary debugging I think PROJ_SRC_DIR might be the culprit. On line 55 of rust/x86_64-apple-darwin/llvm/Makefile.config:
PROJ_SRC_DIR := $(LLVM_SRC_ROOT)$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR))
I've only ever written the most trivial of Makefiles, so I don't really know how to continue here.
Metadata
Metadata
Assignees
Labels
No labels