Bug 27843 - gcc-4.2-20060527 make install fails on alphaev68-dec-osf5.1b
Summary: gcc-4.2-20060527 make install fails on alphaev68-dec-osf5.1b
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: 4.1.3
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 30083 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-31 18:12 UTC by Kate Minola
Modified: 2008-11-12 16:30 UTC (History)
5 users (show)

See Also:
Host: alphaev68-dec-osf5.1b
Target: alphaev68-dec-osf5.1b
Build: alphaev68-dec-osf5.1b
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kate Minola 2006-05-31 18:12:59 UTC
For gcc-4.2-20060527(also gcc-4.2-20060520) on alphaev68-dec-osf5.1b
after

   configure --enable-languages=c
   make bootstrap
   make install

'make install' fails with

/home/kate/gcc-4.2-20060527/src/gcc-4.2-20060527/install-sh -c fixinc.sh /home/kate/gcc-4.2-20060527/alpha-OSF1-V5/libexec/gcc/alphaev68-dec-osf5.1b/4.2.0/install-tools/fixin
c.sh
/home/kate/gcc-4.2-20060527/src/gcc-4.2-20060527/install-sh -c fixincl \
          /home/kate/gcc-4.2-20060527/alpha-OSF1-V5/libexec/gcc/alphaev68-dec-osf5.1b/4.2.0/install-tools/fixincl
                > /home/kate/gcc-4.2-20060527/alpha-OSF1-V5/lib/gcc/alphaev68-dec-osf5.1b/4.2.0/install-tools/mkheaders.conf
/bin/sh: : cannot execute
sed: Function s,[ cannot be parsed.
/bin/sh: /]*/../,, -e ta: not found
make[2]: *** [install-mkheaders] Error 1
Comment 1 Brett Albertson 2007-02-02 14:43:21 UTC
I had the same thing on Solaris, and it ended up being CONFIG_SHELL needed to be set.  See my comment from the other PR:

---------------------------------

I figured it out.  I have been using /bin/bash as my shell and not setting
CONFIG_SHELL for the past year.  It has been working until now, but apparently
setting CONFIG_SHELL to /bin/ksh (as per documentation) is now required.  I'm
setting the case to resolved invalid.

Brett 
Comment 2 Paolo Bonzini 2007-02-02 15:35:54 UTC
Adding Eric to the CC list, he probably knows what's going on for Solaris.
Comment 3 Eric Botcazou 2007-02-02 16:22:45 UTC
> Adding Eric to the CC list, he probably knows what's going on for Solaris.

Nothing to add after Brett's answer.
Comment 4 Paolo Bonzini 2007-02-02 16:35:59 UTC
Thanks.  Should we close the bug?  Is there anything to update in the documentation?
Comment 5 Eric Botcazou 2007-02-02 16:40:49 UTC
> Thanks.  Should we close the bug?

Probably no, this one is not about Solaris.

> Is there anything to update in the documentation?

Yes, I guess I could make the Solaris wording stronger now.
Comment 6 Ralf Wildenhues 2007-02-05 16:51:27 UTC
Proposed patch: http://gcc.gnu.org/ml/gcc/2007-02/msg00039.html
Comment 7 Paolo Bonzini 2007-02-16 08:54:26 UTC
Subject: Bug 27843

Author: bonzini
Date: Fri Feb 16 08:53:51 2007
New Revision: 122032

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122032
Log:
2007-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	PR other/27843
	* Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid
	nested double- and backquotes.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in

Comment 8 Paolo Bonzini 2007-02-16 09:06:16 UTC
Subject: Bug 27843

Author: bonzini
Date: Fri Feb 16 09:06:05 2007
New Revision: 122033

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122033
Log:
2007-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	PR other/27843
	* Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid
	nested double- and backquotes.


Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/Makefile.in

Comment 9 Paolo Bonzini 2007-02-16 09:13:58 UTC
Subject: Bug 27843

Author: bonzini
Date: Fri Feb 16 09:13:47 2007
New Revision: 122035

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122035
Log:
2007-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	PR other/27843
	* Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid
	nested double- and backquotes.


Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/Makefile.in

Comment 10 Paolo Bonzini 2007-02-16 09:14:51 UTC
committed to all active branches.
Comment 11 Eric Botcazou 2007-02-16 09:22:29 UTC
> committed to all active branches.

Thanks to Ralf and you!
Comment 12 Marc Glisse 2008-11-12 16:30:27 UTC
*** Bug 30083 has been marked as a duplicate of this bug. ***