[BioC] errors compiling Rgraphviz

Paul Shannon pshannon at systemsbiology.org
Fri Dec 19 19:54:12 MET 2003


       (This message may be a duplicate of one you received earlier.  I apologize if you 
        receive two copies.  - Paul)

Hello,

After installing and building graphviz-1.10.20031218.0515 on my Red Hat 8 Linux box,
and then calling

         getBioC (relLevel="release", libName="graph")
         Running getBioC version 1.2.46....

I run into compile problems with Rgraphviz, in which the main error
seems to be:

    /local/include/graphviz/globals.h:80: parse error before "FIG_CodeGen"

when Rgraphviz.c is compiled.

I apologize if this is my dumb mistake.  Can anyone help?  
A more complete snapshot of the compiler error report appears below.

Thanks,

  - Paul




** libs
gcc -I/local/lib/R/include `dotneato-config --cflags`   -D__NO_MATH_INLINES -mieee-fp -Wall -fPIC  -g -O2 -c Rgraphviz.c -o Rgraphviz.o
In file included from /local/include/graphviz/render.h:49,
                 from common.h:20,
                 from Rgraphviz.c:1:
/local/include/graphviz/macros.h:28:1: warning: "NEW" redefined
In file included from common.h:11,
                 from Rgraphviz.c:1:
/local/lib/R/include/Rdefines.h:129:1: warning: this is the location of the previous definition
In file included from /local/include/graphviz/types.h:11,
                 from /local/include/graphviz/render.h:51,
                 from common.h:20,
                 from Rgraphviz.c:1:
/local/include/graphviz/pathplan.h:11: warning: ignoring #pragma prototyped 
In file included from /local/include/graphviz/pathplan.h:16,
                 from /local/include/graphviz/types.h:11,
                 from /local/include/graphviz/render.h:51,
                 from common.h:20,
                 from Rgraphviz.c:1:
/local/include/graphviz/pathgeom.h:11: warning: ignoring #pragma prototyped 
In file included from /local/include/graphviz/render.h:52,
                 from common.h:20,
                 from Rgraphviz.c:1:
/local/include/graphviz/graph.h:11: warning: ignoring #pragma prototyped 
In file included from /local/include/graphviz/render.h:53,
                 from common.h:20,
                 from Rgraphviz.c:1:
/local/include/graphviz/globals.h:16:10: #include expects "FILENAME" or <FILENAME>
In file included from /local/include/graphviz/render.h:53,
                 from common.h:20,
                 from Rgraphviz.c:1:
/local/include/graphviz/globals.h:80: parse error before "FIG_CodeGen"
/local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `FIG_CodeGen'
/local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `GD_CodeGen'
/local/include/graphviz/globals.h:80: warning: type defaults to `int' in declaration of `memGD_CodeGen'



More information about the Bioconductor mailing list