Bug 824 - "make install" fails when configuring with a relative path to the sources
Summary: "make install" fails when configuring with a relative path to the sources
Status: RESOLVED DUPLICATE of bug 179
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.15
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-06 00:51 UTC by Joe Buck
Modified: 2005-04-08 17:33 UTC (History)
1 user (show)

See Also:
Host: sparc-sun-solaris2.8
Target: sparc-sun-solaris2.8
Build: sparc-sun-solaris2.8
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Buck 2005-04-06 00:51:16 UTC
When I built binutils with

../binutils-2.15/configure --prefix=/u/jbuck/gnu.sol2 

The "make install" step failed, because the generated Makefile had INSTALL
set to 

INSTALL = ../binutils-2.15/install-sh -c

but $(INSTALL) is invoked from a subdirectory.  I successfully worked around
this by saying

make INSTALL="/u/jbuck/gnu/src/binutils-2.15/install-sh -c" install

I could also have worked around it by providing an absolute path to
configure, I think.

The configure process should have either generated an absolute path to
install-sh, or corrected it appropriately for subdirectories.
Comment 1 Daniel Jacobowitz 2005-04-08 17:33:22 UTC
Already fixed in CVS and for 2.16.

*** This bug has been marked as a duplicate of 179 ***