[BioC] Fwd: Rgraphviz installation problem - redefinition - conflicting types

Nicolas Simonis nicolas_simonis at DFCI.HARVARD.EDU
Thu Mar 16 23:20:12 CET 2006


Hello,

I'm in trouble with Rgraphviz installation.

I've installed R 2.2.0 on SUSE linux 10.0
R graph package is installed, and LD_LIBRARY_PATH is set to my graphviz lib
path
I first tried with Graphviz version 2.8 and get a huge error message when
trying to install Rgraphviz 1.8.0.
Then I tried with Graphviz 1.12, and I get a different (smaller) error

message :
>R CMD INSTALL Rgraphviz_1.8.0.tar.gz

* Installing *source* package 'Rgraphviz' ...
checking for graphviz... checking for
dotneato-config... /usr/local/bin/dotneato-config
/usr/local/bin/dotneato-config
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gcc -I/usr/local/lib/R/include -I/usr/local/include/graphviz -DGRAPHVIZ_1_12
-I/usr/local/include   -fPIC  -g -O2 -c Rgraphviz.c -o Rgraphviz.o
In file included from /usr/local/include/graphviz/render.h:49,
                 from common.h:32,
                 from Rgraphviz.c:1:
/usr/local/include/graphviz/macros.h:28:1: warning: "NEW" redefined
In file included from common.h:15,
                 from Rgraphviz.c:1:
/usr/local/lib/R/include/Rdefines.h:134:1: warning: this is the location of
the previous definition
In file included from common.h:37,
                 from Rgraphviz.c:1:
/usr/local/include/graphviz/renderprocs.h:11: error: redefinition of
`nodesizefn_t'
/usr/local/include/graphviz/renderprocs.h:11: error: `nodesizefn_t'
 previously declared here
/usr/local/include/graphviz/renderprocs.h:16: error: conflicting types for
`splineInfo'
/usr/local/include/graphviz/renderprocs.h:16: error: previous declaration of
`splineInfo'
/usr/local/include/graphviz/renderprocs.h:30: error: conflicting types for
`clip_and_install'
/usr/local/include/graphviz/renderprocs.h:30: error: previous declaration of
`clip_and_install'
make: *** [Rgraphviz.o] Error 1
ERROR: compilation failed for package 'Rgraphviz'
** Removing '/usr/local/lib/R/library/Rgraphviz'


Any help would be greatly appreciated.

Best Regards

Nicolas


--
Nicolas Simonis, PhD.
Research fellow
Vidal lab
Center for Cancer Systems Biology
Dana Farber Cancer Institute
1 Jimmy Fund Way, SM856
Boston MA 02115
(+1) 617.6323728



More information about the Bioconductor mailing list