cctools fails to install on my 10.7.5

Ken Cunningham ken.cunningham.webuse at gmail.com
Wed Feb 26 21:03:24 UTC 2020


> Here it is:
> 
> macOS 10.7.5 11G63b
> Xcode 4.6.3 4H1503 
> 
> The only difference is the trailing “b” in macOS. I don’t know its meaning, for sure it’s not “b for beta”, as I’ve never played with beta systems.
> 
> 

I'm not sure about the "b", but the issue seems to be you can't build anything with c++ it appears, even though our build lines are identical:


You:

/usr/bin/clang++ -Os -stdlib=libc++  -arch x86_64 -I/opt/local/libexec/llvm-3.4/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-927.0.2/../ld64-450.3/src/abstraction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-927.0.2/../ld64-450.3/src/other -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-927.0.2/include -stdlib=libc++ -c -o \
:info:build 		./PruneTrie.o ./PruneTrie.cpp
:info:build In file included from ./PruneTrie.cpp:24:
:info:build In file included from /usr/bin/../lib/c++/v1/vector:261:
:info:build In file included from /usr/bin/../lib/c++/v1/__bit_reference:15:
:info:build In file included from /usr/bin/../lib/c++/v1/algorithm:591:
:info:build /usr/bin/../lib/c++/v1/type_traits:165:12: error: unknown type name '_LIBCPP_CONSTEXPR'
:info:build     static _LIBCPP_CONSTEXPR const _Tp      value = __v;


Me:
/usr/bin/clang++ -Os -stdlib=libc++  -arch x86_64 -I/opt/local/libexec/llvm-3.4/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-927.0.2/../ld64-450.3/src/abstraction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-927.0.2/../ld64-450.3/src/other -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-927.0.2/include -stdlib=libc++ -c -o \
		./PruneTrie.o ./PruneTrie.cpp



Please try building a very simple c++ "hello, world" program with 

/usr/bin/clang++ -stdlib=libc++ 

and see if your c++ compiler is working at all --- 

If not, there's your issue --- and you'd need to reinstall something. We can't do much if your /usr/bin/clang++ is broken.

If it works -- well then I don't know just yet -- we'd have to see...

Ken


More information about the macports-users mailing list