[mythtv-users] Raspberry Pi Newbie Questions

JP Moitinho de Almeida moitinho at civil.ist.utl.pt
Thu Dec 31 23:04:32 UTC 2015


On Friday, January 01, 2016 09:06:51 Kingsley Turner wrote:
> 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/qtba
> >> se/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-gn
> ueabihf-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/interfa
> ce/vcos/pthreads
> --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/inter
> face/vcos/pthreads
> --extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/interfa
> ce/vmcs_host/linux
> --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/opt/vc/include/inter
> face/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/l
> ib
> --extra-cflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include/arm-linux-
> gnueabihf
> --extra-cxxflags=-I/home/kingsley/Code/rpi/mythinstall/usr/include/arm-linu
> x-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-gnueabi
> hf
> --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

It seems that by using those packages you are missing at least part of the 
patched Qt you (wanted to) compile.

Missing WebKit may be a due to a missing package in your system

http://www.gossamer-threads.com/lists/mythtv/users/593497#593497

Regards

ZP


More information about the mythtv-users mailing list