Not able build apache mod_tile in openSuse error: Could not find apxs on the path

戏子无情 提交于 2019-12-01 17:36:45

问题


I want to run a tiles server with OSM data

i want to install mod_tile so i followed the mod_tile setup

But when i do the

./configure

It says

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.

any idea what went wrong?


回答1:


According to the Internets you need to install apache2-devel. The apx binary should then be located under /usr/bin/apxs2 or /usr/sbin/apxs2.

Note: For building a tile server you should follow the guide on switch2osm.




回答2:


For Ubuntu

sudo apt-get install apache2-devel

For RedHat & CentOs

yum install httpd-devel



来源:https://stackoverflow.com/questions/26758904/not-able-build-apache-mod-tile-in-opensuse-error-could-not-find-apxs-on-the-pat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!