¶óÁ¸®ÆÄÀÌ2¿¡ TVheadend ±ò¸é¼­ ¸®´ª½º ´Ù½Ã °øºÎ ÇÕ´Ï´Ù. gitÀ¸·Î ¹Þ¾Æ¿Â ÆÄÀÏ ¸íĪ ¾Ë ¼ö ÀÖ³ª¿ä?

   Á¶È¸ 5828   Ãßõ 0    

https://tvheadend.org/boards/5/topics/15426 (423)
http://clien.net/cs2/bbs/board.php?bo_table=cm_nas&wr_id=17072 (640)

한 20년만에 만져보는 리눅스에 열심히 삽질하고 있습니다.

쫑파티에서 받아온 라즈베리파이2(이름 모르는 그 분께 다시 한 번 감사 드립니다.) 에 TVheadend 올리고 있습니다. Rasbian 최신 버젼에 암것도 설치 않하고 웹사이트 나온 것들 따라 하다보니 기존 올려 놓은 사람들은 다양한 package가 깔려 있어서 그런지 쌔삥 original 버전에서는 계속 에러...


그러다가 아래 사이트를 찾아 무난히 진행 중입니다.

https://tvheadend.org/boards/5/topics/15426

안타깝게도 한 1년 전 쯤 쓰여진 글이라 TVheadend의 버젼이 지금 것과 맞지 않다 보니 바로 앞에서 시간 소비하고 진행이 안됩니다. 물론 위 것이야 추가 하드웨어가 있는 듯 한데, 그 부분만 무시하고 진행하려 하고 있습니다.


<질문> git으로 받아온 TVheadend의 파일명이 무엇일까요? dpkg 어떻게 진행해야하는지요...  

(아래 빨간색입니다. 위 링트크에서 따라 한 부분과 제가 진행하며 나온 것들 모두 올립니다. )


위 링크에서 나온 부분 따라 하는데

sudo su  <오케이>
aptitude install build-essential git pkg-config libssl-dev bzip2 wget  <오케이>
aptitude install libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev <오케이>
apt-get install libcurl4-gnutls-dev  <오케이>
apt-get install liburiparser-dev <오케이>
apt-get install debhelper <오케이>
cd /opt <오케이>
git clone https://github.com/tvheadend/tvheadend.git  <오케이>
cd tvheadend <오케이>
AUTOBUILD_CONFIGURE_EXTRA=--disable-libav_static ./Autobuild.sh  <오케이>
cd ..  <오케이>
dpkg -i tvheadend_3.9.xxxxxxxxx_armhf.deb (xxxx = whatever version you just built)     <--- <질문사항>


여기부터는 삽질과정과 진행 상황입니다.

pi@AllTV:~ $ sudo su
root@AllTV:/home/pi# aptitude install build-essential git pkg-config libssl-dev bzip2 wget
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
                                         
