Entering edit mode
I am having some problems building Rgraphviz. I have installed
graphviz
from source on MacOS 10.2.8 without too much difficulty. However,
when I
try to install Rgraphviz, I get:
[holmes:~/R-1.8.0/library] sdavis% R INSTALL Rgraphviz_1.0.tar.gz
* Installing *source* package 'Rgraphviz' ...
** libs
gcc -no-cpp-precomp -I/Users/sdavis/R-1.8.0/include `dotneato-config
--cflags`
-I/sw/include -I/usr/local/include -Wall -fno-common -g -O2 -c
Rgraphviz.c
-o
Rgraphviz.o
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
In file included from /usr/local/include/graphviz/render.h:26,
from common.h:19,
from Rgraphviz.c:1:
/usr/local/include/graphviz/macros.h:28:1: warning: "NEW" redefined
In file included from common.h:11,
from Rgraphviz.c:1:
/Users/sdavis/R-1.8.0/include/Rdefines.h:129:1: warning: this is the
location of
the previous definition
In file included from /usr/local/include/graphviz/types.h:11,
from /usr/local/include/graphviz/render.h:28,
from common.h:19,
from Rgraphviz.c:1:
/usr/local/include/graphviz/pathplan.h:11: warning: ignoring #pragma
prototyped
In file included from /usr/local/include/graphviz/pathplan.h:16,
from /usr/local/include/graphviz/types.h:11,
from /usr/local/include/graphviz/render.h:28,
from common.h:19,
from Rgraphviz.c:1:
/usr/local/include/graphviz/pathgeom.h:11: warning: ignoring #pragma
prototyped
In file included from /usr/local/include/graphviz/render.h:29,
from common.h:19,
from Rgraphviz.c:1:
/usr/local/include/graphviz/graph.h:11: warning: ignoring #pragma
prototyped
In file included from common.h:20,
from Rgraphviz.c:1:
/usr/local/include/graphviz/graph.h:11: warning: ignoring #pragma
prototyped
In file included from common.h:23,
from Rgraphviz.c:1:
/usr/local/include/graphviz/adjust.h:11: warning: ignoring #pragma
prototyped
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib
-L/usr/local/lib
-o Rg
raphviz.so Rgraphviz.o -Wl,`dotneato-config --libs` -lm -lcc_dynamic
ld: can't locate file for: -ldotneato
make: *** [Rgraphviz.so] Error 1
ERROR: compilation failed for package 'Rgraphviz'
** Removing '/Users/sdavis/R-1.8.0/library/Rgraphviz'
[holmes:~] sdavis% dotneato-config --libs
-L/usr/local/lib/graphviz -ldotneato
Any ideas?
Thanks,
Sean
[[alternative HTML version deleted]]