From saurin_jani at yahoo.com  Thu Sep 23 22:00:20 2004
From: saurin_jani at yahoo.com (Saurin Jani)
Date: Thu Sep 23 22:03:19 2004
Subject: [Rd] Rgraphviz + graphviz 1.12.1 compilation error
In-Reply-To: <6.0.0.22.2.20040923123241.01bf16c8@paris7.jussieu.fr>
Message-ID: <20040923200020.41315.qmail@web41108.mail.yahoo.com>

Hi,

I have Linux Fedora 32 bit with 512 RAM 

I would like to use Rgraphviz package.so, I did:

$ [root@localhost packages]# rpm -i
graphviz-1.12-1.i386.rpm 

package graphviz-1.12-1 is already installed

[root@localhost packages]# 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'
-----------------------------------------------------

anyone has this before....?

thanks,
Saurin


[Rd] Rgraphviz + graphviz 1.12.1 compilation error
Saurin Jani