This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: header installation failure
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: David Edelsohn <dje at watson dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 29 Apr 2008 20:10:46 +0200
- Subject: Re: header installation failure
- References: <200804261621.m3QGLaic028638@makai.watson.ibm.com>
* David Edelsohn wrote on Sat, Apr 26, 2008 at 06:21:36PM CEST:
> As of last night, I receive an error when trying to install the
> libstdc++ parallel headers:
>
> for file in ; do \
> /farm/dje/src/src/install-sh -c -m 644 ${file}
> /farm/dje/install/powerpc-ibm-aix5.3.0.0-20080425/include/c++/4.4.0/./parallel; done
> /bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected.
> make[4]: *** [install-headers] Error 2
Proposed patch. OK for trunk?
Bootstrap and make install without and with --disable-libgomp is still
running (and will be for quite a while).
Thanks,
Ralf
libstdc++-v3/ChangeLog:
2008-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* include/Makefile.am (install-headers): Cope with empty
parallel_headers.
* include/Makefile.in: Regenerate.
diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am
index 22ac39c..a867f00 100644
--- a/libstdc++-v3/include/Makefile.am
+++ b/libstdc++-v3/include/Makefile.am
@@ -1196,8 +1196,10 @@ install-headers:
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir}
for file in ${debug_headers}; do \
$(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done
- $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir}
- for file in ${parallel_headers}; do \
+ parallel_headers_install='${parallel_headers}';\
+ test -z "$$parallel_headers_install" || \
+ $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir};\
+ for file in $$parallel_headers_install; do \
$(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${parallel_builddir}; done
$(mkinstalldirs) $(DESTDIR)${host_installdir}
for file in ${host_headers} ${host_headers_extra} \