Project

General

Profile

Bug #2161

tvheadend on MAC OS X

Added by Mikael Brihed over 10 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2014-07-04
Due date:
% Done:

0%

Estimated time:
Found in version:
3.4.Patch1 Master branch
Affected Versions:

Description

Hi!

I am trying to install tvheadend on MAC OS X 10.9 (Mavericks).

I downloaded the source through github and ran:

git clone https://github.com/tvheadend/tvheadend.git
Cloning into 'tvheadend'...
remote: Reusing existing pack: 33447, done.
remote: Counting objects: 86, done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 33533 (delta 52), reused 15 (delta 8)
Receiving objects: 100% (33533/33533), 19.76 MiB | 37.00 KiB/s, done.
Resolving deltas: 100% (23086/23086), done.
Checking connectivity... done.

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

History

#1

Updated by Jaroslav Kysela over 7 years ago

  • Status changed from New to Rejected

3.4 is no longer supported.

#2

Updated by Pablo R. over 7 years ago

Perexg ... Why do not you raise the implementation of this commit :) ? https://github.com/tvheadend/tvheadend/pull/934

#3

Updated by Jaroslav Kysela over 7 years ago

The code is wrong there..

Also available in: Atom PDF