View Single Post
  #1   (View Single Post)  
Old 10th April 2009
Graaf_van_Vlaanderen Graaf_van_Vlaanderen is offline
Port Guard
 
Join Date: Apr 2009
Posts: 10
Default Failed building pkg_install

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.
Reply With Quote