Subject: pkg/33483: Some packages seems not to recognize the ability to compile C++ code on my machine
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <schlesinger@netcologne.de>
List: pkgsrc-bugs
Date: 05/15/2006 08:45:01
>Number:         33483
>Category:       pkg
>Synopsis:       Some packages seems not to recognize the ability to compile C++ code on my machine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 15 08:45:00 +0000 2006
>Originator:     Thomas Schlesinger
>Release:        DragonFly 1.5.3-DEVELOPMENT
>Organization:
>Environment:
DragonFly SchlesisNB. 1.5.3-DEVELOPMENT DragonFly 1.5.3-DEVELOPMENT #7: Mon May  1 19:26:35 CEST 2006     thomas@SchlesisNB.:/usr/obj/usr/src/sys/ASUS-V6800  i386

>Description:
When I try to build koffice, for example, I get this message while configuring:

[..]
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.
*** Error code 1

The config.log tells me (for example):
[..]
configure:3871: c++ --version </dev/null >&5
===>
===> Please add USE_LANGUAGES+=c++ to the package Makefile.
===>
[..]

When I add this line to the Makefile, the error message is gone. Do I have a misconfigured pkgsrc installation, or is this "expected behaviour"?
>How-To-Repeat:
cd misc/koffice
bmake install clean
>Fix: