Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 622
chiranjeevigk Avatar asked Nov 05 '14 13:11

chiranjeevigk


2 Answers

According to the Internets you need to install apache2-dev (previously known as 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.

like image 115
scai Avatar answered Sep 25 '22 01:09

scai


For Ubuntu

sudo apt-get install apache2-devel

For RedHat & CentOs

yum install httpd-devel

like image 45
Venkat G Avatar answered Sep 25 '22 01:09

Venkat G