DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 10th April 2009
Graaf_van_Vlaanderen Graaf_van_Vlaanderen is offline
Port Guard
 
Join Date: Apr 2009
Posts: 10
Thanked 0 Times in 0 Posts
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a New System, Ideas ninjatux General Hardware 19 20th May 2009 09:54 AM
Problem Building Openoffice-3 Alphalutra1 FreeBSD Ports and Packages 1 1st May 2009 04:22 AM
Building a Server with FreeBSD 7 anomie Book reviews 10 16th April 2009 01:13 PM
Linking and building vbox Mr-Biscuit FreeBSD General 3 3rd October 2008 08:27 AM
FreeBSD 7.0 kernel building... daemonFromHeaven FreeBSD Installation and Upgrading 4 3rd September 2008 02:42 PM


All times are GMT. The time now is 05:02 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick