[Qgis-user] Building QGIS3 for OS X with MacPorts

Patrick Dunford blackwhitekez at gmail.com
Wed Sep 20 22:24:58 PDT 2017


Ok so I gave you a Linux answer :)

The install file I have says you do a postgresql installation through 
this site, I assume that is supposed to provide the libraries you need

www.kyngchaos.com/software/postgres

I would guess from that you should be able to work out if it has 
provided the library file as part of that.


On 21/09/17 13:58, David Liontooth wrote:
>
> Great, thanks!
>
> Does QGIS3 require postgresql?
>
> I didn't think it did, but the build bugs out:
>
>    In file included from
> /Users/liontooth/software/QGIS/QGIS-2.99a/tests/src/providers/testqgspostgresprovider.cpp:4:
>    In file included from
> /Users/liontooth/software/QGIS/QGIS-2.99a/src/providers/postgres/qgspostgresprovider.h:24:
> /Users/liontooth/software/QGIS/QGIS-2.99a/src/providers/postgres/qgspostgresconn.h:33:10:
>    fatal error: 'libpq-fe.h' file not found
>    #include <libpq-fe.h>
>              ^
>    1 error generated.
>
> /tests/src/providers/testqgspostgresprovider.cpp seems to demand it.
>
> Cheers,
> Dave
>
> On 9/20/17 11:01 AM, Patrick Dunford wrote:
>> 3.0 is not released yet, you can only get 2.99 development versions.
>>
>> You get them from Github:
>>
>> https://github.com/qgis/QGIS
>>
>> Click on "Clone or Download" button on the right and then "Download Zip"
>>
>> This is for the latest release, you can get older ones if you know 
>> the commit ID
>>
>>
>>
>> On 21/09/17 05:51, David Liontooth wrote:
>>>
>>> I followed David Marteau's very helpful instructions for building 
>>> QGIS3 at 
>>> https://www.3liz.com/blog/rldhont/index.php?post/2017/06/01/How-to-build-qgis-on-OSX-with-MacPort, 
>>> on a Sierra OS X with all updates and a current MacPorts installation.
>>>
>>> I needed to add these dependencies:
>>>
>>>     lbzip2 py36-setuptools
>>>
>>> Where can I find QGIS 3.0 source files? I downloaded 
>>> http://qgis.org/downloads/qgis-latest.tar.bz2, but that's qgis-2.18.13.
>>>
>>> I also tried https://github.com/wonder-sk/QGIS/archive/3d-2.zip, 
>>> using Marteau's makefile, replacing spaces with tabs. Cmake didn't 
>>> find libzip, so I modified
>>>
>>>     cmake/FindLibZip.cmake txt2tags
>>>
>>> to include the paths to MacPort's libzip package (/opt/local/..).
>>>
>>> However, there's a syntax error relating to the 3D features, 
>>> reported separately.
>>>
>>> Is there a mainline version of QGIS3 we can test build, just to get 
>>> ready for the release?
>>>
>>> Cheers,
>>> Dave
>>>
>>>
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list