New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31930 (closed defect: fixed)

Opened 19 months ago

Last modified 4 months ago

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

main.log (117.1 KB) - added by public@… 19 months ago.
Build log
main-gcc.log (62.6 KB) - added by public@… 19 months ago.

Change History

Changed 19 months ago by public@…

Build log

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.

Changed 19 months ago by public@…

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 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.

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:

  1. py27-side does not compile with the default compiler
  2. py27-side does not compile when Qt is installed as a framework
  3. ... macports error log do not log the variants of the failing package dependencies ???

comment:3 Changed 11 months ago by jmr@…

  • Cc michaelld@… added
  • Keywords pyside qt python removed
  • Summary changed from py27-pyside build fail to py27-pyside build fails with qt4-mac +framework

1.1.0 appears to have built successfully on Lion, so the clang issue seems to be resolved at least.

comment:4 Changed 4 months ago by michaelld@…

  • Status changed from new to closed
  • Resolution set to fixed

pyside build and works fine for me using the qt4-mac @4.8.4_3. I'm closing this ticket as fixed.

Note: See TracTickets for help on using tickets.