Search code examples
homebrewgdal

Installing GDAL with Homebrew Error


I'm currently working through Let's make a map and I'm having difficulty installing GDAL. Here's the console output:

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

I'm on a mac running Mountain Lion so sqlite should already be installed. Any help would be much appreciated.

Thanks, Tom


Solution

  • http://sqlite.org/ doesn't support resume downloading. Go to

    cd /Library/Caches/Homebrew or if you configurated other Location: brew --cache

    And delete all incomplete downloaded sqlite files (like rm sqlite*).

    And then try brew install sqlite