Hi John,

I'm concerned this is causing a tangle in your installation. I see two possible causes for confusion:

   -- in your home directory there are symlinks, maybe dot files, that point to HomeBrew packages -- e.g. /Users/john/src/
   -- you are actively attempting to avoid duplicate packages

My recommendation would be to keep HomeBrew and MacPorts separate and accept some duplication. There are likely numerous conflicting assumptions made in the packaging of software for the two systems.

However, I don't know what to do about files in your home directory -- I don't know if HomeBrew requires symlinks from ~/, or dot files. MacPorts makes fairly minimal assumptions, but once you run a program, it may create a dot file with information that will work in MacPorts but not in HomeBrew.

The installation of qgis3 in MacPorts takes a while, since the program itself, at least the grass variant, is not precompiled, but there should be no errors and no need to intervene. If you find you're struggling with it, you're likely better off backing out of MacPorts and pinging the HomeBrew developers for an up-to-date version.

Best wishes,
David

On 2/15/18 12:26 PM, John Harrop wrote:
FYI.

I did fix one of the problems below by adding the following line to the makefile:

-DPYTHON_LIBRARY:PATH=/Users/john/anaconda/lib

But I have not found the spatialindex library yet.

The configure stage is also having trouble finding grass 7.  Forgot to mention that earlier.  Not sure what parameter needs to be pointed at the grass 7 location.

John Harrop



On Feb 15, 2018, at 11:03 AM, John Harrop <jchar...@gmail.com> wrote:

That was a badly written email I rushed off previously.  I should have included more specific information:

The errors turning up now during make config are
1)
CMake Error at cmake/FindQwt.cmake:47 (FILE):
  FILE failed to open for reading (No such file or directory):

    /opt/local/libexec/qt5/include/qwt/qwt_global.h
Call Stack (most recent call first):
  CMakeLists.txt:231 (FIND_PACKAGE)

I do have qwt61 installed; rolling back to qwt did not fix the error

2)
Traceback (most recent call last):
  File "/Users/john/src/QGIS/cmake/FindQsci.py", line 45, in <module>
    from PyQt5.Qsci import QSCINTILLA_VERSION_STR
ImportError: No module named 'PyQt5.Qsci’

Having trouble finding where to get this or what it comes with.  I have qscintilla-qt5 installed.  Do I need qscintilla as well?  That seems to be Qt4.

3)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PYTHON_LIBRARY
    linked by target "qgispython" in directory /Users/john/src/QGIS/src/python
SPATIALINDEX_LIBRARY
    linked by target "qgis_core" in directory /Users/john/src/QGIS/src/core

Doesn’t seem to help if I add these as environment variables; as if make is ignoring or overriding the environment.

John Harrop



On Feb 15, 2018, at 10:26 AM, John Harrop <jchar...@gmail.com> wrote:

Gradually moving forward  adding installing missing ports.  Other than Homebrew I notice that the Anaconda compiler is being found first.  I’m still getting problems running make config with both PYTHON_LIBRARY and SPATIALINDEX_LIBRARY coming back as not found.  Would this be a problem caused by Anaconda?  Does a python need to be under ports for the make to work?

Thanks,

John Harrop



On Feb 14, 2018, at 12:58 PM, David Liontooth <lionte...@cogweb.net> wrote:


Hi John,

Good question. MacPort keeps most things in /opt/local/, so if homebrew puts files elsewhere you could likely install in parallel and switch by changing $PATH in ~/.profile.

Here's what .profile looks like after a MacPorts installation, with GNU tools switched to MacPorts:

# MacPorts Installer adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:/opt/local/libexec/gnubin/:$PATH

Cheers,
David


On 2/14/18 12:30 PM, John Harrop wrote:
That looks interesting David.  Thanks.

How much uninstall on Homebrew is recommended before switching to this MacPorts?  The work looks quite active on MacPorts but I don’t see much on potential Homebrew or Anaconda conflicts.


John Harrop



On Feb 14, 2018, at 11:52 AM, David Liontooth <lionte...@cogweb.net> wrote:


Vincent at Macports has done a great job packaging qgis3, cf. https://trac.macports.org/ticket/55020

grass7 was just upgraded to 7.4, postgresql10 to 10.2.

qgis3 is at 20180124.

Cheers,
David

On 2/14/18 11:18 AM, Madry, Scott wrote:
Hi all.

As a dedicated Mac QGIS user, trainer, and research. I want to put in a plea to keep the Mac OS development process on pace. There are many of us out there who use the Mac OS version, and we need to get these issues with matplotlib, GRASS, and others addresses so that we have a good 3.0 rollout.

I would be happy to assist with testing, thanks for all your efforts,

Scott

Scott Madry, Ph.D.
Research Associate Professor of Archaeology
The University of North Carolina at Chapel Hill

Tel         1-919-448-4493
Email: mad...@email.unc.edu <mailto:mad...@email.unc.edu>
https://scottmadry.web.unc.edu
Skype:   scott madry

On Feb 14, 2018, at 12:20 PM, John Harrop <jchar...@gmail.com <mailto:jchar...@gmail.com>> wrote:

Burghardt,

Thanks for the pointers, they seen much more up to date than the older ones pointed to by the QGIS web site.

I’ve been trying to build from the notes since you posted your suggestion and I see what you mean about the matplotlib problem. I forked the Mac OS X build notes on GitHub and started to work on them to see if I could get a working set for the matplotlib problems but not much luck.  However, I do seem to have it installed through pip or otherwise, so I worked past that step and have been trying to get CMake to configure a makefile but there are problems there as well.  I fixed a missing library by manually installing but I’m now having problems with Qt5Positioning which is not being found.

its been a while since I was active in configuring build systems so I’m having to clean off the dust in my memories and learn newer versions of the systems.

I get the impression that not much has been going on with Mac OS X dev builds for at least a few months and quite a few dependancies have changed over that time.  I’ll keep working on this and hopefully there are some other GIS testers also interested in the Macs.

Let me know if you are still trying to get the Mac OS X dev build working or if you have had success.

Regards,

John Harrop
jchar...@gmail.com <mailto:jchar...@gmail.com>



On Feb 8, 2018, at 10:22 PM, burghardt.scho...@stadt.wolfsburg.de wrote:

Hi John,

I believe there is no current complete dmg-file for QGIS3-dev. But you can use the excellent site under [1] to install QGIS3-dev using Homebrew.  Unfortunately, there are problems with the matplotlib dependency at the moment (see [2]). Yersterday I've tried to install the current version but it failed.

Even so I hope that my hints help.

Regards
Burghardt


[1] https://github.com/qgis/homebrew-qgisdev/blob/master/development/README.md 
[2] https://github.com/qgis/homebrew-qgisdev/issues/50

-----Ursprüngliche Nachricht-----
Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von
John Harrop
Gesendet: Donnerstag, 8. Februar 2018 19:53
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Mac OS X testing for QGIS 3

Hello,

Is it possible to be involved in OS X testing of the QGIS 3 beta?  There are
parts of the web site that suggest it is, but I have not been able to find a web
age for up to date downloads.

Thanks,

John Harrop
jchar...@gmail.com



_______________________________________________
Qgis-user mailing list
Qgis-user@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@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@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@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to