Rgraphviz installation problems
1
0
Entering edit mode
Jacob Hurst ▴ 20
@jacob-hurst-777
Last seen 10.2 years ago
this is the error message I get when installing Rgraphviz. my $LD_LIBRARY_PATH is (I think set correctly) /usr/local/lib/graphviz my graphviz version is 1.12 (although i previously installed 1.13 by mistake) my R version is 1.9.0 I would really appreciate some help! cheers jake :/usr/local/lib/R# R INSTALL Rgraphviz * Installing *source* package 'Rgraphviz' ... ** libs gcc -I/usr/lib/R/include `dotneato-config --cflags` -D__NO_MATH_INLINES -mieee-fp -Wall -fPIC -g -O2 -c RgraphvizInit.c -o RgraphvizInit.o In file included from /usr/local/include/graphviz/render.h:49, from common.h:20, from RgraphvizInit.c:1: /usr/local/include/graphviz/macros.h:28:1: warning: "NEW" redefined In file included from common.h:11, from RgraphvizInit.c:1: /usr/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:20, from RgraphvizInit.c:1: /usr/local/include/graphviz/pathplan.h:11: warning: ignoring #pragma prototyped In file included from /usr/local/include/graphviz/types.h:11, from /usr/local/include/graphviz/render.h:51, from common.h:20, from RgraphvizInit.c:1: /usr/local/include/graphviz/pathplan.h:16:22: pathgeom.h: No such file or directory /usr/local/include/graphviz/pathplan.h:24: error: parse error before '*' token /usr/local/include/graphviz/pathplan.h:28: error: parse error before '*' token /usr/local/include/graphviz/pathplan.h:33: error: parse error before '*' token In file included from /usr/local/include/graphviz/render.h:51, from common.h:20, from RgraphvizInit.c:1: /usr/local/include/graphviz/types.h:476: error: parse error before "Ppolyline_t" /usr/local/include/graphviz/types.h:476: warning: no semicolon at end of struct or union /usr/local/include/graphviz/types.h:488: error: parse error before '}' token /usr/local/include/graphviz/types.h:488: warning: type defaults to `int' in declaration of `Agedgeinfo_t' /usr/local/include/graphviz/types.h:488: warning: data definition has no type or storage class In file included from /usr/local/include/graphviz/render.h:52, from common.h:20, from RgraphvizInit.c:1: /usr/local/include/graphviz/graph.h:11: warning: ignoring #pragma prototyped In file included from /usr/local/include/graphviz/render.h:52, from common.h:20, from RgraphvizInit.c:1: /usr/local/include/graphviz/graph.h:23:17: cdt.h: No such file or directory /usr/local/include/graphviz/graph.h:57: error: parse error before "Dict_t" /usr/local/include/graphviz/graph.h:57: warning: no semicolon at end of struct or union /usr/local/include/graphviz/graph.h:62: error: parse error before '}' token /usr/local/include/graphviz/graph.h:82: error: parse error before "Agedgeinfo_t" /usr/local/include/graphviz/graph.h:82: warning: no semicolon at end of struct or union /usr/local/include/graphviz/graph.h:86: error: parse error before "Dict_t" /usr/local/include/graphviz/graph.h:86: warning: no semicolon at end of struct or union /usr/local/include/graphviz/graph.h:91: error: parse error before '}' token /usr/local/include/graphviz/graph.h:101: error: parse error before "Dict_t" /usr/local/include/graphviz/graph.h:101: warning: no semicolon at end of struct or union /usr/local/include/graphviz/graph.h:103: error: parse error before '}' token In file included from /usr/local/include/graphviz/render.h:53, from common.h:20, from RgraphvizInit.c:1: /usr/local/include/graphviz/globals.h:77: error: parse error before "FIG_CodeGen" /usr/local/include/graphviz/globals.h:77: warning: type defaults to `int' in declaration of `FIG_CodeGen' /usr/local/include/graphviz/globals.h:77: warning: type defaults to `int' in declaration of `GD_CodeGen' /usr/local/include/graphviz/globals.h:77: warning: type defaults to `int' in declaration of `memGD_CodeGen' /usr/local/include/graphviz/globals.h:77: warning: type defaults to `int' in declaration of `HPGL_CodeGen' /usr/local/include/graphviz/globals.h:78: warning: type defaults to `int' in declaration of `ISMAP_CodeGen' /usr/local/include/graphviz/globals.h:78: warning: type defaults to `int' in declaration of `IMAP_CodeGen' /usr/local/include/graphviz/globals.h:78: warning: type defaults to `int' in declaration of `CMAP_CodeGen' /usr/local/include/graphviz/globals.h:78: warning: type defaults to `int' in declaration of `CMAPX_CodeGen' /usr/local/include/graphviz/globals.h:78: warning: type defaults to `int' in declaration of `MIF_CodeGen' /usr/local/include/graphviz/globals.h:79: warning: type defaults to `int' in declaration of `XDot_CodeGen' /usr/local/include/graphviz/globals.h:79: warning: type defaults to `int' in declaration of `MP_CodeGen' /usr/local/include/graphviz/globals.h:79: warning: type defaults to `int' in declaration of `PIC_CodeGen' /usr/local/include/graphviz/globals.h:79: warning: type defaults to `int' in declaration of `PS_CodeGen' /usr/local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `DIA_CodeGen' /usr/local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `SVG_CodeGen' /usr/local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `VRML_CodeGen' /usr/local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `VTX_CodeGen' /usr/local/include/graphviz/globals.h:80: warning: data definition has no type or storage class In file included from /usr/local/include/graphviz/render.h:55, from common.h:20, from RgraphvizInit.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:20, from RgraphvizInit.c:1: /usr/local/include/graphviz/gvrenderint.h:12: warning: ignoring #pragma prototyped In file included from common.h:21, from RgraphvizInit.c:1: /usr/local/include/graphviz/graph.h:11: warning: ignoring #pragma prototyped In file included from common.h:24, from RgraphvizInit.c:1: /usr/local/include/graphviz/adjust.h:11: warning: ignoring #pragma prototyped make: *** [RgraphvizInit.o] Error 1 ERROR: compilation failed for package 'Rgraphviz' ** Removing '/usr/local/lib/R/site-library/Rgraphviz'
Rgraphviz Rgraphviz • 1.0k views
ADD COMMENT
0
Entering edit mode
Jeff Gentry ★ 3.9k
@jeff-gentry-12
Last seen 10.2 years ago
> this is the error message I get when installing Rgraphviz. > my $LD_LIBRARY_PATH is (I think set correctly) /usr/local/lib/graphviz > my graphviz version is 1.12 (although i previously installed 1.13 by mistake) How did you install 1.12? From the tarball, RPM, etc?
ADD COMMENT

Login before adding your answer.

Traffic: 1001 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6