[QGIS-Developer] QGIS master branch fails make install on macOS 10.12.6

David Marteau dmarteau at 3liz.com
Mon Oct 9 01:51:04 PDT 2017


Hi

Sorry but the 'make install' seems to work correctly for me on OSX 10.11.6: I have a stand alone binary installed at the location specified by CMAKE_INSTALL_PREFIX - I'm running several versions of QGIS and then
nee to have different install paths. Is your ~/Applications/QGIS.app a link ? 

David.

> Le 9 oct. 2017 à 01:20, Joel Buckley <qgis at spam.joelbuckley.com.au> a écrit :
> 
> Thanks, this helped. I'm now able to launch it from the command line
> without a problem.
> 
> One thing I've noticed though, is `open -a ~/Applications/QGIS.app` will
> actually invoke the binary created in QGIS/build/output/ - my `make`
> output (if you ⌘-click on the application in the Dock, you will be shown
> the location of the running application).  I imagined a standalone
> binary would be created at `make install`.  Is there a separate set of
> steps to create a standalone binary? I'm trying to make some changes and
> distribute to a few others for them to try.
> 
> Thanks again for the QT_QPA_PLATFORM_PLUGIN_PATH tip.
> 
> Regards,
> 
> -- 
> Joel Buckley
> 
> On Fri, Oct 06, 2017 at 01:59:30PM +0200, David Marteau wrote:
>> Hi
>> 
>> Try to define the environment variable QT_QPA_PLATFORM_PLUGIN_PATH=/opt/local/libexec/qt5/plugins/platforms (it may depends on how is your qt5 installation - this path is ok for Macport installation)
>> 
>> According to my experience (see https://www.3liz.com/blog/rldhont/index.php?post/2017/06/01/How-to-build-qgis-on-OSX-with-MacPort) : If this variable is not defined then QGIS will crash at startup.
>> 
>> 
>>> Le 6 oct. 2017 à 09:46, Joel Buckley <qgis at spam.joelbuckley.com.au> a écrit :
>>> 
>>> Hi,
>>> 
>>> I am having some difficulty running `make install`, and compiling QGIS into a single standalone application on macOS. I can successfully run configuration and `make`, and can launch the `make`-d code from build/output/bin with no problem.
>>> 
>>> `make install` runs without complaint and returns 0 (success), but when I try to launch the newly create QGIS.app, it immediately crashes, and produces a crash report (attached for brevity).
>>> 
>>> I have googled and attempted to parse the crash log, but the errors it reports are beyond my capability. I'm hoping someone on the list might have some input on how to remedy this?
>>> 
>>> Configuration information:
>>> QGIS version: current master branch
>>> QT5, python 3
>>> macOS 10.12.6
>>> 
>>> Regards,
>>> 
>>> --
>>> Joel Buckley
>>> 
>>> <crash.txt>_______________________________________________
>>> QGIS-Developer mailing list
>>> QGIS-Developer at lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the QGIS-Developer mailing list