Linuxで作るHDDレコーダ memo

参考URL
http://pcweb.mycom.co.jp/special/2004/linuxrec/
http://tsuttayo.sytes.net/video/mythtv/

Perl CPANのurllist変更
jaistにしたらCPANでモジュールアップデートできなかったので変更
http://y-kit.jp/saba/xp/cpan.htm
http://nlogn.ath.cx/archives/000212.html

# perl -MCPAN -e shell
cpan> o conf urllist
urllist
ftp://ftp.jaist.ac.jp/pub/lang/perl/CPAN/
Type 'o conf' to view configuration edit options
cpan> o conf urllist pop ftp://ftp.jaist.ac.jp/pub/lang/perl/CPAN/
cpan> o conf urllist push ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/

これでURLが変更され、モジュールのアップデートができるようになった


XMLTVのMakeがうまくいかない

perlのモジュールを4つインストール
cpan> install Bundle::CPAN
cpan> install HTML::TreeBuilder ├必要なモジュールをインストール
cpan> install Bundle::XML

これと install XML::Writer

perl-XML-Twigパッケージをインストール

yum install perl-XML-Twig

これでうまくいった。

MythTV

http://rpm.pbone.net/
からソースを探して来る。specファイルの記述が変なのでrebuild通らない。

$ rpmbuild -ba mythtv-0.16-82.2.rhfc2.at.spec
エラー: line 8: Tag takes single token only: Release: %atrelease 82.2

specの8行目から %atrelease という記述を削除して再rebuild

今度はdependenciesでエラー

[orita@fedora SPECS]$ rpmbuild -ba mythtv-0.16-82.2.rhfc2.at.spec
エラー: Failed build dependencies:
mysql-devel is needed by mythtv-0.16-82.2
lirc-lib-devel is needed by mythtv-0.16-82.2
nvidia-graphics-devel is needed by mythtv-0.16-82.2

mysql-devel はyumでインストール