-
Notifications
You must be signed in to change notification settings - Fork 111
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
Install QGIS 3.2 Bonn #396
Comments
@fjperini Thanks for this detailed guide. I'm curious though, what were you hoping we would do with this? I saw you made a pull request yesterday and then closed it immediately. If you'd like to contribute a QGIS3 formula feel free to open a PR and we can work on getting it building. Also, if you're experiencing issues with some of the formulae please open specific issues, it's unclear as to what isn't working when your document just says 'fails'. Thanks for the hard work and deep research! |
Hello @nickrobison ! Many report the same drawbacks. That's why I ordered a little the steps to follow to complete the installation of QGIS. And that you can comment, there is no other space with this function. Also report that It would be good to create the package As for the PR, I had started one in qgis/homebrew-qgisdev, it seemed to me that it was not necessary to be open. I had the intention that the fork of osgeo/homebrew-osgeo4mac incorporates the And finally, about the integration of R into QGIS. Suggestions? I hope it is useful. Regards! |
Regarding the I'll have to dig into the R issue, would you mind opening a new issue for that, along with some details about what errors you're getting when you try to use specific functions? I know lots of people are interested in a QGIS 3 formula but we just haven't had the time to get thing working correctly. If you'd like to open a PR proposing a new QGIS3 formula, I'd be happy to review it and try to help get it merged. |
Sure, it was because of that the error when using the It is a good suggestion to open an issue to deal with the integration of R. I was reading a bit about this, I order some things and I publish. As for QGIS 3 formula, I will realize a fork to start working on it. We could make it work. Thanks and regards! |
Looking forward to the PR! The QGIS folks made a decision (a while ago) to only support version 2.3 of SAGA, because of the difficulty supporting multiple versions, which had a lot of internal changes. It might be worth raising an issue with the QGIS folks to see if they might consider improving support to a newer version. |
It would be very good to raise it. |
great guide!!! I did something similar in the past but with 3.0.3 stoped working and I don't know why. I'll take a look to this. I also moved the .app to |
I agree @luisspuerto, it is better not to change it. Yes, I found many things in your great publication. The installation of QGIS was carried out without problems. You can check! 👍 |
it gave me again an error
Edit: it was a problem with ccache. I uninstalled it since I have llvm and in the qgis compiling instructions say that it's need if you have llvm. |
I'll check. Check if you have the same files in your it is an error at the beginning, something you are not finding to continue with the construction of the package. Uninstall the dependencies to ensure a clean installation. |
It was ccache. I uninstalled it and it worked. 😄 |
Glad it worked 🎉 |
I’m even more glad. Your post encouraged me to recheck the install and I found out that cache was involved. |
That is the idea, review and contribute. Update your web with this entry so that it is available for everyone! 😃 |
This fails for me with:
|
@geoHeil modify the file
|
Wow. great. However this also gives me only the next error: |
@geoHeil we can't see you error because you linked the general gist page. |
QGIS 3.2 Bonn on macOS with Homebrew
$ brew tap qgis/qgisdev
Or install via URL (which will not receive updates):
brew install https://raw.githubusercontent.com/qgis/homebrew-qgisdev/master/Formula/qgis3-dev.rb
Another solution is to copy all the content directly to:
../Taps/qgis/homebrew-qgisdev
$ cd /usr/local/Homebrew/Library/Taps/qgis/homebrew-qgisdev
$ git checkout -b matplotlib-fix+python
$ brew edit qgis3-dev
Fix for matplotlib and python. Change to:
$ git add Formula/qgis3-dev.rb
$ git commit -m "fix for matplotlib and python”
See changes. You can copy the entire file to make sure.
For,
ImportError: No module named site
$ brew install pyqt
$ brew install bison
Modify the file
/usr/local/bin/pyrcc5
and changepythonw2.7
topython3
:Build and install
$ brew install proj
#--build-from-source
Proj v5.1.0 # With Proj v4: Library not loaded: libproj.13.dylib
$ brew install libspatialite
#--build-from-source
$ brew install libgeotiff
#--build-from-source
$ brew install osgeo/osgeo4mac/gdal2
# recommended. Other:gdal
You can use the options:
--with-complete
--with-unsupported
--with-armadillo
--with-libkml
--with-opencl
--with-postgresql
--with-java
--with-swig-java
It is necessary to uninstall
ccache
if you havellvm
.$ brew install -v --no-sandbox qgis3-dev --with-grass --with-saga-gis-lts
# other:--with-r
--with-3d
It can stop at the end of the
gdal2
installation, for that reason we installed it before. If it stops, just rerun the above command to continue with the installation of QGIS.The same thing happens in Travis CI (PR) when doing a pull request.
Suggestions to correct it?
If
v2
is installed, change the name ofQGIS.app
toQGIS 2.app
After finish building QGIS, move the app from the Homebrew Cellar to the
/Applications
folder.$ mv /usr/local/opt/qgis3-dev/QGIS.app /Applications/QGIS.app
$ ln -s /Applications/QGIS.app /usr/local/opt/qgis3-dev/QGIS.app
To run
GRASS:
$ grass74
# in the installation:ln -s ../Cellar/grass7/7.4.0/bin/grass74 /usr/local/bin/grass74
SAGA:
$ saga_gui
# create a direct link :ln -s ../Cellar/saga-gis-lts/2.3.2/bin/saga_gui /usr/local/bin/saga_gui
If you intend to create the
SAGA.app
package, usingsaga-gis-lts --with-app
will fail:That formula no longer compiles on High Sierra due to its age and recent updates to the MacOS compiler. Build it without --with-app, isn't needed for QGIS integration. [Commented here]
There is also the package
saga-gis
where it is reported:keg_only "QGIS fails to load the correct SAGA version, if the latest version is in the path"
For
GRASS.app
, it is not available ingrass7
.The
grass7
package can also be installed with--with-netcdf
.To solve the integration problem of
R in QGIS
see this post. Suggestions for this?References:
http://luisspuerto.net/2018/03/qgis-on-macos-with-homebrew/
https://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX_using_homebrew
https://sourceforge.net/p/saga-gis/wiki/Compiling%20SAGA%20on%20Mac%20OS%20X/
qgis/homebrew-qgisdev#62 / qgis/homebrew-qgisdev#64 / qgis/homebrew-qgisdev#66
The text was updated successfully, but these errors were encountered: