mplayer port, compile error

Johan Grahn johan at cgeek.net
Fri Mar 3 02:42:52 PST 2006


On 09:45 Fri 03 Mar     , Florent Thoumie wrote:
> On Thu, 2006-03-02 at 15:55 +0100, johan at cgeek.net wrote:
> > When i try to compile mplayer, i get this:
> > 
> > gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/MPlayer-1.0pre7try2/libvo'
> > cc -c -I../libvo -I../../libvo  -fno-PIC -O2 -fno-strict-aliasing -pipe  -fno-force-addr  
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/freetype2 
> > -I/usr/local/include  -I. -I.. -I../osdep -I/usr/local/include/freetype2 -I/usr/local/include   
> > -I/usr/local/include/freetype2 -I/usr/local/include    -DMPG12PLAY  -o font_load_ft.o 
> > font_load_ft.c
> > font_load_ft.c:28:35: fontconfig/fontconfig.h: No such file or directory
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> > font_load_ft.c:91:1: warning: "ALIGN" redefined
> > In file included from /usr/include/sys/param.h:109,
> >                  from ../bswap.h:5,
> >                  from font_load_ft.c:31:
> > /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:743: warning: passing arg 2 of `libiconv' from incompatible pointer type
> > font_load_ft.c: In function `load_font_ft':
> > font_load_ft.c:1126: error: `FcPattern' undeclared (first use in this function)
> > font_load_ft.c:1126: error: (Each undeclared identifier is reported only once
> > font_load_ft.c:1126: error: for each function it appears in.)
> > font_load_ft.c:1126: error: `fc_pattern' undeclared (first use in this function)
> > font_load_ft.c:1127: error: `FcChar8' undeclared (first use in this function)
> > font_load_ft.c:1127: error: `s' undeclared (first use in this function)
> > font_load_ft.c:1128: error: syntax error before "scalable"
> > font_load_ft.c:1146: error: `FcMatchPattern' undeclared (first use in this function)
> > font_load_ft.c:1149: error: `FC_SCALABLE' undeclared (first use in this function)
> > font_load_ft.c:1149: error: `scalable' undeclared (first use in this function)
> > font_load_ft.c:1150: error: `FcTrue' undeclared (first use in this function)
> > font_load_ft.c:1157: 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.0pre7try2/libvo'
> > gmake: *** [libvo/libvo.a] Error 2
> > *** Error code 2
> > 
> > i compiled it with "make install -DWITHOUT_X11 -DWITHOUT_GUI -DWITHOUT_ARTS"
> > 
> > What can be wrong?
> 
> I guess you don't have x11-fonts/fontconfig installed.
> 
> -- 
> Florent Thoumie
> flz at FreeBSD.org
> FreeBSD Committer
> 
> 
> 

I have reinstalled fontconfig without luck :/

I'm using FreeBSD 6 RELEASE
-- 
// Johan Grahn <johan at cgeek.net>
// http://www.cgeek.net


More information about the freebsd-ports mailing list