Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing QGIS on Mac #2

Open
hanxue opened this issue Jul 3, 2014 · 2 comments
Open

Error installing QGIS on Mac #2

hanxue opened this issue Jul 3, 2014 · 2 comments

Comments

@hanxue
Copy link
Owner

hanxue commented Jul 3, 2014

OSX: 10.9.4
QGIS: 2.2.0

When installing QGIS, you will see this error message

screen shot 2014-06-26 at 12 04 58 pm

Reference: Homebrew/homebrew-cask#5074

@hanxue
Copy link
Owner Author

hanxue commented Jul 3, 2014

1. Manual Installation

QGIS requires Python and a few Frameworks to be installed.

GDAL Framework

Download and install GDAL Framework from http://www.kyngchaos.com/software/frameworks Latest version as of 30 May 2014 is http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.11.dmg

For the technically inclined, the GDAL framework ships with the following libraries as well

  • Maptools project framework
  • SQLite
  • UnixImageIO
  • Refractions Geos framework
  • Scipy

Matplotlib Framework

Download and install Matplotlib from http://www.kyngchaos.com/software/python

Latest version as of writing is 1.3.1-2 http://www.kyngchaos.com/files/software/python/matplotlib-1.3.1-2.dmg

Now you can install QGIS without dependencies error

2. Use Homebrew Cask

Following steps require you to use Terminals and a bit of technical knowledge. Worth the effort to use Homebrew Cask because it makes installing software a breeze in Mac.

  1. Install Homebrew http://brew.sh/ and Homebrew Cask http://caskroom.io/
  2. Run brew update
  3. Install GDAL Framework with brew cask install gdal-framework
  4. Install Matplotlib with brew cask install matplotlib
  5. Finally, install QGIS with brew cask install qgis

@hanxue
Copy link
Owner Author

hanxue commented Jul 3, 2014

Proposed Solution

1. Complete installer

Create a complete installer that includes the GDAL Framework, matplotlib and other dependencies together with QGIS

Disadvantages

  1. May cause issues if existing frameworks already exist
  2. Large installer, additional ~80MB on top of QGIS

2. Handle dependency in Homebrew Cask

Implement Homebrew/homebrew-cask#4896 so that installing qgis will automatically install the two other Cask dependencies as well

Happy for anyone to attempt them, I don't have any free time for the foreseeable future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant