我想运行带有OSM数据的切片服务器
我想安装mod_tile所以我跟着mod_tile setup
但是当我这样做的时候
。/配置
它说
checking for getloadavg... yes
checking for apxs... no
checking for apxs2... no
checking for /opt/local/apache2/bin/apxs... no
configure: error: Could not find apxs on the path.
知道出了什么问题吗?
根据the Internets你需要安装apache2-devel
。然后apx
二进制文件应位于/ usr / bin / apxs2或/ usr / sbin / apxs2下。
注意:要构建磁贴服务器,您应该遵循guide on switch2osm。
对于Ubuntu
sudo apt-get install apache2-devel
对于RedHat和CentOs
yum install httpd-devel