[mythtv-users] osx-packager-qtsdk.pl (was Re: [mythtv-commits] packaging/master commit: 1af486e9a by Jean-Yves Avenard (jyavenard))
Andrew Leech
coronasensei at gmail.com
Thu May 24 01:44:53 UTC 2012
On 23/05/12 7:59 PM, Jean-Yves Avenard wrote:
> On 23 May 2012 15:45, Andrew Leech<coronasensei at gmail.com> wrote:
>
>> I had one small problem with the script in that pkg-config is not getting
>> installed in .osx-packager/build/bin. This caused it to fail during the
>> configure of mythtv.
>> I looked in pkg-config src folder and pkg-config had been built by the
>> packager, but had not installed into the bin folder. I deleted just
>> .osx-built in pkg-config folder and started osx-packager again and yep, it's
>> installed now.
> Only if you didn't start with a fresh copy of .osx-packager folder nor
> followed the instructions proivded.
>
> You can't re-use the .osx-packager folder created by the original packager.
>
Ok I'm really not sure what went wrong, but my mythtv-git folder must
have got stuffed up. Even though I git reset and cleaned it every way I
could find before the final compiling yesterday, and I deleted
.osx-packager/build and all the extracted folders in .osx-packager/src/,
I got that error.
Today I did the same but deleted mythtv-git as well and let it pull a
clean copy down. It then compiles fine, although still leaving no
.osx-packager/build/bin/pkg-config at the end - I didn't realise it's
deleted as a post process of some other part of the script. There must
have been some stale configure cache or Makefile or something in my
previous mythtv-git causing the problem.
Is there a guaranteed way to clean the mythtv-git folder other than just
checking out a fresh copy?
Yesterday I tried:
git reset --hard HEAD
git clean -f
git checkout
I thought they'd get rid of any other stuff, but apparently not.
Also, just to be sure, is the osx-packager-qtsdk.pl script on mythtv git
the best version?:
http://code.mythtv.org/trac/browser/packaging/OSX/build/osx-packager-qtsdk.pl
I did have to change it slightly to allow compilation with the older qt
4.7.4:
--- a/OSX/build/osx-packager-qtsdk.pl
+++ b/OSX/build/osx-packager-qtsdk.pl
@@ -447,7 +447,7 @@ else
if ( $hostos =~ m/^1[12]\./ && $QTVERSION !~ m/^4\.[89]\./ )
{
&Complain("You must use Qt 4.8.0 or above with your OS");
- exit;
+ # exit;
}
$QTBIN="$PREFIX/bin";
$QTPLUGINS="$PREFIX/plugins";
I didn't want a 64 bit only build, so grabbed the older universal qt. Is
there anything in particular that works better in 4.8.0 on lion such
that I should be using it instead?
Thanks,
Andrew
More information about the mythtv-users
mailing list