From owner-freebsd-questions Wed Jun 14 10:35:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id 3D1AE37BCAB for ; Wed, 14 Jun 2000 10:35:36 -0700 (PDT) (envelope-from mikko@dynas.se) Received: (qmail 18729 invoked from network); 14 Jun 2000 17:35:34 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by karon.sto.dynas.se with SMTP; 14 Jun 2000 17:35:34 -0000 Received: (qmail 3584 invoked from network); 14 Jun 2000 17:35:52 -0000 Received: from m2.dynas.se (172.16.1.168) by spirit.dynas.se with SMTP; 14 Jun 2000 17:35:52 -0000 Received: (from mikko@localhost) by m2.dynas.se (8.9.3/8.9.3) id TAA92065; Wed, 14 Jun 2000 19:39:01 +0200 (CEST) (envelope-from mikko) Date: Wed, 14 Jun 2000 19:39:01 +0200 (CEST) From: Mikko Tyolajarvi Message-Id: <200006141739.TAA92065@m2.dynas.se> To: pirat@access.inet.co.th Cc: freebsd-questions@freebsd.org Subject: Re: build wine fail Newsgroups: local.freebsd-questions References: <20000614014824.G232@parish> X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In local.freebsd-questions you write: >On Wed, 14 Jun 2000, Mark Ovens wrote: >> On Wed, Jun 14, 2000 at 07:23:13AM +0700, pirat wrote: >> > On Tue, 13 Jun 2000, Mark Ovens wrote: >> > >> > > On Tue, Jun 13, 2000 at 07:22:37AM +0700, pirat wrote: >> > > > hi sirs, >> > > > >> > > > below is my machine >> > > > >> > > > FreeBSD parwati.oaep.go.th 4.0-RELEASE FreeBSD 4.0-RELEASE #2: Sat May 27 09:08:21 ICT 2000 root@parwati.oaep.go.th:/usr/src/sys/compile/ParWaTi i386 >> > > > >> > > > yesterday, i built wine from port ,(20000526 wine), and got a result >> > > > >> > > > cc -c -I. -I. -I../../include -I../../include -O -pipe -g -Wall -D__WINE__ -D_REENTRANT -D_THREAD_SAFE -I/usr/X11R6/include -o ppy.tab.o ./ppy.tab.c >> > > > ./ppy.y: In function `ppparse': >> > > > ./ppy.y:356: syntax error before `}' >> > > >> > > I think you need to add a ``;'' thus: >> > > >> > > | '!' pp_expr { $$.type = cv_sint; $$.val.si = !boolean(&$2); } >> > > ^^^ >> > > >> > > Curiously, wine built OK for me and my ppy.y didn't have the ``;'' (someone >> > > else posted this solution the other day). >> > > >> > >> > yes, i realised that and i tried a number of times editing the file ppy.y. >> > but i still got the same error. >> > >> >> Hmm, you aren't doing ``make clean'' are you? That removes all the >> source tree, so when you do ``make'' it has to extract it from the >> tarball again (complete with error). >> >no sirs, i dive deep into tools/wrc and edit ppy.y directly after getting >error message from the first 'make'. that is You need to edit "ppy.tab.c". The makefile does not seem to contain a rule to recreate that file from "ppy.y". Search for "356". I did this, but then something else got botched further on in the build, and I haven't had time too look at it, and have no pressing need for wine anyway. /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message