Tag Archives: gstreamer

Permalink to single post

liboggがなんたらでgst-plugins-theoraがコンパイルできない@Gentoo Linux

Gentoo Linuxを更新していたらぶつかった壁

configure: *** Plug-ins without external dependencies that will NOT be built:

configure: *** Plug-ins with dependencies that will be built:
theora

configure: *** Plug-ins with dependencies that will NOT be built:
alsa
cdparanoia
gio
gnomevfs
libvisual
ogg
pango
video4linux
vorbis
ximagesink
xvimagesink

* Building external plugin …
make -j10
CC    theoradec.o
CC    theoraenc.o
distcc[21271] ERROR: nonblocking connect to 172.29.4.50:3632 failed: Connection refused
distcc[21271] Warning: failed to distribute theoradec.c to 172.29.4.50, running locally instead
CC    theoraparse.o
distcc[21277] ERROR: nonblocking connect to 172.29.4.50:3632 failed: Connection refused
distcc[21277] Warning: failed to distribute theoraenc.c to 172.29.4.50, running locally instead
CC    theora.o
distcc[21297] ERROR: nonblocking connect to 172.29.4.60:3632 failed: No route to host
distcc[21297] Warning: failed to distribute theora.c to 172.29.4.60, running locally instead
distcc[21281] ERROR: nonblocking connect to 172.29.4.60:3632 failed: No route to host
distcc[21281] Warning: failed to distribute theoraparse.c to 172.29.4.60, running locally instead
LINK  libgsttheora.la
/bin/grep: /usr/lib/libogg.la: No such file or directory
/bin/sed: can’t read /usr/lib/libogg.la: No such file or directory
libtool: link: `/usr/lib/libogg.la’ is not a valid libtool archive
make: *** [libgsttheora.la] エラー 1
*
* ERROR: media-plugins/gst-plugins-theora-0.10.23 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2282:  Called gst-plugins-base_src_compile
*             environment, line 1658:  Called die
* The specific snippet of code:
*       emake || die “compile failure”
*  The die message:
*   compile failure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at ‘/var/tmp/portage/media-plugins/gst-plugins-theora-0.10.23/temp/build.log’.
* The ebuild environment file is located at ‘/var/tmp/portage/media-plugins/gst-plugins-theora-0.10.23/temp/environment’.

こんな感じのエラーが出る。ググってみるとlafilefixerがどうたらってのが出てきたので、とりあえずインストール

emerge lafilefixer

そして、エラーの根源っぽいliboggを再インストール。

emerge libogg

そしてよくみたら、インストールログの最後に

>>> Original instance of package unmerged safely.
* This version of libogg has stopped installing .la files. This may
* cause compilation failures in other packages. To fix this problem,
* install dev-util/lafilefixer and run:
* lafilefixer –justfixit
>>> Regenerating /etc/ld.so.cache…

ってかいてあった。こんなとこにメッセージ入れられてもみないなぁ。。。

これはこれからは見ろよっていう事なのかな。

ともかく、

lafilefixer –justfixit

したあと、コンパイルしたら無事成功。たぶんlibogg再コンパイルの必要なかった。