Handbrakeコンパイルの問題:予期しないタグ「CSS」の近くで構文エラーが発生しました。

Handbrakeコンパイルの問題:予期しないタグ「CSS」の近くで構文エラーが発生しました。

Raspberry Pi、Raspbian JessieでHandbrake 0.10.5をコンパイルしようとしています。このガイド、そしていくつかの問題に直面した。最初は

./stdio.h:477:1: error: ‘gets’ undeclared here (not in a function)
_GL_WARN_ON_USE (gets, “gets is a security hole – use fgets instead”);

警告を削除するために上書きしてgetsこの問題を解決しましたbuild/contrib/m4/m4-1.4.16/lib/stdio.in.h

...
#undef gets
// _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#define gets(a) fgets( a, sizeof(*(a)), stdin)
...

ところで、このプロセスで次のエラーが発生しました。

...
./configure: line 12586: syntax error near unexpected token `CSS,'
./configure: line 12586: `  PKG_CHECK_MODULES(CSS, $CSS_REQUIRES)'
../contrib/libdvdread/module.rules:2: recipe for target > 'contrib/libdvdread/.stamp.configure' failed
make: *** [contrib/libdvdread/.stamp.configure] Error 2

このエラーを克服する方法についてのアイデアはありますか?

ベストアンサー1

Handbrake 0.10.5でも同じ問題がありましたが、githubの現在のバージョンはうまくいきます。

git clone https://github.com/HandBrake/HandBrake.git
cd HandBrake
./configure --enable-x265 --enable-fdk-aac --enable-libav-aac
cd build
make
sudo make install

おすすめ記事