root@AllTV:/home/pi# aptitude install libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswsclae-dev
Couldn't find any package whose name or description matched "libswsclae-dev"
Couldn't find any package whose name or description matched "libswsclae-dev"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
^[[B                                     ^[[A
                                         
root@AllTV:/home/pi# aptitude install libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
                                         
root@AllTV:/home/pi# apt-get install libcurl4-gnutls-dev
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다        
상태 정보를 읽는 중입니다... 완료
제안하는 패키지:
  libcurl4-doc libcurl3-dbg libgnutls28-dev libidn11-dev libkrb5-dev libldap2-dev librtmp-dev
  libssh2-1-dev
다음 새 패키지를 설치할 것입니다:
  libcurl4-gnutls-dev
0개 업그레이드, 1개 새로 설치, 0개 제거 및 1개 업그레이드 안 함.
305 k바이트 아카이브를 받아야 합니다.
이 작업 후 935 k바이트의 디스크 공간을 더 사용하게 됩니다.
경고: 다음 패키지를 인증할 수 없습니다!
  libcurl4-gnutls-dev
확인하지 않고 패키지를 설치하시겠습니까? [y/N] y
받기:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libcurl4-gnutls-dev armhf 7.38.0-4+deb8u5 [305 kB]
내려받기 305 k바이트, 소요시간 1초 (220 k바이트/초)
Selecting previously unselected package libcurl4-gnutls-dev:armhf.
(데이터베이스 읽는중 ...현재 124599개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libcurl4-gnutls-dev_7.38.0-4+deb8u5_armhf.deb ...
Unpacking libcurl4-gnutls-dev:armhf (7.38.0-4+deb8u5) ...
Processing triggers for man-db (2.7.0.2-5) ...
libcurl4-gnutls-dev:armhf (7.38.0-4+deb8u5) 설정하는 중입니다 ...
root@AllTV:/home/pi# apt-get install liburiparser-dev
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다        
상태 정보를 읽는 중입니다... 완료
다음 패키지를 더 설치할 것입니다:
  liburiparser1
다음 새 패키지를 설치할 것입니다:
  liburiparser-dev liburiparser1
0개 업그레이드, 2개 새로 설치, 0개 제거 및 1개 업그레이드 안 함.
47.4 k바이트 아카이브를 받아야 합니다.
이 작업 후 159 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n]  
경고: 다음 패키지를 인증할 수 없습니다!
  liburiparser1 liburiparser-dev
확인하지 않고 패키지를 설치하시겠습니까? [y/N] y
받기:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main liburiparser1 armhf 0.8.0.1-2 [31.9 kB]
받기:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main liburiparser-dev armhf 0.8.0.1-2 [15.5 kB]
내려받기 47.4 k바이트, 소요시간 2초 (21.8 k바이트/초)
Selecting previously unselected package liburiparser1.
(데이터베이스 읽는중 ...현재 124624개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../liburiparser1_0.8.0.1-2_armhf.deb ...
Unpacking liburiparser1 (0.8.0.1-2) ...
Selecting previously unselected package liburiparser-dev.
Preparing to unpack .../liburiparser-dev_0.8.0.1-2_armhf.deb ...
Unpacking liburiparser-dev (0.8.0.1-2) ...
liburiparser1 (0.8.0.1-2) 설정하는 중입니다 ...
liburiparser-dev (0.8.0.1-2) 설정하는 중입니다 ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
root@AllTV:/home/pi# apt-get install debhelper
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다        
상태 정보를 읽는 중입니다... 완료
다음 패키지를 더 설치할 것입니다:
  autopoint gettext intltool-debian libasprintf-dev libgettextpo-dev libgettextpo0 libmail-sendmail-perl
  libsys-hostname-long-perl libunistring0 po-debconf
제안하는 패키지:
  dh-make gettext-doc libmail-box-perl
다음 새 패키지를 설치할 것입니다:
  autopoint debhelper gettext intltool-debian libasprintf-dev libgettextpo-dev libgettextpo0
  libmail-sendmail-perl libsys-hostname-long-perl libunistring0 po-debconf
0개 업그레이드, 11개 새로 설치, 0개 제거 및 1개 업그레이드 안 함.
3,211 k바이트 아카이브를 받아야 합니다.
이 작업 후 10.2 M바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n]  
경고: 다음 패키지를 인증할 수 없습니다!
  libunistring0 libgettextpo0 autopoint gettext intltool-debian po-debconf debhelper libasprintf-dev
  libgettextpo-dev libsys-hostname-long-perl libmail-sendmail-perl
확인하지 않고 패키지를 설치하시겠습니까? [y/N] y
받기:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libunistring0 armhf 0.9.3-5.2 [253 kB]
받기:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgettextpo0 armhf 0.19.3-2 [115 kB]
받기:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main autopoint all 0.19.3-2 [413 kB]
받기:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main gettext armhf 0.19.3-2 [1,167 kB]
받기:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
받기:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main po-debconf all 1.0.16+nmu3 [220 kB]      
받기:7 http://mirrordirector.raspbian.org/raspbian/ jessie/main debhelper all 9.20150101+deb8u2 [817 kB]  
받기:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libasprintf-dev armhf 0.19.3-2 [31.0 kB]  
받기:9 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgettextpo-dev armhf 0.19.3-2 [128 kB]  
받기:10 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsys-hostname-long-perl all 1.4-3 [11.6 kB]
받기:11 http://mirrordirector.raspbian.org/raspbian/ jessie/main libmail-sendmail-perl all 0.79.16-1 [26.6 kB]
내려받기 3,211 k바이트, 소요시간 7초 (416 k바이트/초)                                                    
Selecting previously unselected package libunistring0:armhf.
(데이터베이스 읽는중 ...현재 124643개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package libgettextpo0:armhf.
Preparing to unpack .../libgettextpo0_0.19.3-2_armhf.deb ...
Unpacking libgettextpo0:armhf (0.19.3-2) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../autopoint_0.19.3-2_all.deb ...
Unpacking autopoint (0.19.3-2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.3-2_armhf.deb ...
Unpacking gettext (0.19.3-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu3_all.deb ...
Unpacking po-debconf (1.0.16+nmu3) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20150101+deb8u2_all.deb ...
Unpacking debhelper (9.20150101+deb8u2) ...
Selecting previously unselected package libasprintf-dev:armhf.
Preparing to unpack .../libasprintf-dev_0.19.3-2_armhf.deb ...
Unpacking libasprintf-dev:armhf (0.19.3-2) ...
Selecting previously unselected package libgettextpo-dev:armhf.
Preparing to unpack .../libgettextpo-dev_0.19.3-2_armhf.deb ...
Unpacking libgettextpo-dev:armhf (0.19.3-2) ...
Selecting previously unselected package libsys-hostname-long-perl.
Preparing to unpack .../libsys-hostname-long-perl_1.4-3_all.deb ...
Unpacking libsys-hostname-long-perl (1.4-3) ...
Selecting previously unselected package libmail-sendmail-perl.
Preparing to unpack .../libmail-sendmail-perl_0.79.16-1_all.deb ...
Unpacking libmail-sendmail-perl (0.79.16-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
libunistring0:armhf (0.9.3-5.2) 설정하는 중입니다 ...
libgettextpo0:armhf (0.19.3-2) 설정하는 중입니다 ...
autopoint (0.19.3-2) 설정하는 중입니다 ...
gettext (0.19.3-2) 설정하는 중입니다 ...
intltool-debian (0.35.0+20060710.1) 설정하는 중입니다 ...
po-debconf (1.0.16+nmu3) 설정하는 중입니다 ...
debhelper (9.20150101+deb8u2) 설정하는 중입니다 ...
libasprintf-dev:armhf (0.19.3-2) 설정하는 중입니다 ...
libgettextpo-dev:armhf (0.19.3-2) 설정하는 중입니다 ...
libsys-hostname-long-perl (1.4-3) 설정하는 중입니다 ...
libmail-sendmail-perl (0.79.16-1) 설정하는 중입니다 ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
root@AllTV:/home/pi# cd /opt
root@AllTV:/opt# git clone https://github.com/tvheadend/tvheadend.git 
Cloning into 'tvheadend'...
remote: Counting objects: 66145, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 66145 (delta 0), reused 0 (delta 0), pack-reused 66140
Receiving objects: 100% (66145/66145), 44.16 MiB | 401.00 KiB/s, done.
Resolving deltas: 100% (49515/49515), done.
Checking connectivity... done.
Checking out files: 100% (5211/5211), done.
root@AllTV:/opt# cd tvheadend
root@AllTV:/opt/tvheadend# AUTOBUILD_CONFIGURE_EXTRA=--disable-libav-static ./Autobuild.sh
dpkg-buildpackage: source package tvheadend
dpkg-buildpackage: source version 4.1-2347~gb93b557
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andreas Öman
dpkg-buildpackage: host architecture armhf
 dpkg-source --before-build tvheadend
dpkg-checkbuilddeps: Unmet build dependencies: cmake
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
root@AllTV:/opt/tvheadend# cd ..
root@AllTV:/opt# dpkg -i tvheadend_4.1-2347~gb93b557
dpkg: error processing archive tvheadend_4.1-2347~gb93b557 (--install):
 아카이브에 접근할 수 없습니다: 그런 파일이나 디렉터리가 없습니다
처리하는데 오류가 발생했습니다:
 tvheadend_4.1-2347~gb93b557
root@AllTV:/opt# dpkg -i tvheadend_4.1-2347~gb93b557_armhf.deb
dpkg: error processing archive tvheadend_4.1-2347~gb93b557_armhf.deb (--install):
 아카이브에 접근할 수 없습니다: 그런 파일이나 디렉터리가 없습니다
처리하는데 오류가 발생했습니다:
 tvheadend_4.1-2347~gb93b557_armhf.deb
root@AllTV:/opt# dpkg -i tvheadend_4.1-2347~gb93b557.deb
dpkg: error processing archive tvheadend_4.1-2347~gb93b557.deb (--install):
 아카이브에 접근할 수 없습니다: 그런 파일이나 디렉터리가 없습니다
처리하는데 오류가 발생했습니다:
 tvheadend_4.1-2347~gb93b557.deb

root@AllTV:/opt# ls
Wolfram  minecraft-pi  pigpio  sonic-pi  tvheadend  vc
root@AllTV:/opt# cd tvheadend
root@AllTV:/opt/tvheadend# ls
Autobuild     LICENSE.md      Makefile.ffmpeg     Makefile.webui  data    intl    man  support
Autobuild.sh     Makefile      Makefile.hdhomerun  README.md       debian  lib    rpm  vendor
CONTRIBUTING.md  Makefile.common  Makefile.static     configure       docs    licenses    src
root@AllTV:/opt/tvheadend# cd ..
root@AllTV:/opt# ls
Wolfram  minecraft-pi  pigpio  sonic-pi  tvheadend  vc
root@AllTV:/opt# cd tvheadend
root@AllTV:/opt/tvheadend# ls
Autobuild     LICENSE.md      Makefile.ffmpeg     Makefile.webui  data    intl    man  support
Autobuild.sh     Makefile      Makefile.hdhomerun  README.md       debian  lib    rpm  vendor
CONTRIBUTING.md  Makefile.common  Makefile.static     configure       docs    licenses    src
root@AllTV:/opt/tvheadend# cd src
root@AllTV:/opt/tvheadend/src# ls
access.c    dbus.h       fsmonitor.h        idnode.h      muxer.h        spawn.c         tvhpoll.h
access.h    descrambler    hts_strtab.h     imagecache.c  notify.c        spawn.h         tvhtime.c
api        descrambler.h  htsbuf.c        imagecache.h  notify.h        streaming.c      tvhtime.h
api.c        docs.c       htsbuf.h        input      packet.c        streaming.h      tvhvfs.h
api.h        docs.h       htsmsg.c        input.c      packet.h        subscriptions.c  udp.c
atomic.h    download.c       htsmsg.h        input.h      parsers        subscriptions.h  udp.h
avahi.c     download.h       htsmsg_binary.c  intlconv.c      parsers.h        tcp.c         upnp.c
avahi.h     dvr           htsmsg_binary.h  intlconv.h      plumbing        tcp.h         upnp.h
bitops.h    epg.c       htsmsg_json.c    lang_codes.c  profile.c        test.c         url.c
bonjour.c   epg.h       htsmsg_json.h    lang_codes.h  profile.h        test.h         url.h
bonjour.h   epgdb.c       htsmsg_xml.c     lang_str.c      prop.c        timeshift         utils.c
bouquet.c   epggrab       htsmsg_xml.h     lang_str.h      prop.h        timeshift.c      uuid.c
bouquet.h   epggrab.c       htsp_server.c    libav.c      queue.h        timeshift.h      uuid.h
channels.c  epggrab.h       htsp_server.h    libav.h      redblack.h        trap.c         webui
channels.h  esfilter.c       htsstr.c        lock.c      rtsp.c        trap.h         wizard.c
clock.h     esfilter.h       htsstr.h        lock.h      satip            tvh_endian.h     wizard.h
compat.h    extra       http.c        main.c      service.c        tvh_locale.c     wrappers.c
config.c    file.c       http.h        memoryinfo.c  service.h        tvh_locale.h     zlib.c
config.h    file.h       httpc.c        memoryinfo.h  service_mapper.c  tvheadend.h
cron.c        filebundle.c   huffman.c        misc      service_mapper.h  tvhlog.c
cron.h        filebundle.h   huffman.h        muxer      settings.c        tvhlog.h
dbus.c        fsmonitor.c    idnode.c        muxer.c      settings.h        tvhpoll.c
root@AllTV:/opt/tvheadend/src# dpkg -i tvheadend_4.1-2347
dpkg: error processing archive tvheadend_4.1-2347 (--install):
 아카이브에 접근할 수 없습니다: 그런 파일이나 디렉터리가 없습니다
처리하는데 오류가 발생했습니다:
 tvheadend_4.1-2347

root@AllTV:/opt/tvheadend/src#
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
±è¿ë³² 2016-12
ºôµå°¡ ¾ÈµÇ¾ú´ø°¡ deb ÆÄÀÏ »ý¼ºÀÌ ½ÇÆÐÇÑ °Í °°½À´Ï´Ù.
±èÁ¦¿¬ 2016-12
tvheadend »çÀÌÆ® °¡½Ã¸é.. arm ¹öÀüÀ¸·Î ¹ÙÀ̳ʸ® ÀÖÀ¸½ÇÅÙµ¥ ±×°É¤© ¼³Ä¡ Çϼ¼¿ä..
ÀÌ°ÇÈñ 2016-12
Á¦°¡ °¡Áö°íÀÖÀ»¶§´Â ÁÖ·Î ¼­¶øÀå¼Ó¿¡ ÀÖ¾ú´Âµ¥... Àúº¸´Ù Àß ½áÁֽǺÐÇÑÅ× °¡¼­ ´ÙÇàÀ̳׿ä~
     
À¯È£ÁØ 2016-12
¾Æ, ȸÀå´Ô²²¼­ °¡Áö°í ¿À½Å °ÍÀ̾ú±º¿ä. ª°Ô Àλ縸 µå·È¾ú½À´Ï´Ù. ²À ¼º°ø(?)Çؼ­ °¨»çÈ÷ Àß ¾²°Ú½À´Ï´Ù.


QnA
Á¦¸ñPage 4805/5590
2015-12   1032545   ¹é¸Þ°¡
2014-05   4480740   Á¤ÀºÁØ1
2020-08   1575   ¿µ»êȸ»ó
2017-01   9130   ´Ù¿Â
2018-04   3558   ¼­¹öÁ»Á¦¹ß
2023-09   766   ÇÁ·Î°ÔÀ̸Ó
2013-07   10508   Â÷Æò¼®
2014-12   3934   VSPress
2020-08   3560   ±èÁ¦l±è¿ëȯ
2018-04   5900   ÁÒ½´¾Æ
2020-08   2528   ½Ãµµ´Ï
2010-07   7397   ½ÂÈĴϵµÄì
2014-12   18642   °ÉÀνÅȫö
2019-06   2893   ´ÐÄÉ
2022-02   1300   ¸¶ÄÉ·Î
2013-07   6377   ÀÌÃæ¿íblue
2023-10   1626   Nicoffeine
2020-09   1339   ¾Óµå·¹ÁØ
2022-02   1032   ¼ÒǪ
2017-02   3792   ±³Á¤±â°ø»ç
2019-06   2552   ÈñÀÚ´Ô
2020-09   3478   ÀÌÈñÁÖ