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

Ivan Maidanski ivmai at mail.ru
Wed Feb 15 01:02:18 PST 2012


Hi Trevor,

I don't see such error with the latest snapshots (both "release" and "master").
Could you please check it too?

git clone git://github.com/ivmai/bdwgc.git -b release
cd bdwgc
git clone git://github.com/ivmai/libatomic_ops.git -b release
autoreconf -vif
./configure --enable-cplusplus
make check
sudo make install

Regards.

15 02 2012, 08:07 Trevor Wennblom <trevor at corevx.com>:
> 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 \
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 



More information about the Gc mailing list