[Gc] error installing 7.2alpha6 with install (GNU coreutils) 8.15, attempting to install gc_cpp.h and gc_allocator.h twice.

Trevor Wennblom trevor at corevx.com
Tue Feb 14 20:03:59 PST 2012


error installing 7.2alpha6 with install (GNU coreutils) 8.15, attempting to install gc_cpp.h and gc_allocator.h twice.

issue:
./configure --enable-cplusplus
[...]
libtool: install: (cd /usr/local/Cellar/bdw-gc/7.2alpha6/lib && { ln -s -f libcord.1.dylib libcord.dylib || { rm -f libcord.dylib && ln -s libcord.1.dylib libcord.dylib; }; })
/usr/local/bin/ginstall: will not overwrite just-created `/usr/local/Cellar/bdw-gc/7.2alpha6/include/gc/gc_cpp.h' with `include/gc_cpp.h'
/usr/local/bin/ginstall: will not overwrite just-created `/usr/local/Cellar/bdw-gc/7.2alpha6/include/gc/gc_allocator.h' with `include/gc_allocator.h'
make[2]: *** [install-pkgincludeHEADERS] Error 1
make[2]: *** Waiting for unfinished jobs....


fix:
diff --git a/Makefile.in b/Makefile.in
index 09dea13..1f4356e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -108,7 +108,6 @@ check_PROGRAMS = gctest$(EXEEXT) leaktest$(EXEEXT) middletest$(EXEEXT) \
 # C++ Interface
 # -------------
 @CPLUSPLUS_TRUE at am__append_5 = libgccpp.la
- at CPLUSPLUS_TRUE@am__append_6 = include/gc_cpp.h include/gc_allocator.h
 DIST_COMMON = $(am__configure_deps) $(am__pkginclude_HEADERS_DIST) \
    $(dist_noinst_HEADERS) $(dist_noinst_SCRIPTS) \
    $(dist_pkgdata_DATA) $(include_HEADERS) $(srcdir)/Makefile.am \
@@ -579,7 +578,7 @@ include_HEADERS = include/extra/gc.h include/extra/gc_cpp.h

 # installed headers
 #
-pkginclude_HEADERS = $(am__append_6) include/gc.h include/gc_typed.h \
+pkginclude_HEADERS = include/gc.h include/gc_typed.h \
    include/gc_inline.h include/gc_mark.h include/gc_cpp.h \
    include/weakpointer.h include/new_gc_alloc.h \
    include/gc_allocator.h include/gc_backptr.h include/gc_gcj.h \


More information about the Gc mailing list