[MacPorts] #20199: qt4-mac fails to build when conflicting ports are active
MacPorts
noreply at macports.org
Fri Jul 2 00:05:54 PDT 2010
#20199: qt4-mac fails to build when conflicting ports are active
-----------------------------------+----------------------------------------
Reporter: jwhowse4@… | Owner: michaelld@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Resolution: | Keywords:
Port: qt4-mac |
-----------------------------------+----------------------------------------
Comment(by michaelld@…):
An interesting side-effect of moving from using `-I`/`-L` to
`CPATH`/`LIBRARY_PATH`, I'm 99% sure from testing today, and at least in
qt4-* :
The produced libraries no longer link with the MacPorts-provided `zlib`
and `openssl` libraries (possibly others). Why not? There is no way to
select them specifically during `configure`, and by default the system
includes and libraries are found first because the MacPorts paths are
searched last. I came upon this issue when fixing some other ports during
the qt4-* upgrade and wondered; so, now I think I know.
Solution, IMHO: Either explicitly tell `configure` what headers and
libraries to use, or, when that is not possible, make sure MacPorts paths
are first in the search at least during `configure`.
--
Ticket URL: <http://trac.macports.org/ticket/20199#comment:83>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list