From owner-freebsd-ports@FreeBSD.ORG Fri Mar 3 11:03:46 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4B8116A420 for ; Fri, 3 Mar 2006 11:03:46 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7681E43D55 for ; Fri, 3 Mar 2006 11:03:45 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id BA4C61178B; Fri, 3 Mar 2006 12:03:40 +0100 (CET) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 98965-04; Fri, 3 Mar 2006 12:03:31 +0100 (CET) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id B526311695; Fri, 3 Mar 2006 12:03:30 +0100 (CET) From: Florent Thoumie To: Johan Grahn 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> Content-Type: text/plain Date: Fri, 03 Mar 2006 11:03:29 +0000 Message-Id: <1141383809.77325.5.camel@mayday.esat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at xbsd.org Cc: ports@freebsd.org, riggs@rrr.de Subject: Re: mplayer port, compile error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 11:03:46 -0000 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