首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装mapnik-rasterizers失败

安装mapnik-rasterizers失败
EN

Stack Overflow用户
提问于 2012-11-21 23:14:37
回答 1查看 181关注 0票数 0

我想从这里根据自述文件安装mapnik-rasterizer:https://github.com/stellaeof/mapnik-rasterizers

现在的问题是,"make install“给出了这个错误消息:

代码语言:javascript
复制
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/精确更新2.0.0+ds1-3build1

Ubuntu -版本:Ubuntu 12.04.1。

这个分支的错误消息(https://github.com/springmeyer/mapnik-rasterizers )在"make install“之后

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

发布于 2012-11-22 01:26:53

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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13496249

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档