After a fresh install and pkgsrc install, I wanted to build some packages,
however 'pkg_install' failed. I received the following error:
Code:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
Hjordis#
Adding
Code:
USE_LANGUAGE= c c++
.include "../../mk/bsd.pkg.mk"
like suggested doesn't seem to help.
I have absolutely no idea how to solve this.