[MacPorts] #27128: kdelibs4 fails to build with older qt in /Library/Frameworks
MacPorts
noreply at macports.org
Sun Nov 21 12:10:41 PST 2010
#27128: kdelibs4 fails to build with older qt in /Library/Frameworks
-------------------------------+--------------------------------------------
Reporter: nerdrew@… | Owner: snc@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: kdelibs4
-------------------------------+--------------------------------------------
Comment(by macports@…):
Even after uninstalling the external Qt, building kdelibs4 failed for me
because it tries to link against "/Library/Frameworks/phonon" (which does
not exist). My workaround was to replace all occurrences of "-framework
phonon" with "/opt/local/lib/libphonon.dylib" in all link.txt files.
{{{
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/
grep -rl "framework phonon" * | xargs sed -i '' 's/ -framework phonon//'
}}}
this will change:
interfaces/kmediaplayer/kfileaudiopreview/CMakeFiles/kfileaudiopreview.dir/link.txt,
khtml/CMakeFiles/khtml.dir/link.txt,
knotify/config/CMakeFiles/knotifyconfig.dir/link.txt and
plasma/CMakeFiles/plasma.dir/link.txt
I'm using qt4-mac at 4.7.1 together with phonon at 4.4.2 which does not seem to
create a framework of phonon any longer (as imho older Qt versions did).
At least I was able to compile kdelibs4 successfully, not yet tested if
this will work, though.
--
Ticket URL: <https://trac.macports.org/ticket/27128#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list