<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-unicode">Hi,
<br>
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.
<br>
I did configure it to use the linux-64 option, as in
<br>
sudo ./configure RCQP_PLATFORM=linux-64
<br>
<br>
and then compiled it, going
<br>
sudo R CMD INSTALL rcqp
<br>
<br>
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?
<br>
<br>
...
<br>
config.status: creating src/Makevars
<br>
** libs
<br>
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
<br>
In file included from /usr/include/stdlib.h:42:0,
<br>
from cwb/cqp/parser.y:29:
<br>
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:79:15: error:
duplicate member ‘__w_retcode’
<br>
unsigned int __w_retcode:8;
<br>
^
<br>
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:80:15: error:
duplicate member ‘__w_coredump’
<br>
unsigned int __w_coredump:1;
<br>
^
<br>
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:81:15: error:
duplicate member ‘__w_termsig’
<br>
unsigned int __w_termsig:7;
<br>
^
<br>
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:93:15: error:
duplicate member ‘__w_stopsig’
<br>
unsigned int __w_stopsig:8; /* Stopping signal. */
<br>
^
<br>
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:94:15: error:
duplicate member ‘__w_stopval’
<br>
unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
<br>
^
<br>
cwb/cqp/parser.tab.c: In function ‘yyparse’:
<br>
cwb/cqp/parser.tab.c:4228:9: warning: passing argument 1 of
‘yyerror’ discards ‘const’ qualifier from pointer target type
[enabled by default]
<br>
yyerror (yymsgp);
<br>
^
<br>
cwb/cqp/parser.y:70:6: note: expected ‘char *’ but argument is of
type ‘const char *’
<br>
void yyerror (char *s)
<br>
^
<br>
make: *** [cwb/cqp/parser.tab.o] Error 1
<br>
ERROR: compilation failed for package ‘rcqp’
<br>
<br>
I would be very grateful for any help,
<br>
best,
<br>
Ruprecht
<br>
</div>
</body>
</html>