| Summary: | sci-geosciences/viking USE=mapnik - 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 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vincent-Xavier JUMEL <endymion+gentoo> |
| Component: | Current packages | Assignee: | Hans de Graaff <graaff> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | Dan.Johansson, kripton, pete_dawgg, sci-geosciences, tb |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
build.log build.log emerge --info |
||
|
Description
Vincent-Xavier JUMEL
2019-02-04 18:15:55 UTC
Created attachment 563726 [details]
emerge --info
Created attachment 563728 [details]
build.log
exact same error here with sci-geosciences/mapnik-3.0.18 installed as dep checking mapnik/map.hpp usability... no checking mapnik/map.hpp presence... no checking for mapnik/map.hpp... no 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 !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-geosciences/viking-1.7/work/viking-1.7/config.log * ERROR: sci-geosciences/viking-1.7::gentoo failed (configure phase): Created attachment 566318 [details]
build.log
build.log
sci-geosciences/viking-1.7:0/0::gentoo
Created attachment 566320 [details]
emerge --info
emerge --info
the reason for this error is in some misplaced/misreferenced files belonging to sci-geosciences/mapnik-3.0.18. it seems configure expects files in /usr/include/mapnik/util/mapbox/ but the mapnik-installation from portage puts the files into /usr/include/mapnik/mapbox/. I found out by running the configure-script from the source manually and checking config.log; the errormsg emitted by ./configure is misleading. i could compile it manually and with portage by putting full paths into /usr/include/mapnik/util/variant.hpp and /usr/include/mapnik/util/mapbox/variant.hpp (dir mapbox/ copied into dir util/) which is certainly not the right way but might give some hints fixing this. I ran into the exact same error, when tried to build viking. I think the issue is how mapnik is deploying their includes. I added https://github.com/mapnik/mapnik/issues/4141 mapnik is no longer packaged in gentoo and viking 1.8 consequently no longer has support for it. |