[MPlayer-users] Compilation fails if no bluray libs installed

Mike Castle dalgoda+mplayer at gmail.com
Sun Mar 4 00:13:31 CET 2012


Just updated to head a few moments ago.

Getting this error during compilation:

CC      libavformat/bluray.o
libavformat/bluray.c:23:30: fatal error: libbluray/bluray.h: No such
file or directory
compilation terminated.
make[1]: *** [libavformat/bluray.o] Error 1
make[1]: Leaving directory `/home/nexus/workspace/mplayer/ffmpeg'
make: *** [ffmpeg/libavformat/libavformat.a] Error 2



I have no interest in bluray, so no libraries.

libavformat/Makefile has this line:
OBJS-$(CONFIG_BLURAY_PROTOCOL)           += bluray.o

In the mplayer directory, I see:
$ grep BLURAY config.mak
LIBBLURAY = no
CONFIG_PCM_BLURAY_DECODER=yes
CONFIG_BLURAY_PROTOCOL=yes


I always build with this script:
./configure --prefix=/home/nexus/slash --disable-dvdread-internal
--enable-runtime-cpudetection --disable-bitmap-font --enable-xvmc
--disable-ossaudio --enable-debug
make

I can dig a bit more if useful.

mrc


More information about the MPlayer-users mailing list