Help with QT-based port?
Craig Treleaven
ctreleaven at cogeco.ca
Wed Mar 28 17:14:58 PDT 2012
Hi:
I've run into a wall trying to port MythTV. The linker barfs complaining:
>ld: -L must be immediately followed by a directory path (no space)
Debug-level log from my most recent attempt is here:
http://dl.dropbox.com/u/26787680/0.25%20macports%20build%20fail%202012Mar28.txt
Portfile in development* is here:
http://dl.dropbox.com/u/26787680/Portfile
There are currently two building systems for Myth on Mac. First, a
perl script has been in place for several years and is regularly
maintained by the Myth devs. See oxs-packager.pl at:
https://github.com/MythTV/packaging/tree/master/OSX/build
Second, Myth also has a buildbot network set up including a Mac OS X
slave. See:
http://code.mythtv.org/buildbot/builders/master-osx-snow-leopard
The buildbot shows quite clearly the environment variables and
parameters passed to mythtv/config. Both systems build using the
MythTV code straight from GitHub--no patching. I've spent a lot of
time poring over that and the osx-packager.pl script but I can't come
up with a combination of parameters that ends up with a happy linker.
Myth uses Nokia's QT stuff so qmake is getting called in there. One
difference is that both the buildbot and osx-packager.pl are using QT
4.6.3 whereas I've used MacPorts qt4-mac which is at 4.7.4. Could
this be my problem?
I've asked for help on the MythTV-dev list but the most active
contributor to the Mac port is busy on other things and unwilling to
spend any time on this.
Any suggestions gratefully welcomed!
Thanks,
Craig
*Needs qt4-mac +mysql5. Takes 1 hour plus to build the dependencies
on my quad-core MBP.
More information about the macports-dev
mailing list