public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/16363] New: make install fails if configure is given relative path
@ 2004-07-04 19:35 wxy at kivera dot com
  2004-07-04 19:38 ` [Bug other/16363] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: wxy at kivera dot com @ 2004-07-04 19:35 UTC (permalink / raw)
  To: gcc-bugs

On Solaris platform, if configure is run as:

../gcc-3.4.1/configure --prefix=/install_path/gcc

then "make install" will fail with "../gcc-3.4.1/install-sh not found" error.
The configure will generate a "Makefile" with a line like:

INSTALL = ../gcc-3.4.1/install-sh -c

so when entering into a deeper directory, this file will not be found.  This
problem does not show up in linux because there INSTALL is set to /usr/bin/install.

The work around is to give configure an absolute path:

/extract_path/gcc-3.4.1/configure --prefix=/install_path/gcc

This will change the INSTALL to /extract_path/gcc-3.4.1/install-sh -c in Makefile.

The relative path configure worked fine in gcc-3.3.3.  I couldn't confirm 3.4.0
on solaris, since that has the "make bootstrap" error.

-- 
           Summary: make install fails if configure is given relative path
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wxy at kivera dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: solaris
  GCC host triplet: solaris
GCC target triplet: solaris


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16363


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug other/16363] make install fails if configure is given relative path
  2004-07-04 19:35 [Bug other/16363] New: make install fails if configure is given relative path wxy at kivera dot com
@ 2004-07-04 19:38 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-04 19:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-04 19:38 -------
This is a dup of bug 13993.

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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16363


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-04 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-04 19:35 [Bug other/16363] New: make install fails if configure is given relative path wxy at kivera dot com
2004-07-04 19:38 ` [Bug other/16363] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).