Fwd: mplayer port, compliation error

Adam McCann adam.mccann at pro-g.co.uk
Sun Jul 30 12:49:29 UTC 2006


Further to my post:

I am actually attempting to compile mplayer-pre8, not pre7 which is what 
post I referred to was in relation to.

All the ports are up to date.  Any ideas?

Thanks,
Adam

-------- Original Message --------
Subject: 	mplayer port, compliation error
Date: 	Sun, 30 Jul 2006 03:45:39 +0100
From: 	Adam McCann <adam.mccann at pro-g.co.uk>
Reply-To: 	adam.mccann at pro-g.co.uk
Organisation: 	Pro-G Media Limited
To: 	freebsd-ports at freebsd.org



Hi,

When compiling mplayer, I get the following error(s):

font_load_ft.c:30:35: fontconfig/fontconfig.h: No such file or directory
font_load_ft.c:93:1: warning: "ALIGN" redefined
In file included from /usr/include/sys/param.h:109,
                from ../bswap.h:5,
                from font_load_ft.c:33:
/usr/include/machine/param.h:79:1: warning: this is the location of the 
previous definition
font_load_ft.c: In function `decode_char':
font_load_ft.c:745: warning: passing arg 2 of `libiconv' from 
incompatible pointer type
font_load_ft.c: In function `load_font_ft':
font_load_ft.c:1133: error: `FcPattern' undeclared (first use in this 
function)
font_load_ft.c:1133: error: (Each undeclared identifier is reported only 
once
font_load_ft.c:1133: error: for each function it appears in.)
font_load_ft.c:1133: error: `fc_pattern' undeclared (first use in this 
function)
font_load_ft.c:1134: error: `FcChar8' undeclared (first use in this 
function)
font_load_ft.c:1134: error: `s' undeclared (first use in this function)
font_load_ft.c:1135: error: syntax error before "scalable"
font_load_ft.c:1153: error: `FcMatchPattern' undeclared (first use in 
this function)
font_load_ft.c:1156: error: `FC_SCALABLE' undeclared (first use in this 
function)
font_load_ft.c:1156: error: `scalable' undeclared (first use in this 
function)
font_load_ft.c:1157: error: `FcTrue' undeclared (first use in this function)
font_load_ft.c:1164: error: `FC_FILE' undeclared (first use in this 
function)
gmake[1]: *** [font_load_ft.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/mplayer/work/MPlayer-1.0pre8/libvo'
gmake: *** [libvo/libvo.a] Error 2
*** Error code 2

System: FreeBSD 6.1-RELEASE i386

This appears to be the exact same error as this guy: 
http://lists.freebsd.org/pipermail/freebsd-ports/2006-March/030048.html

However, I have tried the suggested patch (and of course fontconfig is 
installed) with no luck.  I am installing this without x11 / GUI.  I'm 
guessing I have to copy the fontconfig directory somewhere or something?

Any ideas?

Thanks in advance,
Adam McCann





-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/403 - Release Date: 28/07/2006


More information about the freebsd-ports mailing list