Ticket #31930 (closed defect: fixed)
py27-pyside build fails with qt4-mac +framework
| Reported by: | public@… | Owned by: | mmoll@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | michaelld@… | |
| Port: | py27-pyside |
Description
Although I already managed to build and install py27-pyside I am having problems with the latest update. I even tried uninstalling all Qt related dependencies but still no luck.
I have attached my build log
Attachments
Change History
comment:1 follow-up: ↓ 2 Changed 19 months ago by ryandesign@…
- Owner changed from macports-tickets@… to mmoll@…
- Summary changed from pyside build fail to py27-pyside build fail
The relevant error seems to be:
fatal error: 'QtDesigner/QtDesigner' file not found
Perhaps this is what we discovered before, that clang ignores CPATH and LIBRARY_PATH.
You could try to use llvm-gcc-4.2 instead.
comment:2 in reply to: ↑ 1 Changed 19 months ago by public@…
Replying to ryandesign@…:
The relevant error seems to be:
fatal error: 'QtDesigner/QtDesigner' file not foundPerhaps this is what we discovered before, that clang ignores CPATH and LIBRARY_PATH.
You could try to use llvm-gcc-4.2 instead.
OK, I got half solution, thanks!
Part of the problem was my Qt variant. First time I tried to compile with Sadly you could not see the variants of my dependencies in the log:
qt4-mac @4.7.4_1+debug+demos+examples+framework+quartz
I noticed that there is something not logged in main-gcc. I repeated myself the last offending command to see if I could get some extra info. I found out the last error was because it could not find /opt/local/lib/libQtCore.4.dylib. So I installed:
qt4-mac @4.7.4_1+quartz
In that case I works, but I need +framework for development. Or at least, I've heard it is better to have Qt as a framework for development (and it is the default installation mode of the official Qt binaries)
so far the problem is that:
- py27-side does not compile with the default compiler
- py27-side does not compile when Qt is installed as a framework
- ... macports error log do not log the variants of the failing package dependencies ???


Build log