I am running R/3.6.0 on a multi-user Centos 7.6 system and have not been able to install Rgraphviz in my account.
I have downloaded the tarball, Rgraphviz2.28.0.tar.gz, and am using the command: R CMD INSTALL Rgraphviz2.28.0.tar.gz
The error message that I am getting is this:
In file included from LL_funcs.c:1:0: common.h:22:8: error: unknown type name ‘Agdict_t’ extern Agdict_t *agdictof(void *);
I also have tried expanding the tarball and running configure manually. I get the following message:
In file included from LL_funcs.c:1:0: common.h:22:8: error: unknown type name ‘Agdict_t’ extern Agdict_t *agdictof(void *); ^~~~~~~~ LL_funcs.c: In function ‘getClusterPtr’: LL_funcs.c:24:20: warning: implicit declaration of function ‘agfindsubg’; did you mean agidsubg’? [-Wimplicit-function-declaration] Agraph_t *sg = agfindsubg(g, subGName); ^~~~~~~~~~ agidsubg LL_funcs.c:24:20: warning: initialization makes pointer from integer without a cast [-Wint-conversion] LL_funcs.c: In function ‘getDefAttrs’: LL_funcs.c:31:5: error: unknown type name ‘Agdict_t’; did you mean ‘Agdisc_t’? Agdict_t *dict = agdictof(obj);
Any suggestions on how to fix this are greatly appreciated.