[mythtv] osx-packager.pl wont build trunk

David Snider dsnider at thesniderpad.com
Tue Apr 14 02:56:36 UTC 2009


On Apr 13, 2009, at 7:52 PM, Alain Ramos wrote:

> But when I finished building mine after I got rid of Jack and  
> started over again it wont run because it sais...
>
> Dyld Error Message:
>   Library not loaded: @executable_path/../Frameworks/QtSql.framework/ 
> QtSql
>   Referenced from: /Users/julie/Desktop/MythFrontend.app/Contents/ 
> MacOS/../Frameworks/mythui.framework/mythui
>   Reason: Incompatible library version: mythui requires version  
> 4.4.0 or later, but QtSql provides version 4.3.0
>
> What did you do to osx-packager.pl to get trunk .22 to build using  
> qt4.3.4? Also how come you build doesnt complain about QTSql 4.3?
>
>
I don't do anything special.  The specific command I run is below, but  
my process is as follows.

Also, I try to keep the machines fairly clean, I have a few fink  
packages, and that's about it.   Are you sure you are removing the  
entire .osx-packer directory?

Now, after a couple of years of having this automatically compile each  
night, I've made a few changes here and there to my "process" to  
ensure a clean build.   First, I find out what the latest build of svn  
is with:

/sw/bin/svn -l 1 --incremental -q log $svnurl \
                 |tail -n 1\
                 |awk '{print $1}'\
                 |tr -d r

Then, I manually check out the entire source with that specific SVN  
number
/usr/bin/svn co -q --revision $revision $svnurl/mythtv \
                 $svnurl/mythplugins \
                 $svnurl/myththemes \
                 $svnurl/packaging \
                 \$directory

(substitute svnurl and revision with your correct locations)

Then, when I build, I build with -nohead, ala:
$OSXPackager -plugins ALL -nohead -clean -enable-backend -enable- 
jobtools -verbose

This process does a few things, I always build the tree with the  
specific version of osx-packager.pl associated with the source.  I  
always get a clean SVN checkout, and I sleep better at night, and my  
teeth are visibly whiter.

I'm thinking that you haven't blown away your .osx-packager directory,  
or you have QT 4.3 source floating around your mac that are getting  
pulled into the build.


More information about the mythtv-dev mailing list