From owner-freebsd-ports Fri Jun 30 12:27: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by hub.freebsd.org (Postfix) with ESMTP id B6E5137BC68 for ; Fri, 30 Jun 2000 12:27:04 -0700 (PDT) (envelope-from gjohnson@nola.srrc.usda.gov) Received: (from glenn@localhost) by symbion.srrc.usda.gov (8.9.3/8.9.3) id OAA54670 for ports@FreeBSD.ORG; Fri, 30 Jun 2000 14:27:03 -0500 (CDT) (envelope-from glenn) Date: Fri, 30 Jun 2000 14:27:02 -0500 From: Glenn Johnson To: ports@FreeBSD.ORG Subject: Re: AbiWord does not build Message-ID: <20000630142702.A53061@node1.cluster.srrc.usda.gov> Mail-Followup-To: Glenn Johnson , ports@FreeBSD.ORG References: <20000628171913.A1038@node1.cluster.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000628171913.A1038@node1.cluster.srrc.usda.gov>; from gjohnson@nola.srrc.usda.gov on Wed, Jun 28, 2000 at 05:19:13PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jun 28, 2000 at 05:19:13PM -0500, Glenn Johnson wrote: > I just did a cvsup and made sure all dependent ports were up to date > but AbiWord does not build. I get a whole bunch of warnings about ANSI > C violations from header files and then it finally goes down with > > iconv/iconv.c:82: syntax error before `proc' > iconv/iconv.c:83: warning: implicit declaration of function `proc' > iconv/iconv.c:80: warning: unused variable `out' > iconv/iconv.c:79: warning: unused variable `j' > iconv/iconv.c:79: warning: unused variable `i' > gmake[4]: *** > [/ccd/ports/editors/AbiWord/work/abi-0.7.10/src/../src/FreeBSD_4.0-STABLE_i386_OBJ/obj/wv/iconv/iconv.o] > Error 1 I found the problem with my AbiWord build. I had mswordview installed on the machine. Mswordview installs ${LOCALBASE}/lib/wv-lib.a and ${LOCALBASE}/include/wv.h. AbiWord includes its own, apparently incompatible, version of wv. However, the build was picking up the mswordview version of wv and causing it to fail. I guess this would not show up in Asami's automated builds as I would guess editors/AbiWord is built before textproc/mswordview, which builds fine after AbiWord is installed. AbiWord does not install the wv stuff, it is just used for the build apparently. I guess the fix is to make sure that AbiWord looks in its local src tree before /usr/local, in case mswordview is installed. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@nola.srrc.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message