[Tile-serving] [openstreetmap/osm2pgsql] Linux Alpine build error (#1078)
mmd
notifications at github.com
Wed Feb 19 16:41:51 UTC 2020
You need to install the following additional packages:
* boost-dev
* postgresql-dev
* git
and force LUA_LIBRARY=5.2 as a parameter, then you can compile osm2pgsql via make.
```
apk add --no-cache --virtual .osm2pgsql-build-deps \
make \
g++ \
cmake \
zlib-dev \
expat-dev \
bzip2-dev \
lua5.2-dev \
boost-dev \
postgresql-dev \
git \
\
&& mkdir /home/root \
&& wget -O /home/root/osm2pgsql.tar.gz "https://github.com/openstreetmap/osm2pgsql/archive/master.tar.gz" \
&& tar \
--extract \
--file /home/root/osm2pgsql.tar.gz \
--directory /home/root \
&& rm /home/root/osm2pgsql.tar.gz \
&& cd /home/root/osm2pgsql-master \
&& mkdir build && cd build \
&& cmake -D LUA_LIBRARY=5.2 ..
```
--
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/1078#issuecomment-588317510
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200219/3f711546/attachment.htm>
More information about the Tile-serving
mailing list