Closed gijs closed 8 years ago
Tried qgis-22 but it also fails:
libgdal.dylib /usr/local/lib/libspatialindex.dylib /usr/local/lib/libexpat.dylib /usr/local/opt/sqlite/lib/libsqlite3.dylib /usr/local/lib/libspatialite.dylib
/usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report /tmp/qgis-22-e61F/QGIS-final-2_2_0/build/CMakeFiles 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
[ 45%] Built target qgis_gui
make: *** [all] Error 2
==> Formula
Tap: osgeo/homebrew-osgeo4mac
Path: /usr/local/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/qgis-22.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 896dad4fa82169f43613a0a393a64ec7d8087628
CPU: 8-core 64-bit haswell
OS X: 10.9.4-x86_64
Xcode: 5.1.1
X11: 2.7.6 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CXXFLAGS: -F/usr/local/opt/qt/lib
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/bison:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/ossp-uuid:/usr/local/opt/openssl:/usr/local/opt/libxml2:/usr/local/opt/liblwgeom:/usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/qt/Frameworks:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/qt/lib/pkgconfig:/usr/local/opt/gsl/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/expat/lib/pkgconfig:/usr/local/opt/proj/lib/pkgconfig:/usr/local/opt/spatialindex/lib/pkgconfig:/usr/local/opt/ossp-uuid/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/postgresql/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/freexl/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/json-c/lib/pkgconfig:/usr/local/opt/libspatialite/lib/pkgconfig:/usr/local/opt/gdal/lib/pkgconfig:/usr/local/opt/libusb/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
ACLOCAL_PATH: /usr/local/opt/bison/share/aclocal:/usr/local/opt/libxml2/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/bison/bin:/usr/local/opt/qt/bin:/usr/local/opt/sip/bin:/usr/local/opt/pyqt/bin:/usr/local/opt/gsl/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/expat/bin:/usr/local/opt/proj/bin:/usr/local/opt/fcgi/bin:/usr/local/opt/ossp-uuid/bin:/usr/local/opt/openssl/bin:/usr/local/opt/postgresql/bin:/usr/local/opt/libpng/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/giflib/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/libgeotiff/bin:/usr/local/opt/geos/bin:/usr/local/opt/libxml2/bin:/usr/local/opt/gdal/bin:/usr/local/opt/gpsbabel/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Error: qgis-22 2.2.0 did not build
Hi Gijs. Thanks for reporting.
Please provide links to logs, i.e. brew gist-logs --config --doctor qgis-24
. See Homebrew Troubleshooting.
I think I may have fixed the issue with dbd0619. Please do brew update
and try again.
Tried brew update, but still doesnt get to 100%
Output of brew gist-logs --config --doctor qgis-24
: https://gist.github.com/7e860efc2482864fd666
Somehow it worked when I did $ brew install osgeo/osgeo4mac/qgis-24
instead of $ brew install -v qgis-24
. I don't understand it but at least I have QGis working again :) Shall I close this?
@gijs I am unsure of the issue noted in your gist-logs
output. It appears to be related to using only system Python. I have limited the pouring of the uploaded bottles to only supporting Homebrew Python. This is to reduce the incompatibility with existing installs of QGIS stable from Kynchaos.com (common).
Please try the following, if you have time:
brew update
brew reinstall expat
brew upgrade qgis-24
If you are using system Python, you may still run into the same build error. Please let me know if you do, and I will work on a fix. Reopening issue because it still needs fixed, I think.
Switching to Homebrew Python at this point for you may only cause headaches, since several key formulae have been built off of the system Python already, e.g. gdal
, pyqt
, qscintilla2
. If you do switch, reinstall those after installing python
. Using Homebrew Python will allow you to use the re-built bottle for Mavericks, however.
Note: expat
was previously linked to HOMEBREW_PREFIX, but is now keg-only. So, reinstalling it should clean up your brew doctor
output as well.
Formula deprecated. Closing.
When I run:
...the build fails at 47%.
It's a clean install of Mavericks with commandline tools installed, fresh Homebrew installation with no messages from $ brew doctor ('Your system is ready to brew.')
Tried in bash and zsh with no difference.
Any ideas or should I try qgis-22 until this is resolved?
Thx! Gijs