This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/30809] New: make install fails due to erroneous nesting of echo commands
- From: "gabriel dot kaelin at visonys dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Feb 2007 15:09:07 -0000
- Subject: [Bug other/30809] New: make install fails due to erroneous nesting of echo commands
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
During installation of gcc-4.1.2 ("gmake MAKE=gmake install") the following
error occurred on our Solaris systems:
echo 'SYSTEM_HEADER_DIR="'"`echo /usr/include | sed -e :a -e "s,[^/]*/\.\.\/,,"
-e ta`"'"' \
>
/slt/devel/toolsbase/gcc/4.1.2/sparc-sun-solaris2.10/lib/gcc/sparc-sun-solaris2.10/4.1.2/install-tools/mkheaders.conf
sed: command garbled: s,[
/bin/sh: : cannot execute
/bin/sh: /]*/../,, -e ta: not found
gmake[2]: *** [install-mkheaders] Error 1
gmake[2]: Leaving directory
`/var/tmp/gcc_powell_sparc-sun-solaris2.10_23537/objdir/gcc'
gmake[1]: *** [install-gcc] Error 2
gmake[1]: Leaving directory
`/var/tmp/gcc_powell_sparc-sun-solaris2.10_23537/objdir'
gmake: *** [install] Error 2
I've checked the command:
echo 'SYSTEM_HEADER_DIR="'"`echo /usr/include | sed -e :a -e "s,[^/]*/\.\.\/,,"
-e ta`"'"'
It can be changed to:
echo 'SYSTEM_HEADER_DIR="'`echo /usr/include | sed -e :a -e "s,[^/]*/\.\.\/,,"
-e ta`'"'
I've just omitted the double quotes around the command substitution with
backquotes. That way gcc 4.1.2 would install successfully on my machines.
The command most probably originates from gcc/Makefile.in on line 3786 of 4616,
but I haven't retried compilation with that change.
--
Summary: make install fails due to erroneous nesting of echo
commands
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gabriel dot kaelin at visonys dot com
GCC build triplet: i386-pc-solaris2.10, sparc-sun-solaris2.10
GCC host triplet: i386-pc-solaris2.10, sparc-sun-solaris2.10
GCC target triplet: i386-pc-solaris2.10, sparc-sun-solaris2.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30809