Mailing List Archive

MythTV 0.29 compilation on Debian 9 fails.
Hello,

Up-to-date Debian 9. Downloaded mythtv-fixes-29.tar.gz from mythtv.org
and ran ./configure. The result had a few fatal dependencies missing, so
I started installing packages. I soon got past the essential packages and
then saw plenty of "<feature> no", so kept on installing packages.
Hundreds eventually. I'm now at this stage:


$ ./configure --enable-mythlogserver --enable-bdjava
# Basic Settings
Compile type profile
Compiler cache no
DistCC no
qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake
install prefix /usr/local
runtime prefix /usr/local
CPU x86 x86_64 (model name : AMD Athlon(tm) II Dual-Core M300)
yasm yes
MMX enabled yes
MMXEXT enabled yes
3DNow! enabled yes
3DNow! extended enabled yes
SSE enabled yes
SSSE3 enabled yes
AESNI enabled yes
AVX enabled yes
XOP enabled yes
FMA3 enabled yes
FMA4 enabled yes
i686 features enabled yes

# Input Support
Joystick menu yes
lirc support yes
libCEC device support yes [/usr/include]
Video4Linux support yes
ivtv support yes
HD-PVR support yes
FireWire support no
DVB support yes [/usr/include]
DVB-S2 support yes
HDHomeRun support yes
V@Box TV Gateway support yes
Ceton support yes
ASI support no

# Sound Output Support
PulseAudio support yes
OSS support yes
ALSA support yes
JACK support default
libfftw3 support yes

# Video Output Support
x11 support yes
xrandr support yes
xv support yes
VDPAU support yes
VAAPI support no
CrystalHD support yes
OpenMAX support no
OpenGL video yes
OpenGL ThemePainter yes
MHEG support yes
libass subtitle support yes

# Misc Features
Frontend yes
Backend yes
mythlogserver yes
multi threaded libavcodec yes
libxml2 support yes [/usr/include/libxml2]
libdns_sd (Bonjour) yes
libcrypto yes
OpenGL ES 2.0 no
BD-J (Bluray java) yes
BD-J type j2se
systemd_notify yes
systemd_journal yes

# Bindings
bindings_perl yes
bindings_python yes
bindings_php yes

# External Codec Options
mp3lame no
xvid no
x264 no
x265 (HEVC) no
vpx no
SDL2 no

Creating libs/libmythbase/mythconfig.h and libs/libmythbase/mythconfig.mak

libs/libmythbase/mythconfig.h is unchanged
libs/libmythbase/mythconfig.mak is unchanged
external/FFmpeg/config.asm is unchanged
external/FFmpeg/libavutil/avconfig.h is unchanged
Configuring zeromq...
Configuring nzmqt...
Configuring libhdhomerun...
Configuring libmythbluray...
Configuring libmythdvdnav...
Configuring libsamplerate...
Configuring libudfread...
Configuring minilzo...
Configuring libmythsoundtouch...
Configuring libXNVCtrl...
external/FFmpeg/libavcodec/bsf_list.c is unchanged
external/FFmpeg/libavformat/protocol_list.c is unchanged

I have tried to find relevant libs and *-dev packages for all the remaining
entries still with a "no" but I can't seem to change any of them to "yes"
I presume those tests are based on more than missing software.

Am I missing some packages (which ones?) for these remaining entries?
In particular, I have installed mp3lame and all the packages that seemed
relevant to the External Codec Options but they all still say "no".

Then, I tried make. I can't get past the zeromq part. I have installed,
removed and re-installed all the *zmq* and *zeromq* packages, including
some related to the haskell compiler (probably not needed.) No difference.
There seems to be no way to disable/bypass this external option, short of
going into the top-level makefile and commenting out the call to the zeromq
makefile, I presume, which I haven't done yet.

