[Rd] Rgraphviz + graphviz 1.12.1 compilation error

Saurin Jani saurin_jani at yahoo.com
Thu Sep 23 22:00:20 CEST 2004


I have Linux Fedora 32 bit with 512 RAM 

I would like to use Rgraphviz package.so, I did:

$ [root at localhost packages]# rpm -i

package graphviz-1.12-1 is already installed

[root at localhost packages]# R CMD INSTALL -l 
/usr/local/lib/R/library Rgraphviz_1.4.0.tar.gz
* 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
In file included from
                 from common.h:21,
                 from Rgraphviz.c:1:
/usr/local/include/graphviz/macros.h:34: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
Rgraphviz.c: In function `Rgraphviz_agopen':
Rgraphviz.c:244: warning: implicit declaration of
function `GD_gvc'
Rgraphviz.c:244: error: invalid lvalue in assignment
make: *** [Rgraphviz.o] Error 1
ERROR: compilation failed for package 'Rgraphviz'
** Removing '/usr/local/lib/R/library/Rgraphviz'

anyone has this before....?


More information about the R-devel mailing list