This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: header installation failure


* 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} \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]