[LLVMbugs] [Bug 739] NEW: Can't `make install prefix=/tmp/llvm'. DESTDIR not supported either.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 18 03:13:26 PDT 2006


http://llvm.org/bugs/show_bug.cgi?id=739

           Summary: Can't `make install prefix=/tmp/llvm'.  DESTDIR not
                    supported either.
           Product: Build scripts
           Version: cvs
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ralph at inputplus.co.uk


`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 Makefile
definitions, 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.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list