From owner-freebsd-questions Sun Jun 18 3:35: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta02-svc.server.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id 15A3737B5A8 for ; Sun, 18 Jun 2000 03:34:55 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.85.61]) by mta02-svc.server.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000618113425.MRFQ10065.mta02-svc.server.ntlworld.com@parish.my.domain>; Sun, 18 Jun 2000 11:34:25 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id LAA07894; Sun, 18 Jun 2000 11:34:12 +0100 (BST) (envelope-from mark) Date: Sun, 18 Jun 2000 11:34:12 +0100 From: Mark Ovens To: =?iso-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= Cc: Jan Grant , pirat@access.inet.co.th, freebsd-questions@freebsd.org Subject: Re: build wine fail Message-ID: <20000618113412.A243@parish> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: ; from mikko@dynas.se on Thu, Jun 15, 2000 at 02:58:15PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jun 15, 2000 at 02:58:15PM -0700, Mikko Työläjärvi wrote: > On Thu, 15 Jun 2000, Jan Grant wrote: > > > Just a thought here: > > > > People seem to be getting different results using the same sources for > > wine. > > > > The problem occurs in a .y file. > > > > What yacc-a-like are folks using? Bison? Byacc? Are their behaviours > > different for the construct: > > { unsemicoloned-C-statement } > > ? > > I had sort-of arrived at a similar conclusion, although I was looking > for changes made to /usr/share/mk/* (As I was under the assumption > that this particular wine version had buildable on a stock FreeBSD, > and that some change to FreeBSD has made it fail.) > > Anyway, "make YACC='bison -y'" seems to do the trick. As would a > similar definition in /etc/make.conf. > > But the real fix is of course to order and install Wine spare part > no. X67-98F87879 (A semicolon). > ROFL I built wine again, capturing the output and: ===> Applying FreeBSD patches for wine-2000.05.26 ===> Configuring for wine-2000.05.26 creating cache ./config.cache [snip] checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes [snip] cd `dirname wrc/__depend__` && make depend bison -y -d -t ./parser.y bison -y -bppy -ppp -d -t ./ppy.y flex -Cf -d -Ppp -8 -olex.ppl.c ./ppl.l ../../tools/makedep -I. -I. -I../../include -I../../include -C. dumpres.c genres.c newstruc.c preproc.c readres.c utils.c wrc.c writeres.c parser.y parser.l -C. ppy.tab.c lex.ppl.c So my system is using bison(1) by default. I am neither specifying ``YACC='bison -y''' with make(1) nor do I have a reference to bison(1) in /etc/make.conf, which begs the question; why is my system using ``bison -y'' by default and other peoples' systems aren't? Could it be that ``configure'' isn't finding bison(1) and therefore using yacc(1) instead? Highly unlikely I would have thought since bison(1) is in /usr/bin. Thoughts? > /Mikko > > Mikko Työläjärvi_______________________________________mikko@rsasecurity.com > RSA Security > -- If I buy a copy of WinDelete, and it doesn't delete Windows, am I entitled to my money back? ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message