#36339: -ldbus-1 not found during building of qt4-mac@4.8.3 -------------------------+------------------------- Reporter: bgschaid@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by bgschaid@…): Replying to [comment:2 ryandesign@…]:
The first log you attached is incomplete (contains lines that say "Skipping completed") so we cannot learn much from it. Always clean and try again before filing a bug report.
Sorry. Will do the next time
You did not state which version of Xcode you have. But it is true that older versions of clang did not support the LIBRARY_PATH environment variable that MacPorts sets, and rely instead of proper -L flags being passed in LDFLAGS. MacPorts also tries to set up -L flags, but perhaps qt4-mac doesn't honor that. We should fix qt4-mac to use proper -L flags. You should be able to work around it by upgrading to Xcode 4.4 or 4.5; we recommend using the latest released Xcode version anyway.
I just checked. My current version is Xcode 4.4.1 so 4.4.x doesn't honor the LIBRARY_PATH too. Will upgrade to 4.5 (wasn't aware that it is out) ASAP and retry
Selecting a different compiler is intended for use by you for compiling your own software; it is not intended for MacPorts to use such a compiler when compiling ports. See UsingTheRightCompiler.
OK. That was just a trying that because at the time it seemed to be the best explantation "if -L/opt/local/lib is not set then the person making the port used a MacPorts-compiler". 2 weeks ago my Xcode-version was up- to-date according to the AppStore (seems like the official release for 4.5 was Sept.19th) and I don't check that too often -- Ticket URL: <https://trac.macports.org/ticket/36339#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS