[mythtv] Reducing frontend startup time
Peter Bennett
pgbennett at comcast.net
Sat Jan 9 19:50:03 UTC 2016
On 01/09/2016 05:32 AM, Lawrence Rust wrote:
> Yes, just execute: # checkout MythTV repository git clone -b
> devel/lvr/startup git://github.com/MythTV/mythtv.git cd mythtv ... #
> or if you already have the MythTV repo cd mythtv git checkout -b
> startup devel/lvr/startup
>> Must I still use mythbuild.sh or can I use
>> ./configure and make?
> It's simplest to cross-compile using the mythbuild.sh script. Building
> natively (on a Rpi or VM) is much slower (RPi >= 12hrs) and more
> complex.
>
>> Is mythbuild.sh now in github?
> No, get it from my website:
> http://www.softsystem.co.uk/download/mythtv/mythbuild.sh
>
> or together with my patches:
> http://www.softsystem.co.uk/download/mythtv/mythbuild-CURRENT.zip
>
>> Can the same github
>> branch be built for x86_64 and for arm?
> Yes, the devel/lvr/startup branch is just current master plus the 5
> database patches. Remember to "git clean -fxd ." when switching
> targets, or if using mythbuild.sh then append a -E option.
>
Hi Lawrence
I get an error when cross compiling.
I set the path to
tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin
instead of
tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin, because I
am using an x64 system. Without that, the compile was failing much
sooner than this.
I get this error, after it completed extracting the source for qt
/home/peter/work/github.com/MythTV/mythtv/mythbuild/qt-everywhere-opensource-src-5.4.0/qtbase/configure:
3212:
/home/peter/work/github.com/MythTV/mythtv/mythbuild/qt-everywhere-opensource-src-5.4.0/qtbase/configure:
arm-linux-gnueabihf-g++: not found
-reduce-exports was requested but this compiler does not support it
Re-run configure with -v for more information
it says arm-linux-gnueabihf-g++ not found, but it is found when I use
the path that I set as per the instructions
Proof that arm-linux-gnueabihf-g++ exists:
peter at xubuntu1510x64:~/work/github.com/MythTV/mythtv$
PATH="~/work/github.com/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin:$PATH"
peter at xubuntu1510x64:~/work/github.com/MythTV/mythtv$
arm-linux-gnueabihf-g++
arm-linux-gnueabihf-g++: fatal error: no input files
compilation terminated.
Peter
More information about the mythtv-dev
mailing list