From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 11:55:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55C1A16A4CE for ; Wed, 5 Nov 2003 11:55:16 -0800 (PST) Received: from catseye.mine.nu (d154-5-164-0.bchsia.telus.net [154.5.164.0]) by mx1.FreeBSD.org (Postfix) with SMTP id 4436B43F93 for ; Wed, 5 Nov 2003 11:55:00 -0800 (PST) (envelope-from catseye@catseye.mine.nu) Received: (qmail 14315 invoked by uid 1001); 5 Nov 2003 19:57:38 -0000 Date: Wed, 5 Nov 2003 11:57:38 -0800 From: Chris Pressey To: Martin McCormick Message-Id: <20031105115738.61665e79.cpressey@catseye.mine.nu> In-Reply-To: <200311051948.hA5JmVLH060067@dc.cis.okstate.edu> References: <200311051948.hA5JmVLH060067@dc.cis.okstate.edu> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Best Way to Fix a links Browser Compilation Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 19:55:16 -0000 On Wed, 05 Nov 2003 13:48:31 -0600 Martin McCormick wrote: > I am attempting to install a newer version of the "links" text > browser. The Makefile tells you to > define WITHOUT_X11 if you are not using X so I modified the Makefile > to define that parameter as follows: > CONFIGURE_ARGS+= --enable-javascript --with-ssl --without-svgalib --WITHOUT_X11 > > Actually, that line may wrap when you read this message, but > all those defines are on one line and the WITHOUT_X11 is simply tacked > on to the end. > > Anyway, if I do a make build, the make abends with: > > mv -f .libs/fcdir.lo fcdir.lo > /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/c > rm -f .libs/fcfreetype.lo > cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/freetype2 -I/usr/local/inco > fcfreetype.c: In function `FcFreeTypeQuery': > fcfreetype.c:279: syntax error before `psfontinfo' > fcfreetype.c:738: `psfontinfo' undeclared (first use in this function) > fcfreetype.c:738: (Each undeclared identifier is reported only once > fcfreetype.c:738: for each function it appears in.) > gmake[2]: *** [fcfreetype.lo] Error 1 > gmake[2]: Leaving directory `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.' > gmake: *** [all-recursive-am] Error 2 > *** Error code 2 > > Stop in /usr/ports/x11-fonts/fontconfig. > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4-libraries. > *** Error code 1 > > Stop in /usr/ports/www/links. > > The problem seems to be buried in all those X libraries links > uses. Either that or I defined that WITHOUT_X11 variable in the wrong > way. Possibly. In my experience, ports generally accept knobs like this: make WITHOUT_X11=yes -Chris