一、编译环境准备
pgRouting的安装需要boost,cgal的编译环境,而cgal的安装又需要cmake编译工具。
1. 检查编译环境
在postgresql和postgis的安装中,我们已经安装了系统镜像的全部rpm包,boost也会被自动安装,可通过一下命令检查boost版本。
vim /usr/include/boost/version.hpp
- cgal
https://github.com/CGAL/cgal/releases/tag/releases%2FCGAL-4.13.2
- cmake
https://cmake.org/files/v3.2/cmake-3.2.0.tar.gz
- pgrouting
https://github.com/pgRouting/pgrouting/releases/download/v2.6.3/pgrouting-2.6.3.tar.gz