Date: Fri, 03 Mar 2006 11:03:29 +0000 From: Florent Thoumie <flz@xbsd.org> To: Johan Grahn <johan@cgeek.net> Cc: ports@freebsd.org, riggs@rrr.de Subject: Re: mplayer port, compile error Message-ID: <1141383809.77325.5.camel@mayday.esat.net> In-Reply-To: <20060303103925.GA90885@fluffy.dormnet.his.se> References: <20060302145508.GA84129@fluffy.dormnet.his.se> <1141379148.773.7.camel@mayday.esat.net> <20060303103925.GA90885@fluffy.dormnet.his.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2006-03-03 at 11:39 +0100, Johan Grahn wrote: > On 09:45 Fri 03 Mar , Florent Thoumie wrote: > > On Thu, 2006-03-02 at 15:55 +0100, johan@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. > > I have reinstalled fontconfig without luck :/ Ok, my bad. I think I know what's wrong. Try this patch : http://people.freebsd.org/~flz/local/patch-mplayer-Makefile PS: maintainer CC'ed. -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1141383809.77325.5.camel>