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.

-- 
           Summary: "make install" fails when configuring with a relative
                    path to the sources
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: jbuck at welsh-buck dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


http://sources.redhat.com/bugzilla/show_bug.cgi?id=824

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to