http://llvm.org/bugs/show_bug.cgi?id=11693
Bug #: 11693
Summary: cannot install without permissions to write to source
tree
Product: new-bugs
Version: 3.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
When issuing make install as a privileged user, the installation script tries
to write to the source directory.
freundt@segen:pts/19:/home/src/devel/llvm-3.0.src> sudo make V=1 install
...
llvm[1]: Regenerating LibDeps.txt.tmp
/bin/sh: /home/src/devel/llvm-3.0.src/tools/llvm-config/LibDeps.txt.tmp:
Permission denied
make[1]: *** [/home/src/devel/llvm-3.0.src/tools/llvm-config/LibDeps.txt.tmp]
Error 1
make[1]: Leaving directory `/home/src/devel/llvm-3.0.src/tools/llvm-config'
make: *** [install] Error 1
Reproducible: always
How to reproduce:
1. run ./configure and make as a user that is allowed to write to the source
tree
2. run make install as a user that isn't allowed to write to the source tree
In my case the user root is allowed to write to /usr but NOT to the source tree
itself.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs