[BioC] Rgraphviz Error : Rgraphviz.c: In function `Rgraphviz_agopen':

Saurin Jani saurin_jani at yahoo.com
Wed Sep 22 22:17:14 CEST 2004


Hi,

I have error in Rgraphviz installation. I have latest 
graphviz-1.16.tar.gz installed.

System: Linux Fedora core 2 - AMD 32 Bit - 512 RAM

$ R CMD INSTALL  -l /usr/local/lib/R/library 
  Rgraphviz_1.4.0.tar.gz

I am getting...
--------------------------------------------
* 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 already solved this
error.

thanks,
Saurin



More information about the Bioconductor mailing list