When try to update portupgrade got below error
So I was thinking it could related with cmake, so I tried to reinstall cmake. And then found that cmake-core installation always failed.
I'm not familiar with compile, could someone please help?
many thanks
Code:
checking dynamic linker characteristics... freebsd14.0 ld.so
checking how to hardcode library paths into programs... immediate
checking SOSUFFIX from libtool... .so
checking MODSUFFIX from libtool... .so
checking JMODSUFFIX from libtool... .so
checking whether the C++ compiler supports templates for STL... configure: error: no
===> Script "../dist/configure" failed unexpectedly.
Please report the problem to [email]ports@FreeBSD.org[/email] [maintainer] and attach the
"/usr/ports/databases/db5/work/db-5.3.28/build_unix/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[5]: stopped in /usr/ports/databases/db5
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/databases/db5
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/databases/ruby-bdb
So I was thinking it could related with cmake, so I tried to reinstall cmake. And then found that cmake-core installation always failed.
Code:
Error when bootstrapping CMake:
Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.
Please specify one using environment variable CXX.
The C++ flags are "-O2 -pipe -I/usr/local/include -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -D__BSD_VISIBLE -isystem /usr/local/include ".
They can be changed using the environment variable CXXFLAGS.
See cmake_bootstrap.log for compilers attempted.
---------------------------------------------
Log of errors: /usr/ports/devel/cmake-core/work/cmake-3.28.3/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
===> Script "configure" failed unexpectedly.
Please report the problem to [email]kde@FreeBSD.org[/email] [maintainer] and attach the
"/usr/ports/devel/cmake-core/work/cmake-3.28.3/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
I'm not familiar with compile, could someone please help?
many thanks