You need a fairly recent version of the libxml2 library, including the development headers.
Gabor On Wed, Sep 30, 2015 at 10:38 PM, John Nyhuis <[email protected]> wrote: > When I try to install igraph_1.0.1.tar.gz in R 3.2.2, I fail with the > following compile error: > > foreign-graphml.c:65: warning: excess elements in struct initializer > foreign-graphml.c:65: warning: (near initialization for ‘blankEntityStruct’) > foreign-graphml.c: In function ‘igraph_read_graph_graphml’: > foreign-graphml.c:1330: error: ‘XML_PARSE_HUGE’ undeclared (first use in > this function) > foreign-graphml.c:1330: error: (Each undeclared identifier is reported only > once > foreign-graphml.c:1330: error: for each function it appears in.) > make: *** [foreign-graphml.o] Error 1 > ERROR: compilation failed for package ‘igraph’ > > This is with gcc version 4.1.2 20080704 > on a RHEL 5.11 cluster running R 3.2.2 > > Can anyone point me in the correct direction? > > > > -- > Thanks, > John Nyhuis > IT Manager, Stam Lab > 2211 Elliott Avenue > 6th Floor, 6S139 > Seattle, WA 98121 > O: (206)-267-1097 ext 220 > F: (206)-441-3033 > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
