Entering edit mode
Andrew Beckerman
▴
30
@andrew-beckerman-935
Last seen 10.4 years ago
Hi -
R1.9.1; OSX 10.3.5; Dev Tools etc install.
I have installed, via darwinports, graphviz (v1.16) running in x11 (I
also have the standalone aqua app...) Having done that, I have tried
to
install RGraphviz from the Bioconductor suite via the x11 route to R,
as Rgraphviz needs graphviz in the x11 environment (I think).
First, I used the Bioconductor script
getBioC("graph")
which installed everthing successfully except RGraphviz and Guuid....
Assuming that the build of RGraphviz would require the library path
for
graphviz installed by darwinports, I tried this previously posted
remedy to install RGraphviz
dyn092203:~ apb$ export LD_LIBRARY_PATH=/opt/local/lib/graphviz
dyn092203:~ apb$ sudo R CMD INSTALL /Users/apb/Rgraphviz_1.4.0.tar.gz
Password:
* Installing *source* package 'Rgraphviz' ...
** libs
gcc -no-cpp-precomp
-I/Library/Frameworks/R.framework/Resources/include
`dotneato-config --cflags` -I/usr/local/include -Wall -fno-common
-g
-O2 -c Rgraphviz.c -o Rgraphviz.o
In file included from /opt/local/include/graphviz/render.h:45,
from common.h:21,
from Rgraphviz.c:1:
/opt/local/include/graphviz/macros.h:34:1: warning: "NEW" redefined
In file included from common.h:13,
from Rgraphviz.c:1:
/Library/Frameworks/R.framework/Resources/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
'/Library/Frameworks/R.framework/Versions/1.9.1/Resources/library/
Rgraphviz'
Clearly, something else is missing in my effort..... Any advice would
be appreciated.
Cheers
andrew
----------------------------------------------------------------------
--
---------
Dr. Andrew Beckerman
Department of Animal and Plant Sciences, University of Sheffield,
Alfred Denny Building, Western Bank, Sheffield S10 2TN, UK
ph +44 (0)114 222 0026; fx +44 (0)114 222 0002
http://www.shef.ac.uk/beckslab
----------------------------------------------------------------------
--
----------