Forums » Tutorial and setups »
tvheadend on MAC OS X
Added by Mikael Brihed over 10 years ago
Hi!
I am trying to install tvheadend on MAC OS X 10.9 (Mavericks).
I downloaded the source through github and ran:
sudo ./configure --disable-dvbscan --disable-linuxdvb
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok
checking for pkg zlib ... fail
checking for pkg avahi-client ... fail
checking for cc sys/inotify.h ... fail
checking for pkg libcurl ... fail
Compiler:
Using C compiler: cc
Build for arch: x86_64
Binaries:
Using PYTHON: python
Options:
cwc yes
v4l yes
linuxdvb no
dvbscan no
timeshift yes
imagecache no
avahi no
zlib no
libav no
inotify no
bundle no
dvbcsa no
execinfo yes
mmx yes
sse2 yes
getloadavg yes
atomic64 yes
py_gzip yes
bin_bzip2 yes
ssl yes
Packages:
openssl 0.9.8y
Installation paths:
Prefix: /usr/local
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man
Final Binary:
/Users/brihed/tvheadend/tvheadend-3.4patch1/build.linux/tvheadend
Tvheadend Data Directory:
/usr/local/share/tvheadend
Then I ran make and it fails big time.
media:tvheadend-3.4patch1 brihed$ sudo make
CC build.linux/src/main.o
In file included from /Users/brihed/tvheadend/tvheadend-3.4patch1/src/main.c:39:
/Users/brihed/tvheadend/tvheadend-3.4patch1/src/tvheadend.h:476:3: error:
implicit declaration of function 'clock_gettime' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
clock_gettime(CLOCK_MONOTONIC_COARSE, &tp);
^
/Users/brihed/tvheadend/tvheadend-3.4patch1/src/tvheadend.h:476:17: error: use
of undeclared identifier 'CLOCK_MONOTONIC'
clock_gettime(CLOCK_MONOTONIC_COARSE, &tp);
^
/Users/brihed/tvheadend/tvheadend-3.4patch1/src/tvheadend.h:468:32: note:
expanded from macro 'CLOCK_MONOTONIC_COARSE'
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
^
In file included from /Users/brihed/tvheadend/tvheadend-3.4patch1/src/main.c:44:
/Users/brihed/tvheadend/tvheadend-3.4patch1/src/dvb/dvb.h:22:10: fatal error:
'linux/dvb/version.h' file not found
#include <linux/dvb/version.h>
^
3 errors generated.
make: *** [build.linux/src/main.o] Error 1
Has anyone out there been able to install tvheadend on MAC OS X?
Replies (2)
RE: tvheadend on MAC OS X - Added by Matej Munih almost 9 years ago
Hello,
Is there any chance to see tvheadend on Mac os x?
RE: tvheadend on MAC OS X - Added by STREIFF Antoine over 4 years ago
I'm actually uping this, I would very much like to install tvheadend on my macmini for its transcoding capabilities…