[Tile-serving] [openstreetmap/osm2pgsql] cmake failed at CentOS7 wihtin docker container (#583)

ImreSamu notifications at github.com
Sat May 28 01:57:09 UTC 2016


@cogidoo

for me  -  the  extra :   ` yum install -y make ` -  solved the problem.

So can you re-test with this Dockerfile ?
```Dockerfile
FROM centos:latest
RUN yum install -y epel-release; yum clean all

# install requirements for osm2pgsql
RUN yum install -y cmake gcc-c++ boost-devel expat-devel zlib-devel bzip2-devel postgresql-devel geos-devel proj-devel proj-epsg lua-devel; yum clean all

# install git
RUN yum install -y git
RUN git config --global url.https://github.com/.insteadOf git://github.com/

# checkout osm2pgsql
RUN mkdir /src
WORKDIR /src

RUN yum install -y make 
RUN git clone git://github.com/openstreetmap/osm2pgsql.git
RUN cd osm2pgsql && mkdir -p build && cd build && cmake .. 
RUN cd osm2pgsql/build &&  make
CMD ["/bin/bash"]
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/583#issuecomment-222284208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160527/2616f938/attachment.html>


More information about the Tile-serving mailing list