[CWB] rcqp installation / compilation

Ruprecht von Waldenfels ruprecht.waldenfels at gmx.net
Thu Sep 3 01:32:28 CEST 2015


Hi,
I have been trying to install rcqp, the R package, on an Ubuntu 14.04 64 
Bit server, and I ran into problems at the point where CWB is compiled.
I did configure it to use the linux-64 option, as in
  sudo ./configure RCQP_PLATFORM=linux-64

and then compiled it, going
  sudo R CMD INSTALL rcqp

However, I got an error which I could not figure out the reason for (see 
below). Also, I was wondering how one was to proceed if one wanted the 
latest version of CWB with this?

...
config.status: creating src/Makevars
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG     -g -O2 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
"-DREGISTRY_DEFAULT_PATH=\"/usr/local/share/cwb/registry\"" 
-I/home/parallel/rcqp/src/cwb/cl -I/home/parallel/rcqp/src/cwb/cqp -fpic 
  -O3 -pipe  -g  -c cwb/cqp/parser.tab.c -o cwb/cqp/parser.tab.o
In file included from /usr/include/stdlib.h:42:0,
                  from cwb/cqp/parser.y:29:
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:79:15: error: duplicate 
member ‘__w_retcode’
   unsigned int __w_retcode:8;
                ^
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:80:15: error: duplicate 
member ‘__w_coredump’
   unsigned int __w_coredump:1;
                ^
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:81:15: error: duplicate 
member ‘__w_termsig’
   unsigned int __w_termsig:7;
                ^
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:93:15: error: duplicate 
member ‘__w_stopsig’
   unsigned int __w_stopsig:8; /* Stopping signal.  */
                ^
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:94:15: error: duplicate 
member ‘__w_stopval’
   unsigned int __w_stopval:8; /* W_STOPPED if stopped.  */
                ^
cwb/cqp/parser.tab.c: In function ‘yyparse’:
cwb/cqp/parser.tab.c:4228:9: warning: passing argument 1 of ‘yyerror’ 
discards ‘const’ qualifier from pointer target type [enabled by default]
          yyerror (yymsgp);
          ^
cwb/cqp/parser.y:70:6: note: expected ‘char *’ but argument is of type 
‘const char *’
  void yyerror (char *s)
       ^
make: *** [cwb/cqp/parser.tab.o] Error 1
ERROR: compilation failed for package ‘rcqp’

I would be very grateful for any help,
best,
Ruprecht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20150902/6bae1641/attachment.html>


More information about the CWB mailing list