Entering edit mode
Nicholas Lewin-Koh
▴
430
@nicholas-lewin-koh-63
Last seen 10.2 years ago
Hi,
I get the following error installing Rgraphviz:
R CMD INSTALL Rgraphviz
* Installing *source* package 'Rgraphviz' ...
** libs
gcc -I/usr/local/lib/R/include `dotneato-config --cflags`
-I/usr/local/include
-D__NO_MATH_INLINES -mieee-fp -Wall -fPIC -g -O2 -c Rgraphviz.c -o
Rgraphviz.o
In file included from Rgraphviz.c:1:
common.h:21:22: gvconfig.h: No such file or directory
In file included from /usr/local/include/graphviz/render.h:49,
from common.h:22,
from Rgraphviz.c:1:
/usr/local/include/graphviz/macros.h:28:1: warning: "NEW" redefined
In file included from common.h:13,
from Rgraphviz.c:1:
/usr/local/lib/R/include/Rdefines.h:129:1: warning: this is the
location
of the
previous definition
In file included from /usr/local/include/graphviz/types.h:11,
from /usr/local/include/graphviz/render.h:51,
from common.h:22,
from Rgraphviz.c:1:
/usr/local/include/graphviz/pathplan.h:11: warning: ignoring #pragma
prototyped
In file included from /usr/local/include/graphviz/pathplan.h:16,
from /usr/local/include/graphviz/types.h:11,
from /usr/local/include/graphviz/render.h:51,
from common.h:22,
from Rgraphviz.c:1:
/usr/local/include/graphviz/pathgeom.h:11: warning: ignoring #pragma
prototyped
In file included from /usr/local/include/graphviz/render.h:52,
from common.h:22,
from Rgraphviz.c:1:
/usr/local/include/graphviz/graph.h:11: warning: ignoring #pragma
prototyped
In file included from /usr/local/include/graphviz/render.h:55,
from common.h:22,
from Rgraphviz.c:1:
/usr/local/include/graphviz/gvrender.h:12: warning: ignoring #pragma
prototyped
In file included from /usr/local/include/graphviz/gvrender.h:19,
from /usr/local/include/graphviz/render.h:55,
from common.h:22,
from Rgraphviz.c:1:
/usr/local/include/graphviz/gvrenderint.h:12: warning: ignoring
#pragma
prototyped
In file included from common.h:23,
from Rgraphviz.c:1:
/usr/local/include/graphviz/graph.h:11: warning: ignoring #pragma
prototyped
In file included from common.h:26,
from Rgraphviz.c:1:
/usr/local/include/graphviz/adjust.h:11: warning: ignoring #pragma
prototyped
In file included from common.h:28,
from Rgraphviz.c:1:
/usr/local/include/graphviz/gvrender.h:12: warning: ignoring #pragma
prototyped
Rgraphviz.c: In function `Rgraphviz_init':
Rgraphviz.c:80: `Info' undeclared (first use in this function)
Rgraphviz.c:80: (Each undeclared identifier is reported only once
Rgraphviz.c:80: for each function it appears in.)
Rgraphviz.c: In function `Rgraphviz_graphvizVersion':
Rgraphviz.c:567: `Info' undeclared (first use in this function)
make: *** [Rgraphviz.o] Error 1
ERROR: compilation failed for package 'Rgraphviz'
** Removing '/usr/local/lib/R/library/Rgraphviz'
I looked at the source code and I couldn't find Info declared anywhere
including the graphviz or R headers, I
thought it might be a global variable. Is this an oversight in the
development version or something
I forgot to configure on my system. I am using a fresh install of
R-1.9.0
on RH linux 9.0 and I have graphviz-1.12
and Rgraphviz_1.3.22
Thanks
Nicholas