igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] igraph 0.5.1 on cygwin fails to install


From: JP de Vooght
Subject: [igraph] igraph 0.5.1 on cygwin fails to install
Date: Tue, 12 Aug 2008 19:17:42 +0200

Hello,

I am fairly new to the world of GNU R and igraph so please forgive me for the obvious.

 

I have successfully installed GNU R as well as rgl and ca packages. I was quite interested in adding igraph but running the R CMD INSTALL igraph under cygwin using gnu gcc 3.4.4 generates the following output

 

g++ -I/usr/local/lib/R/include  -I/usr/local/include   -DUSING_R   -g -O2 -c bliss.cc -o bliss.o

In file included from bliss_graph.hh:32,

                 from bliss.cc:19:

bliss_bignum.hh: In member function `int igraph::BigNum::tostring(char**)':

bliss_bignum.hh:76: error: `fabsl' undeclared (first use this function)

bliss_bignum.hh:76: error: (Each undeclared identifier is reported only once for each function it appears in.)

bliss_bignum.hh:76: error: `logbl' undeclared (first use this function)

make: *** [bliss.o] Error 1

chmod: cannot access `/usr/local/lib/R/library/igraph/libs/*': No such file or directory

ERROR: compilation failed for package 'igraph'

** Removing '/usr/local/lib/R/library/igraph'

 

The error is related to the use of two built-ins fabsl and logbl. Replacing these functions with their __builtin_ homologues just defers the problem to ld which fails with undefined _logbl.

 

Any suggestion on how to work around this?

 

TIA

- JP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]