[mythtv-users] Raspberry Pi Newbie Questions

Kingsley Turner krt at krt.com.au
Thu Dec 31 22:06:51 UTC 2015


On 31/12/15 21:06, Lawrence Rust wrote:
> On Thu, 2015-12-31 at 10:20 +1100, Kingsley Turner wrote:
>> On 30/12/15 19:18, Kingsley Turner wrote:
>> Creating qmake... make: Nothing to be done for `first'. Running 
>> configuration tests... The OpenGL ES 2.0 functionality test failed! You 
>> might need to modify the include and library search paths by editing 
>> QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and 
>> QMAKE_LIBS_OPENGL_ES2 in 
>> /home/kingsley/Code/rpi/mythbuild/qt-everywhere-opensource-src-5.4.0/qtbase/mkspecs/devices/linux-rasp-pi-g++. 
>> This looks to me like I need some OpenGL ES2 stuff. I googled these error 
>> messages, but nothing that gave me an idea on how to proceed. 
> This looks like you are missing the Qt patches.  To ensure that they are
> applied you should delete these directories:
>
> mythbuild/qt-everywhere-opensource-src-5.4.0
> mythpatches-0.24
>
> and the file mythpatches-0.24.tar.bz2
>
> This will ensure the latest patches are applied to Qt. Then execute:
>
> RASPBIAN_FLAVOUR=jessie mythbuild.sh -Q 5.4.0 -2 -E
>
> The -E option ensures a clean rebuild.
>

Ok, that seems to have cleared up all those problems, and it looks like the 
cross-compiled Qt is built A-OK.

The next step was building mythtv, but it wants QtWebKit ~

*********************************************************************
Building mythtv branch fixes-0.27-rpi (release)
*********************************************************************

./configure --prefix=/home/kingsley/Code/rpi/mythinstall --runprefix=.. 
--sysinclude=/home/kingsley/Code/rpi/mythinstall/usr/include 
--extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/include 
--extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/include 
--extra-libs=-L/home/kingsley/Code/rpi/mythinstall/lib 
--enable-cross-compile --cross-prefix=arm-linux-gnueabihf- --target_os=linux 
--arch=arm --qmake=/home/kingsley/Code/rpi/mythinstall/bin/qmake 
--extra-cxxflags=-Wuninitialized --disable-avdevice --enable-libfftw3 
--extra-cxxflags=-Wno-deprecated-declarations pkg_config=pkg-config 
--dvb-path=/home/kingsley/Code/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../arm-linux-gnueabihf/libc/usr/include 
--extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include 
--extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include 
--extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interface/vcos/pthreads 
--extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interface/vcos/pthreads 
--extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interface/vmcs_host/linux 
--extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interface/vmcs_host/linux 
--extra-libs=-L/home/kingsley/Code/rpi/mythinstall/opt/vc/lib 
--extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/opt/vc/lib 
--extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include/arm-linux-gnueabihf 
--extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include/arm-linux-gnueabihf 
--extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include 
--extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include 
--extra-libs=-L/home/kingsley/Code/rpi/mythinstall/usr/lib/arm-linux-gnueabihf 
--extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/usr/lib/arm-linux-gnueabihf 
--extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/usr/lib/arm-linux-gnueabihf/pulseaudio 
--extra-libs=-L/home/kingsley/Code/rpi/mythinstall/usr/lib 
--extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/usr/lib 
--extra-libs=-L/home/kingsley/Code/rpi/mythinstall/lib/arm-linux-gnueabihf 
--extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/lib/arm-linux-gnueabihf 
--extra-libs=-L/home/kingsley/Code/rpi/mythinstall/lib 
--extra-ldflags=-Wl,-rpath-link,/home/kingsley/Code/rpi/mythinstall/lib 
--disable-mythlogserver --disable-hdhomerun --enable-sdl --compile-type=release
Error! QtWebkit headers not found

I added libqt5webkit5-dev qtbase5-dev to thepkgs="$pkgs libicu-dev" # Qt 
webkit line of the build script.
This pulled in another 214 packages (eek!) during the apt update phase of 
the build script, but fixed the above error.

cheers,
-kt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160101/4f29cae5/attachment.html>


More information about the mythtv-users mailing list