pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51247: devel/glibmm will not compile, needs c++11



>Number:         51247
>Category:       pkg
>Synopsis:       devel/glibmm will not compile, needs c++11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 15 08:20:00 +0000 2016
>Originator:     Petr Topiarz
>Release:        pkgsrc-current
>Organization:
Petr Topiarz
>Environment:
NetBSD T40.openunix.eu 6.1.5 NetBSD 6.1.5 (GENERIC) i386
>Description:
Cannot compile mate because of problem with ../../devel/glibmm
I guess it needs a line or two into Makefile and it will work well - however I have no idea how to formulate the option for config.

cd /usr/pkgsrc/meta-pkgs/mate
make install
.
.
=> Full dependency mate-system-monitor>=1.14.0: NOT found
=> Verifying reinstall for ../../sysutils/mate-system-monitor
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for mate-system-monitor-1.14.0.tar.xz
=> Checksum RMD160 OK for mate-system-monitor-1.14.0.tar.xz
=> Checksum SHA512 OK for mate-system-monitor-1.14.0.tar.xz
===> Installing dependencies for mate-system-monitor-1.14.0
=> Tool dependency itstool-[0-9]*: found itstool-2.0.2
=> Tool dependency libxml2-[0-9]*: found libxml2-2.9.4
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb12
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb1
=> Tool dependency gmake>=3.81: found gmake-4.2nb1
=> Tool dependency perl>=5.0: found perl-5.24.0
=> Tool dependency pkgconf-[0-9]*: found pkgconf-0.9.12.20151211nb2
=> Build dependency x11-links>=1.02: found x11-links-1.02
=> Build dependency gcc47>=4.7: found gcc47-4.7.4nb1
=> Full dependency {gcc47,gcc47-libs}>=4.7: found gcc47-4.7.4nb1
=> Full dependency {gcc47,gcc47-libs}>=4.7.0: found gcc47-4.7.4nb1
=> Full dependency glib2>=2.34.0: found glib2-2.48.1
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.22
=> Full dependency glibmm>=2.32.1nb1: NOT found
=> Verifying reinstall for ../../devel/glibmm
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Configuring for glibmm-2.48.1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports GNU make features... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking whether c++ supports C++11 features by default... no
checking whether c++ supports C++11 features with -std=c++11... no
checking whether c++ supports C++11 features with -std=c++0x... no
checking whether c++ supports C++11 features with +std=c++11... no
checking whether c++ supports C++11 features with -h std=c++11... no
configure: error: *** A compiler with support for C++11 language features is required.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/glibmm
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/glibmm
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/mate-system-monitor
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/meta-pkgs/mate
T40# 

>How-To-Repeat:
install pkgsrc-current on i386 machine with 6.1.5 base
cd /usr/pkgsrc/meta-pkgs/mate
make install
(and if you go over my two bugs with libintl.la, you will eventually arrive at compiling /usr/pkgsrc/devel/glibmm where it stops)
>Fix:
Probably to change compilation options or the compiler ???



Home | Main Index | Thread Index | Old Index