Packaging Issue
Added by Mark Davis over 11 years ago
Hi
First up, this is my first post so hello from me and thank you for all the hard work you put into tvheadend. I have in the last month built myself a new pc and installed ubuntu 12.04. As a complete noob to linux I have been playing and learning every since lol.
Now for my issue
I have followed the instuctions on the wiki for building from source and I am currently up and running in the test enviroment (ie. $ ./build.linux/tvheadend ) I have all my channels scanned and all it working great, currently the kids are watching tv on xbmc so they are happy.
My problem starts when I continue onto the next step in the wiki to actually install tvheadend. I am trying to make a package as per the wiki instructions ( $ ./Autobuild.sh -t precise-amd64 ) but when I do it fails saying
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
The whole output is...
mrdavismauk@Linux-Server:~/tvheadend$ ./Autobuild.sh -t precise-amd64
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package tvheadend
dpkg-buildpackage: source version 3.5.23~g4724e01~precise
dpkg-buildpackage: source changed by Andreas Öman <[email protected]>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build tvheadend
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 7.0.50) libcurl4-gnutls-dev
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
mrdavismauk@Linux-Server:~/tvheadend$
Could someone wiser than me please help me figure out what I have done wrong please. I am a firm believer in learning by trial and error but I am stuck on this one.
Cheers Mark
Replies (2)
RE: Packaging Issue - Added by Prof Yaffle over 11 years ago
Guessing at one or both of
sudo apt-get install libcurl4-gnutls-dev
and
sudo apt-get install debhelper
(you can, of course, combine these into one command if needed)
Check that you have them installed, and that the version of debhelper is high enough if it is installed (it should be on Precise):
dpkg -l debhelper
Remember that, when you install (dpkg -i tvheadend.....deb), you're creating a whole new installation - so you'll have to start again with access control, muxes, channel scanning, etc. You may be able to copy stuff over to address this, but you'll inevitably get something reset in the process that you weren't expecting (e.g. superuser password).
RE: Packaging Issue - Added by Mark Davis over 11 years ago
Thank you very much
now you have pointed it out to me, I can see where i could of got that info myself
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 7.0.50) libcurl4-gnutls-dev
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
It was staring me in the face, I am afraid, that is the noob in me, but it has only been four weeks and I have learnt a lot in that time!
Anyway I done what you suggested and it now works a treat. As for the settings it doesnt bother me doing it again as it doesnt take to long to sort.
Thanks Mark