Opened 7 years ago

Closed 6 years ago

#54137 closed defect (fixed)

Failed to configure QGIS

Reported by: FabianUx (FabianUx) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: QGIS

Description

Hi I tried a couple of times with a clean install without success. SIERRA (OSX 10.12.4) XCODE 8.3.2 with CLT

Thanks

Attachments (1)

main.log (267.9 KB) - added by FabianUx (FabianUx) 7 years ago.
QGIS install log

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by FabianUx (FabianUx)

Attachment: main.log added

QGIS install log

comment:1 Changed 7 years ago by FabianUx (FabianUx)

Almost Solved. Installed qt5-qtwebkit and QGIS installed but I have no Python support.

comment:2 Changed 7 years ago by Veence (Vincent)

That’s normal. The Qt5 version of QGis comes with Python 3, and most of QGIS Python plugins have not been upgraded yet. If you want full Python support, build QGis with the +qt4 option (that automatically pulls Python 2.7 in).

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Keywords: QGIS removed
Owner: set to Veence
Port: QGIS added
Status: newassigned

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers QGIS), if any.

comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

If the +qt5 variant of QGIS doesn't work, why is it the default variant, or even in the portfile at all?

comment:5 in reply to:  4 Changed 7 years ago by Veence (Vincent)

Replying to ryandesign:

If the +qt5 variant of QGIS doesn't work, why is it the default variant, or even in the portfile at all?

The +qt5 works: it builds a workable version of QGis. The Python add-ons are not available though, because they haven't been ported on Python 3 yet.

comment:6 Changed 7 years ago by FabianUx (FabianUx)

Thanks Veence, I'll take care of tagging next time. I did

$ sudo port install qgis +qt4

but I get the following error

$ Failed to archivefetch QGIS: qwt61 must be installed with +qt4. I uninstalled and clean qwt* I tried installing qwt

port install qwt61 +qt4

which results in:

Error: qwt: Variant qt5 conflicts with qt4

Now I have to figure it out.

In the meantime I'll get the QGIS LTS version (2.14).

comment:7 in reply to:  6 Changed 7 years ago by Veence (Vincent)

Replying to FabianUx:

Error: qwt: Variant qt5 conflicts with qt4

Oops. It's my bad. In the meantime, try:

port install qwt61 +qt4 -qt5

comment:8 Changed 7 years ago by FabianUx (FabianUx)

Thanks, that solved the problem

sudo port install qgis +qt4 -qt5

Afterwards I just needed to add PIL and a few specific libraries to have some plugins to work.

Thanks

comment:9 Changed 6 years ago by Veence (Vincent)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.