[MPlayer-users] Building MPlayer Fails

Guillaume POIRIER poirierg at gmail.com
Wed Jun 14 07:30:20 CEST 2006


On 6/14/06, Ivan Kowalenko <ivan.kowalenko at gmail.com> wrote:
> Hello. I'm attempting to build MPlayer SVN on my Mac OS X 10.4.6
> machine (768 MB RAM, 1 GHz PPC G4).
> This is my configuration line:
> ./configure --with-extraincdir=/sw/include/:/opt/local/include/:/usr/
> include/:/usr/local/include/ --with-extralibdir=/sw/lib/:/opt/local/
> lib/:/usr/lib/:/usr/local/lib/ --enable-crash-debug --cc="distcc
> gcc-3.4" --disable-tv --enable-macosx-finder-support --enable-macosx-
> bundle --enable-menu --enable-joystick --enable-largefiles

mplayer's configure doesn't work the same way as most apps. When you
use --enable-xx what really happens is that you force the compilation
of xx feature.

So the rule is to rule to run the configure script with no option at
all except maybe options adding some search path... and look at the
list of modules that were detected by MPlayer. All modules that were
detected should compile, the others should not.

> Building with distcc yields an error in mplayer.o. This is my error
> when I attempt to build without distcc (as it gives me a more verbose
> response):
> $ make
> ./version.sh `gcc-3.4 -dumpversion`
> gcc-3.4 -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -
> mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -
> faltivec -D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-loops=16 -
> D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/opt/local/include/ -I/usr/
> include/ -I/usr/local/include/ -I. -I/sw/include/   -I/sw/include/ -I/
> opt/local/include/ -I/usr/include/ -I/usr/local/include/  -I/opt/
> local/include/freetype2 -I/opt/local/include   -I/usr/X11R6/include
> -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
> In file included from mplayer.c:165:
> get_path.c:12:43: CoreFoundation/CoreFoundation.h: No such file or
> directory

The error seems pretty obvious to me: CoreFoundation/CoreFoundation.h
can't be found.

No idea what you need to install to get it though...

"Success consists of going from failure to failure without loss of enthusiasm."
 -- Winston Churchill

More information about the MPlayer-users mailing list