mplayer port, compliation error

Adam McCann adam.mccann at pro-g.co.uk
Mon Jul 31 15:06:33 UTC 2006


My fontconfig installation is not corrupt.  The port is broken - I had 
to make a quick dirty fix to include the correct directory to CFLAGS to 
complete the build.  The maintainer has been contacted.

Adam

Simon Barner wrote:
> Adam McCann wrote:
>   
>> Hi,
>>
>> When compiling mplayer, I get the following error(s):
>>
>> font_load_ft.c:30:35: fontconfig/fontconfig.h: No such file or directory
>>     
>
> Your fontconfig installation seems to be corrupt / missing. Try (re)installing 
> ports/x11-fonts/fontconfig
>
> Simon
>   
>> 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
>>
>>
>>
>>
>>
>> -- 
>> 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
>>
>>
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>     
>
>   
-------------- 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