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
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
Adding Eric to the CC list, he probably knows what's going on for Solaris.
> Adding Eric to the CC list, he probably knows what's going on for Solaris. Nothing to add after Brett's answer.
Thanks. Should we close the bug? Is there anything to update in the documentation?
> 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.
Proposed patch: http://gcc.gnu.org/ml/gcc/2007-02/msg00039.html
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
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
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
committed to all active branches.
> committed to all active branches. Thanks to Ralf and you!
*** Bug 30083 has been marked as a duplicate of this bug. ***