Comments (11)
Hi. See: #13
If using older qgis-20
, you may have to reinstall.
However, the patches may not be applied (may need to upgrade the formula to work with new patching syntax). When installing (using the -dv flags), you should see the patching of files noted; if not, then I need to fix the formula.
from homebrew-osgeo4mac.
Hi! Thanks for your quick response. brew thinks my qgis-2 is up-to-date. Should I uninstall/reinstall? Where exactly do the '-dv' flags go?
koa.local 56 mha % brew update
Already up-to-date.
koa.local 57 mha % brew doctor
Error: Failed to import: grass_off
No available formula for grass_off
Error: Failed to import: osgearth
No available formula for osgearth
Your system is ready to brew.
koa.local 58 mha % brew list
autoconf gpp libtool postgresql qwtpolar
automake gpsbabel libusb proj readline
bison gsl libxml2 protobuf ruby
cmake hdf5 libyaml protobuf-c sip
cscope jasper lzlib pyqt spatialindex
expat jpeg macvim pyspatialite sqlite
fcgi json-c netcdf python szip
freexl libgeotiff openssl qgis-20 tokyo-cabinet
gdal liblwgeom osm2pgsql qscintilla2 webp
gdbm libpng ossp-uuid qt
geos libspatialite pkg-config qwt
giflib libtiff postgis qwt60
koa.local 59 mha % brew install qgis-20
Warning: qgis-20-2.0.1 already installed
koa.local 60 mha %
from homebrew-osgeo4mac.
oops, I meant
'brew upgrade qgis-20' seems to think I am up-to-date
koa.local 61 mha % brew upgrade qgis-20
Error: qgis-20-2.0.1 already installed
koa.local 62 mha %
from homebrew-osgeo4mac.
Please follow the instructions outlined in issue 13. Basically, you have to do brew reinstall qgis-20
.
However, I just added and bumped the new revision
attribute of the formula in 067f551, so brew update && brew upgrade qgis-20
should now work.
from homebrew-osgeo4mac.
Btw, just compiled that formula here on 10.7.5, and bookmarks functionality is good here.
from homebrew-osgeo4mac.
I tried:
brew update
brew upgrade qgis-20
Ran into a problem with the gdal dependency:
==> Installing qgis-20 dependency: gdal
==> Downloading http://download.osgeo.org/gdal/1.10.1/gdal-1.10.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/gdal-1.10.1.tar.gz
==> Patching
patching file GDALmake.opt.in
patching file configure
patching file configure.in
patching file ogr/ogrsf_frmts/mysql/GNUmakefile
patching file ogr/ogrsf_frmts/mysql/ogrmysqldatasource.cpp
patching file port/cpl_spawn.cpp
==> Downloading http://downloads.sourceforge.net/project/numpy/NumPy/1.8.1/numpy-1.8.1.tar.gz
######################################################################## 100.0%
==> python setup.py build --fcompiler=gnu95 install --prefix=/usr/local/Cellar/gdal/1.10.1_1/li
File "/private/tmp/gdal--numpy-UtLE/numpy-1.8.1/numpy/distutils/fcompiler/init.py", line 464, in customize
self.find_executables()
File "/private/tmp/gdal--numpy-UtLE/numpy-1.8.1/numpy/distutils/fcompiler/init.py", line 354, in find_executables
raise CompilerNotFound('%s: f90 nor f77' % ctype)
numpy.distutils.fcompiler.CompilerNotFound: gnu95: f90 nor f77
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
from homebrew-osgeo4mac.
%pip --reinstall numpy
didn't fix the problem.
from homebrew-osgeo4mac.
Looks like this worked:
%brew uninstall gdal
%brew install --with-postgresql gdal
qgis 'make install' in progress...
from homebrew-osgeo4mac.
Still no luck :(
koa.local 89 mha % brew upgrade qgis-20
==> Upgrading 1 outdated package, with result:
qgis-20 2.0.1_1
==> Upgrading qgis-20
==> Installing qgis-20 dependency: libusb
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libusb-1.0.18.mavericks.bo
######################################################################## 100.0%
==> Pouring libusb-1.0.18.mavericks.bottle.tar.gz
🍺 /usr/local/Cellar/libusb/1.0.18: 11 files, 332K
==> Installing qgis-20
==> Downloading https://github.com/qgis/QGIS/archive/final-2_0_1.tar.gz
Already downloaded: /Library/Caches/Homebrew/qgis-20-2.0.1.tar.gz
==> Downloading https://gist.githubusercontent.com/dakcarto/11231756/raw/8454c7bf118e5672899afa
######################################################################## 100.0%
==> Patching
patching file python/CMakeLists.txt
patching file src/core/qgsmaplayerregistry.h
patching file src/gui/qgsattributedialog.h
patching file src/gui/qgsmapcanvas.h
patching file src/gui/qgsmessagelogviewer.h
patching file python/gui/qgsfieldvalidator.sip
patching file cmake_templates/qgsconfig.h.in
patching file src/app/main.cpp
patching file src/python/qgspythonutilsimpl.cpp
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 61 with fuzz 1.
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qgis-20/2.0.1_1 -DCMAKE_BUILD_TYPE=None -
==> make install
Error: No such file or directory - /usr/local/Library/Taps/osgeo-osgeo4mac/enviro/python_startup.py
from homebrew-osgeo4mac.
'brew tap osgeo/osgeo4mac' worked.
RTFM :)
Bookmarks work now! Thanks for your help!
from homebrew-osgeo4mac.
Glad you got it working. Looks like I need to fix that hard-coded path to work regardless of parent tap.
from homebrew-osgeo4mac.
Related Issues (20)
- GDAL 3.1.2 error building with jpeg2000 driver HOT 2
- osgeo-gdal brew install fails HOT 5
- GRASS GIS 7.8.4 released, some mac specific news HOT 3
- Issues installing `insighttoolkit` from source HOT 3
- Missing lib armadillo HOT 10
- Please update to GDAL 3.2.0 HOT 3
- macOS gcc reinstall failure "Type mismatch between actual argument" is linked to osgeo-netcdf HOT 2
- arm64 native bottle HOT 3
- grace no longer working HOT 37
- Brew tap fails due to syntax errors in various osgeo4mac Homebrew formulae HOT 11
- gdal - linked with incorrect libdap - Big Sur HOT 4
- [BigSur][Installation] Install fails on BigSur HOT 26
- Error: Could not get runtime dependencies HOT 2
- Question: How do I join Slack ? HOT 1
- osgeo-libkml.rb emits warning HOT 3
- trouble with labelimg.py starting it shows the error bellow HOT 2
- brew tap not working on macOS 12.2.1 HOT 7
- Status update?
- "Just brew tap osgeo/osgeo4mac and then brew install <formula>. Easy, isn't it?" no it's not
- Osgeo4mac slack requires work domain
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-osgeo4mac.