Tom Stove
Tom Stove

Reputation: 177

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

Upvotes: 2

Views: 2319

Answers (2)

Dmitry Russ
Dmitry Russ

Reputation: 86

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

Upvotes: 7

Dom
Dom

Reputation: 21

I had the same problem and was able to install by updating homebrew.

brew update

If you are have trouble running brew update, you probably need to fetch origin: brew update: The following untracked working tree files would be overwritten by merge:

Upvotes: 2

Related Questions