libtheora をインストール

まずは wget でソースを落としてきて展開。

paraches@debian:~/myTest/ffmpeg$ wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
--2010-06-07 14:12:52--  http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
downloads.xiph.org をDNSに問いあわせています... 64.50.236.52, 64.50.233.100
downloads.xiph.org|64.50.236.52|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 2111877 (2.0M) [application/x-gzip]
`libtheora-1.1.1.tar.gz' に保存中

100%[======================================>] 2,111,877    523K/s 時間 4.1s    

2010-06-07 14:12:57 (502 KB/s) - `libtheora-1.1.1.tar.gz' へ保存完了 [2111877/2111877]

paraches@debian:~/myTest/ffmpeg$ tar xzvf libtheora-1.1.1.tar.gz 
libtheora-1.1.1/
<長いので省略>
paraches@debian:~/myTest/ffmpeg$ 

展開した libtheora-1.1.1 フォルダに移動して configure & make

paraches@debian:~/myTest/ffmpeg$ cd libtheora-1.1.1/
paraches@debian:~/myTest/ffmpeg/libtheora-1.1.1$ ./configure
<長いので省略>
------------------------------------------------------------------------
  libtheora 1.1.1:  Automatic configuration OK.

  General configuration:

    Encoding support: ........... yes
    Floating point support: ..... yes
    Assembly optimization: ...... 64 bit x86
    Debugging telemetry: ........ no
    Build example code: ......... yes
    API Documentation: .......... no
    Format Documentation: ....... no

  Installation paths:

    libtheora: ................... /usr/local/lib
    C header files: .............. /usr/local/include/theora
    Documentation: ............... /usr/local/share/doc/libtheora

  Building:

    Type 'make' to compile libtheora.

    Type 'make install' to install libtheora.

    Type 'make check' to run test suite (Valgrind testing not enabled)

  Example programs will be built but not installed.
------------------------------------------------------------------------

paraches@debian:~/myTest/ffmpeg/libtheora-1.1.1$ make
<長いので省略>
paraches@debian:~/myTest/ffmpeg/libtheora-1.1.1$ 

checkinstall でインストール

paraches@debian:~/myTest/ffmpeg/libtheora-1.1.1$ sudo checkinstall --pkgname=libtheora --pkgversion "1.1.1" --backup=no --default

checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
           このソフトウェアはGNU GPLの下でリリースしています。



*****************************************
**** Debian package creation selected ***
*****************************************

このパッケージは以下の内容で構成されます: 

0 -  Maintainer: [ root@debian ]
1 -  Summary: [ Package created with checkinstall 1.6.1 ]
2 -  Name:    [ libtheora ]
3 -  Version: [ 1.1.1 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ libtheora-1.1.1 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ libtheora ]

変更するものの番号を入力してください。Enterで続行します: 

Installing with make...Installing with install...

<長いので省略>
**********************************************************************

 Done. The new package has been installed and saved to

 /home/paraches/myTest/ffmpeg/libtheora-1.1.1/libtheora_1.1.1-1_amd64.deb

 You can remove it from your system anytime using: 

      dpkg -r libtheora

**********************************************************************

paraches@debian:~/myTest/ffmpeg/libtheora-1.1.1$