我有一个我要安装的Django项目,它使用GDAL。该文档将我引用到Django文档中的这个page。我已经能够安装GEOS和PROJ.4。我想使用最新的GDAL 2.2.1和./configure命令失败,所以我按照this指令编译。但是,make命令现在失败并出现以下错误
In file included from cpl_odbc.cpp:30:
/Users/DNG/gdal-2.2.1/port/cpl_odbc.h:39:10: fatal error: 'sql.h' file not found
#include <sql.h>
^
1 error generated.
make[1]: *** [cpl_odbc.o] Error 1
make: *** [port-target] Error 2
sudo find / -name sql.h
输出:
find: /dev/fd/DNG: No such file or directory
find: /dev/fd/DNG: No such file or directory
/usr/local/Cellar/unixodbc/2.3.4/include/sql.h
/usr/local/include/sql.h
/usr/local/php5-7.0.18-20170506-095200/include/sql.h