[Rd] Rgraphviz compilation error
Saurin Jani
saurin_jani at yahoo.com
Wed Sep 22 22:11:35 CEST 2004
Hi,
I am installing Rgraphviz at Linux Fedora Core 2 with
32 bit AMD athlon with 512 RAM.
I have installed graphviz version:
graphviz-1.16-1.src.rpm installed already on system.
I am doing:
$ 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
Rgraphviz.o
In file included from
/usr/local/include/graphviz/render.h:45,
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'
--------------------
please let me know...if someone has same problem,
Thanks,
Saurin
More information about the R-devel
mailing list