Version 3.0
Added by Bengt Madeberg over 12 years ago
Hello
Is 3.0 "compatible" with 2.12 ?
When loading the webpage I got some errors..
[INFO]:AVAHI: Service 'Tvheadend' successfully established.
[ERROR]:HTTP: 192.168.0.59: /static/extjs/adapter/ext/ext-base.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/livegrid/resources/css/ext-ux-livegrid.css -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/comet.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/tableeditor.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/extjs/ext-all-debug.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/extjs/resources/css/ext-all.css -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/cteditor.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/acleditor.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/capmteditor.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/cwceditor.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/livegrid/livegrid-all.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/dvb.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/iptv.js -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/ext.css -- 404
[ERROR]:HTTP: 192.168.0.59: /static/app/tvadapters.js -- 404
.....
Running Fedora 16, 64 bit
Replies (9)
RE: Version 3.0 - Added by Bengt Madeberg over 12 years ago
[root@server tvheadend-tvheadend-1175cea]# ./configure
Using C compiler: cc
Using AVAHI client: 0.6.30
Using openssl: 1.0.0j
Installation paths:
Prefix: /usr/local
Binaries: ${prefix}/bin
Man pages: ${prefix}/share/man
Data files: ${prefix}/share/tvheadend
Final binary is: build.linux/tvheadend
[root@server tvheadend-tvheadend-1175cea]# make
CC build.linux/src/main.o
CC build.linux/src/utils.o
CC build.linux/src/wrappers.o
CC build.linux/src/version.o
CC build.linux/src/access.o
CC build.linux/src/dtable.o
CC build.linux/src/tcp.o
CC build.linux/src/http.o
CC build.linux/src/notify.o
CC build.linux/src/file.o
CC build.linux/src/epg.o
CC build.linux/src/xmltv.o
CC build.linux/src/spawn.o
CC build.linux/src/packet.o
CC build.linux/src/streaming.o
CC build.linux/src/teletext.o
CC build.linux/src/channels.o
CC build.linux/src/subscriptions.o
CC build.linux/src/service.o
CC build.linux/src/psi.o
CC build.linux/src/parsers.o
CC build.linux/src/parser_h264.o
CC build.linux/src/parser_latm.o
CC build.linux/src/tsdemux.o
CC build.linux/src/bitstream.o
CC build.linux/src/htsp.o
CC build.linux/src/serviceprobe.o
CC build.linux/src/htsmsg.o
CC build.linux/src/htsmsg_binary.o
CC build.linux/src/htsmsg_json.o
CC build.linux/src/htsmsg_xml.o
CC build.linux/src/settings.o
CC build.linux/src/htsbuf.o
CC build.linux/src/trap.o
CC build.linux/src/avg.o
CC build.linux/src/htsstr.o
CC build.linux/src/rawtsinput.o
CC build.linux/src/iptv_input.o
CC build.linux/src/avc.o
CC build.linux/src/plumbing/tsfix.o
CC build.linux/src/plumbing/globalheaders.o
CC build.linux/src/dvr/dvr_db.o
CC build.linux/src/dvr/dvr_rec.o
CC build.linux/src/dvr/dvr_autorec.o
CC build.linux/src/dvr/ebml.o
CC build.linux/src/dvr/mkmux.o
CC build.linux/src/cwc.o
CC build.linux/src/capmt.o
CC build.linux/src/ffdecsa/ffdecsa_interface.o
CC build.linux/src/ffdecsa/ffdecsa_int.o
CC build.linux/src/webui/webui.o
CC build.linux/src/webui/comet.o
CC build.linux/src/webui/extjs.o
CC build.linux/src/webui/simpleui.o
CC build.linux/src/webui/statedump.o
CC build.linux/src/dvb/dvb.o
CC build.linux/src/dvb/dvb_support.o
CC build.linux/src/dvb/dvb_fe.o
CC build.linux/src/dvb/dvb_tables.o
CC build.linux/src/dvb/diseqc.o
CC build.linux/src/dvb/dvb_adapter.o
CC build.linux/src/dvb/dvb_multiplex.o
CC build.linux/src/dvb/dvb_transport.o
CC build.linux/src/dvb/dvb_preconf.o
CC build.linux/src/dvb/dvb_satconf.o
CC build.linux/src/webui/extjs_dvb.o
CC build.linux/src/v4l.o
CC build.linux/src/webui/extjs_v4l.o
CC build.linux/src/ffdecsa/ffdecsa_mmx.o
CC build.linux/src/ffdecsa/ffdecsa_sse2.o
CC build.linux/src/avahi.o
CC build.linux/tvheadend
[root@server tvheadend-tvheadend-1175cea]#
./tvheadend (in build.linux directory)
RE: Version 3.0 - Added by Adam Sutton over 12 years ago
Please read instructions on wiki. Ensure your running from root of source, ie ./build/tvheadend. And don't do make install unless you understand the consequences.
Adam
RE: Version 3.0 - Added by Adam Sutton over 12 years ago
Sorry for the short answer earlier, I was on my phone.
If you want to install to run as a service etc.. You would be much better trying to build a package, if you're using Ubuntu instructions for building debs are here
Personally I don't like using "make install" due to its lack of traceability, unlike packages which can be tracked fully.
Regards
Adam
RE: Version 3.0 - Added by Bengt Madeberg over 12 years ago
Ok
I tried to do it all according to the instructions. I stay with 2.12 until the problems are solved. Thanks all for the effort of doing a very good DVB streaming software.,...
Fedora 16, 64 bit....
RE: Version 3.0 - Added by Adam Sutton over 12 years ago
This is not a problem with tvh. It's a problem with the way you are running it.
Just to check you are running from git root?
I.e. you type ./build.linux/tvheadend to run.
Adam
PS
I will try and create a up to date rpm spec in near future.
RE: Version 3.0 - Added by Bengt Madeberg about 12 years ago
Spent some time with doing an rpm (did use version 3.0) for Fedora 16. Did a new spec (re-used some parts) file and included systemd control for start/stop. First time doing this so probably missed some parts !?. Installation went good so hopefully everything will work ok....
Name: tvheadend
Summary: TV streaming server
Version: 3.0.0.g5084ca6
Release: 1%{dist}
License: GPL
Group: Applications/Multimedia
URL: http://www.lonelycoder.com/tvheadend
Packager: Bengt Madeberg
Source0: tvheadend-%{version}.tar.gz
BuildRequires: avahi-devel, openssl, glibc, zlib, systemd-units
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%description
Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2,
DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
install -p -m 644 /{buildsubdir}/contrib/fedora/tvheadend.service $RPM_BUILD_ROOT%{_unitdir}/tvheadend.service
%post
if [ $1 -eq 1 ] ; then
# Initial installation
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
%preun
if [ $1 -eq 0 ] ; then
# Package removal, not upgrade
/bin/systemctl --no-reload disable tvheadend.service > /dev/null 2>&1 || :
/bin/systemctl stop tvheadend.service > /dev/null 2>&1 || :
fi
%postun
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
# Package upgrade, not uninstall
/bin/systemctl try-restart tvheadend.service >/dev/null 2>&1 || :
fi
files
%defattr(-,root,root)
%doc LICENSE README
{_bindir}/*
/*
{_unitdir}/*
- Thu Sep 11 2012 Bengt Madeberg <[email protected]> - 3.0.0.g5084ca6
- initial build for fedora 16
RE: Version 3.0 - Added by Adam Sutton about 12 years ago
Feel free to submit a PR on github and I'll look at updating the RPM spec file. I was going to do it myself as I've plenty of experience with RPM SPECs but I've just not had the time.
Adam