Closed josiekre closed 10 years ago
@josiekre Hi. Thanks for reporting. Your dropbox.com link does not work for external access as a shared link, though I think I may have fixed the issue with dbd0619.
Please do brew update
and try again.
@dakcarto Hi. I finally had a chance to try this again on both my Macs. Looks like it didn't fix it unfortunately.
Here is a link to the log files. That should be public this time. Sorry about that.
brew install grass-64
still fails on both machines. QGIS is running on the machine with the newer Mav install, aka "firstiMac." However, even brew install qgis-24 --without-grass
still fails to install on the other machine (aka "secondiMac") after brew update
.
I am adding the new log files to my public folder that show the results after a 'brew update' today.
@josiekre Thank you for uploading the logs. I will review them shortly. Homebrew provides a good means of doing this automatically: brew gist-logs --config --doctor <formula name>
.
That command will upload all the bits to https://gist.github.com and offer a simple link for adding to issue posts. It's also free, so you don't have to eat up your Dropbox account space.
See: Troubleshooting on the Homebrew wiki for more info.
@josiekre You have several issues here.
For both Macs, grass-64
is failing because it can not import the wx
Python module from wxpython
. This should now be fixed with ca1ea35. This is related to https://github.com/Homebrew/homebrew/issues/30844.
Do brew update
and try to install grass-64
again.
brew doctor
reports you have manually installed the Tcl/Tk package to /usr/local
. There is a tcl-tk
formula available in the Homebrew/dupes
tap, if you are interested in cleaning up your /usr/local
.
Of course, do this at your own risk, as I have no idea why your version of Tcl/Tk is installed to /usr/local
, which is generally not a good idea, ergo the reason why it is in dupes
. If you choose to remove your copy and use Homebrew's, remember it is 'keg-only' and not linked into /usr/local
. So, you will have to re-compile any software accordingly that may have linked to your old manual install to /usr/local
.
Your 'secondiMac' appears to not have the Xcode's Command Line Tools installed, though brew doctor
didn't seem to complain about that. (Your 'firstiMac' does have CLT.) This may be what is causing the qgis-24
build to fail on the 'secondiMac'. The failure is:
Linking CXX shared library ../../output/lib/libqgispython.dylib
cd /tmp/qgis-24-Txpo/QGIS-final-2_4_0/build/src/python && /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_link_script CMakeFiles/qgispython.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++ -F/usr/local/opt/qt/lib -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -dynamiclib -Wl,-headerpad_max_install_names -Qunused-arguments -F/Library/Frameworks -compatibility_version 2.4.0 -current_version 2.4.0 -o ../../output/lib/libqgispython.2.4.0.dylib -install_name /tmp/qgis-24-Txpo/QGIS-final-2_4_0/build/output/lib/libqgispython.2.4.0.dylib CMakeFiles/qgispython.dir/qgispython.cpp.o CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o -F/usr/local/Cellar/qt/4.8.6/lib -L/tmp/qgis-24-Txpo/QGIS-final-2_4_0/build/src/core -L/tmp/qgis-24-Txpo/QGIS-final-2_4_0/build/src/gui ../../output/lib/qgis_core.framework/Versions/2.4/qgis_core -framework Python -framework CoreFoundation -framework IOKit -framework QtXml -framework QtCore -framework QtGui -framework QtNetwork -framework QtSvg -framework QtWebKit /usr/local/lib/libproj.dylib /usr/local/Cellar/geos/3.4.2/lib/libgeos_c.dylib /usr/local/Cellar/gdal/1.11.0/lib/libgdal.dylib /usr/local/lib/libspatialindex.dylib /usr/local/lib/libexpat.dylib /usr/local/opt/sqlite/lib/libsqlite3.dylib /usr/local/lib/libspatialite.dylib
ld: framework not found Python
But, I don't see why that should fail if CMake is finding the Python framework OK. Could be a flaw in the QGIS CMake script when only Xcode.app is present. Please install the Xcode CLT on the 'secondiMac' and try again.
Note: Since you are installing to two Macs, you have two options to save you from having to compile on both:
qgis-24
and/or grass-64
directory in Homebrew's Cellar to the other Mac, e.g. /usr/local/Cellar/qgis-24
. Then, do brew link <formula>
on the copied-to Mac. This will work only if the Macs have similar hardware and OS versions.brew install --build-bottle ...
when installing, then copy over the Cellar directories. This will remove all hardware optimizations, but still requires the Macs to have the same OS version. This is basically how bottles are made.@dakcarto Here we go:
This package contains the R framework, 64-bit GUI (R.app) and Tcl/Tk 8.6.0 X11 libraries. The latter component is optional and can be ommitted when choosing "custom install", it is only needed if you want to use the tcltk R package.
- Installing CLT fixed the problem. QGIS is now working on both machines.
- I will do this next time I have another install with matching hardware and OS versions.
Trouble installing qgis-24 with Grass on two iMacs running Mavericks.
The first (with a recent clean install of Mavericks) I was able to get installed without Grass.
The second (upgraded to Mavericks a while ago but all updates have been installed) I was still not able to install by excluding Grass.
You can find files here: https://www.dropbox.com/home/Public/qgis-24.
Note that the errors when running brew doctor come from installing R without homebrew.
Thanks for any help you can offer.