0

我想根据这里的 README 安装 mapnik-rasterizers:https ://github.com/stellaeof/mapnik-rasterizers

现在的问题是“make install”给了我这个错误信息:

hiwi1102@hiwi1102:~/mapnik-rasterizers-master$ make install
make: mapnik-config: Kommando nicht gefunden
make: mapnik-config: Kommando nicht gefunden
make: mapnik-config: Kommando nicht gefunden
g++ -c  -fPIC -I/usr/include/agg2  -MMD -MP -MF .heatmap_datasource.cpp.d heatmap_datasource.cpp -o heatmap_datasource.os
In file included from rasterizer_datasource.hpp:11:0,
                 from heatmap_datasource.hpp:10,
                 from heatmap_datasource.cpp:7:
chained_datasource.hpp:12:30: schwerwiegender Fehler: mapnik/feature.hpp: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make: *** [heatmap_datasource.os] Fehler 1
hiwi1102@hiwi1102:~/mapnik-rasterizers-master$

有人可以帮我解决这个问题吗?

我的机器上运行了 python-mapnik2
apt-show-versions python-mapnik2 显示:python-mapnik2/precise uptodate 2.0.0+ds1-3build1
Ubuntu-Version:Ubuntu 12.04.1。

在“make install”之后这个fork(https://github.com/springmeyer/mapnik-rasterizers)的错误信息

hiwi1102@hiwi1102:~/mapnik-rasterizers-master$ make install 
make: mapnik-config: Kommando nicht gefunden
make: mapnik-config: Kommando nicht gefunden
make: mapnik-config: Kommando nicht gefunden
g++ -c  -fPIC -I/Users/dane/projects/mapnik/deps/agg/include  -MMD -MP -MF .heatmap_datasource.cpp.d heatmap_datasource.cpp -o heatmap_datasource.os
In file included from rasterizer_datasource.hpp:11:0,
                 from heatmap_datasource.hpp:10,
                 from heatmap_datasource.cpp:7:
chained_datasource.hpp:12:30: schwerwiegender Fehler: mapnik/feature.hpp: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make: *** [heatmap_datasource.os] Fehler 1
4

1 回答 1

1

原作者目前没有维护光栅化程序代码。请在https://github.com/springmeyer/mapnik-rasterizers使用我的叉子。根据您的 mapnik 版本,我需要对代码进行一些调整,因此请发布您的 mapnik 版本的问题以及基于尝试从我的 fork 编译的确切错误。

于 2012-11-21T17:26:52.773 回答