我在 mac osx 上安装 postgis 并收到此错误
configure: error: could not find proj_api.h - you may need to specify the directory of a PROJ.4 installation using --with-projdir
我已经按照这个命令安装了 geos。
wget http://download.osgeo.org/geos/geos-3.1.1.tar.bz2
tar xfj geos-3.1.1.tar.bz2
cd geos-3.1.1
./configure
make
sudo make install
cd ..
我正在按照这些命令安装 postgis
wget http://download.osgeo.org/postgis/source/postgis-2.0.6.tar.gz
tar xfz postgis-2.0.6.tar.gz
cd postgis-2.0.6
./configure
最后一行之后出现错误。我是 mac 新手,如果有人提供帮助,我将非常感激。我无法找到这个 proj_api.h 或错误中列出的任何内容