[CWB] CWB Digest, Vol 100, Issue 1
Xiaoyan Tang
2011txy at gmail.com
Sat May 2 12:32:07 CEST 2015
Thanks! Everything goes well now.
Best,
Xiaoyan
-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On
Behalf Of cwb-request at sslmit.unibo.it
Sent: Saturday, May 02, 2015 6:00 PM
To: cwb at sslmit.unibo.it
Subject: CWB Digest, Vol 100, Issue 1
Send CWB mailing list submissions to
cwb at sslmit.unibo.it
To subscribe or unsubscribe via the World Wide Web, visit
http://devel.sslmit.unibo.it/mailman/listinfo/cwb
or, via email, send a message with subject or body 'help' to
cwb-request at sslmit.unibo.it
You can reach the person managing the list at
cwb-owner at sslmit.unibo.it
When replying, please edit your Subject line so it is more specific than
"Re: Contents of CWB digest..."
Today's Topics:
1. Failure to install developer version (Xiaoyan Tang)
2. Re: Failure to install developer version (Stefan Evert)
----------------------------------------------------------------------
Message: 1
Date: Sat, 2 May 2015 13:23:28 +0800
From: Xiaoyan Tang <2011txy at gmail.com>
To: cwb at sslmit.unibo.it
Subject: [CWB] Failure to install developer version
Message-ID:
<CAGeMSWtcpG3PmpsfNzy5t3o2JqSCjTZ=QGVF_8U1exmhSk6EFw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Dear All,
I successfully installed CWB 3.0 but got the following error message when I
tried to install developer version.
parser.y: In function ?yyparse?:
> parser.y:527:124: error: expected ?;? before ?}? token
> TranslateExpr: FROM_SYM CID TO_SYM ID { if (query_lock)
> {warn_query_lock_violation(); YYABORT;} $$ = do_translate($2, $4) }
>
> ^
> parser.y:815:23: warning: variable ?ok? set but not used
> [-Wunused-but-set-variable]
> int ok;
> ^
> parser.tab.c:4144:18: warning: passing argument 1 of ?yyerror?
> discards ?const? qualifier from pointer target type
> yyerror (yymsgp);
> ^
> parser.y:70:6: note: expected ?char *? but argument is of type ?const
> char *?
> void yyerror (char *s)
> ^
> /home/chris/cwb/cwb-dev/cqp/../definitions.mk:278: recipe for target
> 'parser.tab.o' failed
> make[1]: *** [parser.tab.o] Error 1
> make[1]: Leaving directory '/home/chris/cwb/cwb-dev/cqp'
> Makefile:82: recipe for target 'all' failed
> make: *** [all] Error 2
I am not familiar with Ubuntu and failed to find a solution by googling.
Could you please help me to solve the problem?
Thanks in advance.
Best regards,
Xiaoyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20150502/c1b97358/at
tachment-0001.html>
------------------------------
Message: 2
Date: Sat, 2 May 2015 07:53:59 +0200
From: Stefan Evert <stefanML at collocations.de>
To: CWBdev Mailing List <cwb at sslmit.unibo.it>
Subject: Re: [CWB] Failure to install developer version
Message-ID: <6ABFCD52-7A06-4A27-97D8-D900052BCB51 at collocations.de>
Content-Type: text/plain; charset=utf-8
> On 2 May 2015, at 07:23, Xiaoyan Tang <2011txy at gmail.com> wrote:
> parser.y: In function ?yyparse?:
> parser.y:527:124: error: expected ?;? before ?}? token
> TranslateExpr: FROM_SYM CID TO_SYM ID { if (query_lock)
> {warn_query_lock_violation(); YYABORT;} $$ = do_translate($2, $4) }
Oops, there's a missing semicolon after do_translate(?).
Thanks for the report, has been fixed in the SVN version. Either check out
again, or change the line manually to
TranslateExpr: FROM_SYM CID TO_SYM ID { if (query_lock)
{warn_query_lock_violation(); YYABORT;} $$ = do_translate($2, $4); }
Strangely, clang on Mac OS X had no problems with this. It doesn't seem to
be that picky about semicolons terminating statements.
Best,
Stefan
------------------------------
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb
End of CWB Digest, Vol 100, Issue 1
***********************************
More information about the CWB
mailing list