使用自制错误安装GDAL

时间:2013-03-26 02:33:32

标签: homebrew gdal

我目前正在使用Let's make a map并且我在安装GDAL时遇到了困难。这是控制台输出:

brew doctor
Your system is raring to brew.
Toms-MacBook-Pro:~ tomstove$ brew install gdal
==> Installing gdal dependency: sqlite
==> Downloading http://sqlite.org/2013/sqlite-autoconf-3071600.tar.gz
###################################                                       49.8%
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
Error: Download failed: http://sqlite.org/2013/sqlite-autoconf-3071600.tar.gz

我在运行Mountain Lion的mac上,所以应该已经安装了sqlite。任何帮助将不胜感激。

谢谢, 汤姆

2 个答案:

答案 0 :(得分:6)

http://sqlite.org/不支持恢复下载。 转到

cd /Library/Caches/Homebrew 或者如果您配置了其他位置: brew --cache

并删除所有未完整下载的sqlite文件(如rm sqlite*)。

然后试试 brew install sqlite

答案 1 :(得分:2)

我遇到了同样的问题,可以通过更新自制软件来安装。

brew update

如果您在运行brew更新时遇到问题,则可能需要获取原点: brew update: The following untracked working tree files would be overwritten by merge:

相关问题