...
make -C zeromq all
make[2]: Entering directory '/home/afc/Downloads/mythtv-fixes-29/mythtv/external/zeromq'
Making all in src
make[3]: Entering directory '/home/afc/Downloads/mythtv-fixes-29/mythtv/external/zeromq/src'
make all-am
make[4]: Entering directory '/home/afc/Downloads/mythtv-fixes-29/mythtv/external/zeromq/src'
CXX libmythzmq_la-clock.lo
In file included from clock.hpp:24:0,
from clock.cpp:21:
stdint.hpp:33:9: error: ‘__int8’ does not name a type
typedef __int8 int8_t;
^~~~~~
stdint.hpp:36:9: error: ‘__int16’ does not name a type
typedef __int16 int16_t;
^~~~~~~
stdint.hpp:39:9: error: ‘__int32’ does not name a type
typedef __int32 int32_t;
^~~~~~~
stdint.hpp:42:9: error: ‘__int64’ does not name a type
typedef __int64 int64_t;
^~~~~~~
stdint.hpp:45:25: error: expected initializer before ‘uint8_t’
typedef unsigned __int8 uint8_t;
^~~~~~~
stdint.hpp:48:26: error: expected initializer before ‘uint16_t’
typedef unsigned __int16 uint16_t;
^~~~~~~~
stdint.hpp:51:26: error: expected initializer before ‘uint32_t’
typedef unsigned __int32 uint32_t;
^~~~~~~~
stdint.hpp:54:26: error: expected initializer before ‘uint64_t’
typedef unsigned __int64 uint64_t;
^~~~~~~~
In file included from clock.cpp:21:0:
clock.hpp:37:16: error: ‘uint64_t’ does not name a type
static uint64_t rdtsc ();
^~~~~~~~
clock.hpp:40:16: error: ‘uint64_t’ does not name a type
static uint64_t now_us ();
^~~~~~~~
clock.hpp:44:9: error: ‘uint64_t’ does not name a type
uint64_t now_ms ();
^~~~~~~~
clock.hpp:49:9: error: ‘uint64_t’ does not name a type
uint64_t last_tsc;
^~~~~~~~
clock.hpp:52:9: error: ‘uint64_t’ does not name a type
uint64_t last_time;
^~~~~~~~
clock.cpp: In constructor ‘zmq::clock_t::clock_t()’:
clock.cpp:42:5: error: class ‘zmq::clock_t’ does not have any field named ‘last_tsc’
last_tsc (rdtsc ()),
^~~~~~~~
clock.cpp:42:22: error: ‘rdtsc’ was not declared in this scope
last_tsc (rdtsc ()),
^
clock.cpp:43:5: error: class ‘zmq::clock_t’ does not have any field named ‘last_time’
last_time (now_us () / 1000)
^~~~~~~~~
clock.cpp:43:24: error: ‘now_us’ was not declared in this scope
last_time (now_us () / 1000)
^
clock.cpp: At global scope:
clock.cpp:51:32: error: no ‘uint64_t zmq::clock_t::now_us()’ member function declared in class ‘zmq::clock_t’
uint64_t zmq::clock_t::now_us ()
^
clock.cpp:100:32: error: no ‘uint64_t zmq::clock_t::now_ms()’ member function declared in class ‘zmq::clock_t’
uint64_t zmq::clock_t::now_ms ()
^
clock.cpp:119:31: error: no ‘uint64_t zmq::clock_t::rdtsc()’ member function declared in class ‘zmq::clock_t’
uint64_t zmq::clock_t::rdtsc ()
^
Makefile:722: recipe for target 'libmythzmq_la-clock.lo' failed
make[4]: *** [libmythzmq_la-clock.lo] Error 1
make[4]: Leaving directory '/home/afc/Downloads/mythtv-fixes-29/mythtv/external/zeromq/src'
Makefile:547: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/afc/Downloads/mythtv-fixes-29/mythtv/external/zeromq/src'
Makefile:426: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/afc/Downloads/mythtv-fixes-29/mythtv/external/zeromq'
Makefile:35: recipe for target 'zeromq-all' failed
make[1]: *** [zeromq-all] Error 2
make[1]: Leaving directory '/home/afc/Downloads/mythtv-fixes-29/mythtv/external'
Makefile:67: recipe for target 'external' failed
make: *** [external] Error 2

Is this something that has to be fixed in myth? or is it a matter of the wrong
dependencies being installed? or do I still have missing packages?

If someone can point me to a command (or seris of commands in a pipe) that
would list the packages installed since a specific date (August 29 in this
case) minus the automatically added dependencies ideally, I could send the
list of what I had to install to get to this point.

Any help/hints will be greatly appreciated. I have decided to tackle the
latest Myth in an effort to see if I can use the new WinTV-dualHD under the
latest (stable) Debian and Myth. So far, no luck.

Thanks!

Augustine

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 0.29 compilation on Debian 9 fails. [ In reply to ]
On 09/02/2017 07:53 PM, A. F. Cano wrote:
>
> Hello,
>
> Up-to-date Debian 9. Downloaded mythtv-fixes-29.tar.gz from mythtv.org
> and ran ./configure. The result had a few fatal dependencies missing, so
> I started installing packages. I soon got past the essential packages and
> then saw plenty of "<feature> no", so kept on installing packages.
> Hundreds eventually. I'm now at this stage:

...

> mythlogserver yes

...

> Any help/hints will be greatly appreciated. I have decided to tackle the
> latest Myth in an effort to see if I can use the new WinTV-dualHD under the
> latest (stable) Debian and Myth. So far, no luck.

Looks like you're passing --enable-mythlogserver to configure. It isn't
required, or recommended. I'd do a distclean and start over without it.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 0.29 compilation on Debian 9 fails. [ In reply to ]
On 09/02/2017 08:53 PM, A. F. Cano wrote:
> Any help/hints will be greatly appreciated. I have decided to tackle the
> latest Myth in an effort to see if I can use the new WinTV-dualHD under the
> latest (stable) Debian and Myth. So far, no luck.
>
> Thanks!
>
> Augustine

See the wiki page https://www.mythtv.org/wiki/Build_from_Source

The easiest way to get the dependencies is with Ansible (described there)

Also as Bill said, do not use mythlogserver.


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 0.29 compilation on Debian 9 fails. [ In reply to ]
if you have deb-multimedia in your sources why compile from source?

If you really want to compile myth I would recommend apt-get build-dep to
get the necessary packages to build from source.

Also, the hauppauge quadHD is the best ATSC tuner by far IMHO!
Re: MythTV 0.29 compilation on Debian 9 fails. [ In reply to ]
On Sun, Sep 03, 2017 at 01:54:22PM +0000, Per Hatlevik wrote:
> if you have deb-multimedia in your sources why compile from source??

You're right. I'm currently downloading all the deb packages. I
thought I'd try to compile from source to get the latest (0.29).
Deb-multimedia only has 0.28 but that should be enough to see if the
tuner (dualHD, 955D as reported by lsusb) is visible without installing
a custom ubuntu kernel, which I'd rather avoid.

> If you really want to compile myth I would recommend apt-get build-dep to

Thanks for this tip. I'll look into it.

> get the necessary packages to build from source.
> Also, the hauppauge quadHD is the best ATSC tuner by far IMHO!

Does this use the same driver as the dualHD? Did you need to use
additional drivers or is the standard kernel sufficient? Which
kernel/distribution are you using?

Thanks for replying.

Augustine

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org