Giter Site home page Giter Site logo

Comments (11)

dakcarto avatar dakcarto commented on August 29, 2024

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.

mharnold avatar mharnold commented on August 29, 2024

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.

mharnold avatar mharnold commented on August 29, 2024

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.

dakcarto avatar dakcarto commented on August 29, 2024

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.

dakcarto avatar dakcarto commented on August 29, 2024

Btw, just compiled that formula here on 10.7.5, and bookmarks functionality is good here.

from homebrew-osgeo4mac.

mharnold avatar mharnold commented on August 29, 2024

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.

mharnold avatar mharnold commented on August 29, 2024

%pip --reinstall numpy
didn't fix the problem.

from homebrew-osgeo4mac.

mharnold avatar mharnold commented on August 29, 2024

Looks like this worked:
%brew uninstall gdal
%brew install --with-postgresql gdal

qgis 'make install' in progress...

from homebrew-osgeo4mac.

mharnold avatar mharnold commented on August 29, 2024

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.

mharnold avatar mharnold commented on August 29, 2024

'brew tap osgeo/osgeo4mac' worked.
RTFM :)

Bookmarks work now! Thanks for your help!

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.