New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't `make install prefix=/tmp/llvm'. DESTDIR not supported either. #1111
Comments
Fixed with this patch: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061204/041149.html |
The patch doesn't really fix the bug. It defines DESTDIR in the And there still isn't a variable called `prefix' that can be overridden So the patch has implemented its own non-standard scheme which will just |
PR739.patch Also, I re-arranged the makefile slightly to allow both projects and the main I hope this addresses all the concerns for this bug, I know that my building of |
This is now mine. |
Tested. Works. Patch: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070115/042849.html Resolved. |
Extended Description
make install prefix=$HOME/stow' or
make install DESTDIR=$HOME/stow'doesn't work. Installation is attempted to the prefix set at
./configure time. This breaks utilities like GNU Stow.
http://www.gnu.org/prep/standards/html_node/Command-Variables.html#Command-Variables
suggests how DESTDIR should be supported.
http://www.gnu.org/prep/standards/html_node/Directory-Variables.html#Directory-Variables
covers prefix, giving
make prefix=/usr install' as an example, and covers things like no-recompilation if prefix alters between
make all'and
make install'. Also,
$(prefix)' should be used in Makefiledefinitions, e.g. PROJ_bindir.
llvm.spec file uses DESTDIR, but does it work?
http://www.gnu.org/software/stow/manual.html#SEC6 covers how GNU Stow
can make use of configuring for one prefix but actually installing in
another.
The text was updated successfully, but these errors were encountered: