From owner-freebsd-ports@FreeBSD.ORG Fri Mar 3 09:46:01 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 6F5E516A420 for ; Fri, 3 Mar 2006 09:46:01 +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 AE4EF43D46 for ; Fri, 3 Mar 2006 09:46:00 +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 9DD8711591; Fri, 3 Mar 2006 10:45:58 +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 97883-09; Fri, 3 Mar 2006 10:45:50 +0100 (CET) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id 25A6F11443; Fri, 3 Mar 2006 10:45:49 +0100 (CET) From: Florent Thoumie To: johan@cgeek.net In-Reply-To: <20060302145508.GA84129@fluffy.dormnet.his.se> References: <20060302145508.GA84129@fluffy.dormnet.his.se> Content-Type: text/plain Date: Fri, 03 Mar 2006 09:45:48 +0000 Message-Id: <1141379148.773.7.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 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 09:46:01 -0000 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. -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer