Xcode on OSX 10.6 doesn't have clang++, all c++ is handled directly in "clang", though I think the early versions of clang here don't fully support c++. You're better off with llvm-g++. Xcode added clang++ in later versions starting with Lion.
You should try to use a different qmake spec, either macx-g++ or macx-llvm. On Jun 27, 2013, at 9:18 AM, Anzir Boodoo wrote: > Phil, > On 25 Jun 2013, at 15:42, Phil Thompson wrote: > >> On Tue, 25 Jun 2013 15:36:59 +0100, Anzir Boodoo <a...@transcience.co.uk> >> wrote: >>> Hello, >>> >>> I've been trying to install PyQt 5 on Mac OS X 10.6.8... > > Phil suggested: > >> Use the --qmake flag to point to Qt5's qmake. You are probably defaulting >> to Qt4's. > > It turned out I had Qt 5 installed in my user folder, and was trying to > install PyQt from a different account... > > So, with Qt 5 safely (I guess) installed in /usr/local/ , I tried again... > >> Anzir-Boodoos-MacBook-Pro-2:PyQt-gpl-5.0 pbadmin$ sudo python configure.py >> --qmake /usr/local/Qt5.0.2/5.0.2/clang_64/bin/qmake --verbose >> Password: >> Querying qmake about your Qt installation... >> Determining the details of your Qt installation... >> /usr/local/Qt5.0.2/5.0.2/clang_64/bin/qmake -o qtdetail.mk qtdetail.pro >> make -f qtdetail.mk >> clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIE -DQT_NO_DEBUG >> -DQT_CORE_LIB -I/usr/local/Qt5.0.2/5.0.2/clang_64/mkspecs/macx-clang -I. >> -I/usr/local/Qt5.0.2/5.0.2/clang_64/include >> -I/usr/local/Qt5.0.2/5.0.2/clang_64/include/QtCore >> -I/usr/local/Qt5.0.2/5.0.2/clang_64/lib/QtCore.framework/Versions/5/Headers >> -I. -o qtdetail.o qtdetail.cpp >> make: clang++: No such file or directory >> 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. > > > (note that I'd sudo'ed (it failed with a permission problem when I didn't), > and also explicitly pointed at Qt 5.0.2's qmake > > I have Xcode installed in /Developer (the default installation location), so > clang is at /Developer/usr/bin/ - is that the right location? > > anyway, there does appear to be no such thing installed as clang++ ... is > this a typo somewhere or have I done something else wrong? > > Thanks > > -- > Anzir Boodoo, PhD student > The Institute for Transport Studies, The University of Leeds, LEEDS LS2 9JT > QUEEN'S ANNIVERSARY PRIZE WINNERS - 'sustained transport excellence' - > www.its.leeds.ac.uk/queensprize > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ First Pogril: Why is life like sticking your head in a bucket filled with hyena offal? Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal? First Pogril: I don't know either. Wretched, isn't it? -HitchHiker's Guide to the Galaxy _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt