vine-users ML アーカイブ



[vine-users:075229] Re: transcode のインストール

  • From: "K.Tahara" <taharak@xxxxxxxxxxxxxxx>
  • Subject: [vine-users:075229] Re: transcode のインストール
  • Date: Sat, 18 Nov 2006 17:54:40 +0900
田原@越谷です。
通常configureが通らない場合の最初の対処は、
configureコードを良く読んで、
エラーを出している判定部分を特定してから、
原因を考えることになると思います。
ただどのffmpegをお使いか分かりませんが、
transcode-1.0.2の方が1年半ほど古いと思われますので、
解決できない可能性もあると思います。
ところでなぜtranscodeを選択されたのでしょうか。
mplayerであれば、
ffmpegと開発がほぼ同期しているようですし、
このML内にもお詳しい方がいらっしゃると思いますが。
On Sat, Nov 18, 2006 at 04:45:16PM +0900, okui wrote:
> こんにちは  奥井です。
> 
> transcodeをインストールしたいんですが./configureから先に進めません。
> 
> transcode-htdocs-1.0.2.tar.gzをダウンロードして展開してtranscode-1.0.2ディレクトリで./configureしたら以下のメッセージがでました。
> ERROR: requirement failed: cannot compile ffmpeg/avcodec.h
> ffmpeg/avcodec.h can be found in the following packages:
>   FFMpeg  http://www.ffmpeg.org/
> 
>   ERROR: requirement failed: cannot link against libavcodec
>   libavcodec can be found in the following packages:
>     FFMpeg  http://www.ffmpeg.org/
> 
>     ERROR: requirement failed: cannot compile mpeg2dec/mpeg2.h
>     mpeg2dec/mpeg2.h can be found in the following packages:
>       mpeg2dec  http://libmpeg2.sourceforge.net/
> 
>       ERROR: requirement failed: cannot link against libmpeg2
>       libmpeg2 can be found in the following packages:
>         mpeg2dec  http://libmpeg2.sourceforge.net/
> 
> 
>         Please see the INSTALL file in the top directory of the
>         transcode sources for more information about building
>         transcode with this configure script.
> 
> ffmpeg,lame,mpeg2decをインストールしたら3つのエラーはでなくなりましたがエラーが1つだけのこりました。
>  	ERROR: requirement failed: cannot link against libavcodec
>   	libavcodec can be found in the following packages:
>    	 FFMpeg  http://www.ffmpeg.org/
> 
> 色々調べてオプションを付けたりしましたがダメでした。
> ./configure --with-libavcodec-includes=/usr/lib --with-libavcodec-libs=/usr/lib --with-libavcodec-prefix=/usr/lib
> 
> libavcodecはちゃんとありますが、エラーメッセージをみるとなにかリンクをはる必要があるがよくわかりません。
> libavcodec/usr/lib/libavcodec-0.4.8.so
> /usr/lib/libavcodec.so
> /usr/lib/libavcodec.a
> libavcodec.soはlibavcodec-0.4.8.soへのリンクです。
> 
> なにかアドバイスなどあれば宣しくお願いします。
> 
>