Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579810 - sci-geosciences/viking-1.6-r2 seems to need mapnik-2 or '-std=c++11'
Summary: sci-geosciences/viking-1.6-r2 seems to need mapnik-2 or '-std=c++11'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-13 07:54 UTC by Ervin Peters
Modified: 2016-04-16 06:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ervin Peters 2016-04-13 07:54:28 UTC
After upgrading mapnik to 3.0.9 revdep-rebuild wanted to rebuild viking.

That failed in configure because of a missing (/usr/include/)mapnik/map.hpp

---8<----

configure: error: mapnik/map.hpp is needed but not found - you will need to install package 'libmapnik-dev' or similar. The feature can be disabled with --disable-mapnik

---8<----

but, the file exists. Digging further there is another interesting message:

---8<----

| #include <mapnik/map.hpp>
configure:11743: result: no
configure:11743: checking mapnik/map.hpp presence
configure:11743: x86_64-pc-linux-gnu-g++ -E  conftest.cpp
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/cstd
int:35:0,
                 from /usr/include/mapnik/global.hpp:27,
                 from /usr/include/mapnik/color.hpp:28,
                 from /usr/include/mapnik/map.hpp:28,
                 from conftest.cpp:104:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
---8<----

It seems to me that viking needs to be told that it should use '-std=c++11' as compile option when using mapnik-3.

how?

ervin
Comment 1 Hans de Graaff gentoo-dev Security 2016-04-16 06:29:38 UTC
This should be fixed with viking 1.6.2