[PyQt] Installing PyQt4 on OS X 10.10
Brian Daniel Scannell
osp221 at bangor.ac.uk
Mon Apr 20 11:17:12 BST 2015
I am trying to get an ocean turbulence model (www.gotm.net<http://www.gotm.net>) running on my Mac. The GUI is specified as requiring Qt4 and PyQt4, so I downloaded the last release of Qt4 from the archive
qt-opensource-mac-4.8.6-1.dmg<http://download.qt.io/archive/qt/4.8/4.8.6/qt-opensource-mac-4.8.6-1.dmg>
Which I ran as a normal Mac installer and it reported a successful installation.
I also downloaded the last PyQt4 release from archive http://www.riverbankcomputing.com/software/pyqt/download
PyQt-mac-gpl-4.11.3.tar.gz<http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.3/PyQt-mac-gpl-4.11.3.tar.gz>
When I start the installation with the --verbose flag set, I get:
Air-2010:PyQt-mac-gpl-4.11.3 brianscannell$ python configure-ng.py --verbose
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
/usr/bin/qmake -spec macx-g++ -o qtdetail.mk<http://qtdetail.mk/> qtdetail.pro<http://qtdetail.pro/>
make -f qtdetail.mk<http://qtdetail.mk/>
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.8/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I. -F/Library/Frameworks -o qtdetail.o qtdetail.cpp
g++: error: unrecognized command line option ‘-Xarch_x86_64’
qtdetail.mk:250<http://qtdetail.mk:250/>: recipe for target 'qtdetail.o' failed
make: *** [qtdetail.o] Error 1
Error: Failed to determine the detail of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
I am not a developer, so in all honesty, I don't understand what the message is telling me, but it seems to have found the Qt4.8 but is throwing a hissy fit about ‘-Xarch_x86_64’ in the command line. Clearly it is something about the hardware architecture, but after that I'm at a loss.
Any suggestions on what I need to do to get PyQt installing?
Thanks, Brian
Rhif Elusen Gofrestredig 1141565 - Registered Charity No. 1141565
Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar unwaith a dilewch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio a defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid yn cynrychioli barn Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor.
This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of Bangor University. Bangor University does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the Bangor University Finance Office.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150420/8980e0a1/attachment-0001.html>
More information about the PyQt
mailing list