[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] igraph_1.0.1.tar.gz compile problem
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] igraph_1.0.1.tar.gz compile problem |
Date: |
Thu, 1 Oct 2015 13:44:59 +0200 |
Hi,
You are probably using an old version of libxml2. XML_PARSE_HUGE was
added in libxml2 2.7.3 (along with a limitation of not parsing XML
files with text nodes larger than 10 MB if XML_PARSE_HUGE is not
specified), so you'll probably need to upgrade libxml2 to something
newer than 2.7.3.
T.
T.
On Wed, Sep 30, 2015 at 11:38 PM, John Nyhuis <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help