igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] problem installing igraph 0.3.2


From: Gabor Csardi
Subject: Re: [igraph] problem installing igraph 0.3.2
Date: Wed, 27 Dec 2006 21:08:03 +0100
User-agent: Mutt/1.5.11

Hmmm, this works for me for all version i've tried:
http://sourceforge.net/projects/igraph/
http://cneurocvs.rmki.kfki.hu/igraph/#downl
http://cran.r-project.org/src/contrib/Descriptions/igraph.html

Tamas is right, R does not pass '-shared' to g++ when trying to make a
library, this is strange. There is a thread about the same error here:
http://tolstoy.newcastle.edu.au/R/help/05/09/11479.html
Unfortunately it does not lead very far....
I've tried it with older R versions (2.0.1) and older gcc, g++ versions
(2.95.4) and it works with these as well.

Dominik, can you tell me something about your system, both the Linux and the
R parts? Thanks.

You could also try to build other packages which contains C and/or C++
sources just to see whether the problem is igraph specific. Thanks again.

Gabor

On Wed, Dec 27, 2006 at 04:27:58PM +0100, Tamas Nepusz wrote:
> Dear Dominik,
> 
> For me it looks like the last command line (the one which starts with  
> g++) is apparently missing the '-shared' switch. I don't really know  
> the reason since I develop the Python interface of igraph, but until  
> you find a useful solution, you might try to make R leave the files  
> created during compilation intact in a temporary directory and then  
> issue the last command manually after extending it with '-shared'. If  
> everything goes well, it should create a file called igraph.so and  
> you should copy it manually afterwards to the appropriate directory  
> where R is able to find it.
> 
> I think the version number of R and gcc would also be of great help  
> to us to resolve the issue.
> 
> --
> Tamas Nepusz <address@hidden>             MTA RMKI, BME MIT
> 
> On 2006.12.27., at 13:06, Dominik Heide wrote:
> 
> >Hi there,
> >
> >I just found igraph and consider it as a pretty interesting  
> >project. Sadly I
> >can not install the R package since the linking fails with:
> >
> >/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../crt1.o(.text+0x18): In
> >function `_start':
> >../sysdeps/i386/elf/start.S:115: undefined reference to `main'
> >
> >Can anyone help me with this?
> >
> >Thanks, Dominik
> ><igraphError.txt>
> >_______________________________________________
> >igraph-help mailing list
> >address@hidden
> >http://lists.nongnu.org/mailman/listinfo/igraph-help
> 
> 
> 
> 
> 
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help

-- 
Csardi Gabor <address@hidden>    MTA RMKI, ELTE TTK




reply via email to

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