igraph-help
[Top][All Lists]
Advanced

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

[igraph] Trouble installing R igraph 0.6 on Mac OS X Lion


From: Marcel Salathé
Subject: [igraph] Trouble installing R igraph 0.6 on Mac OS X Lion
Date: Tue, 17 Jan 2012 16:54:59 -0500

Hi all

I have some igraph R code that used to work one year ago. Since then I've 
upgraded to Lion, uninstalled igraph 0.6, and now I'm trying to reinstall it.

I run 
R CMD INSTALL /Users/marcel/Desktop/igraph_nightly_0.6-1825-20100330.tar.gz 

(because that was my last version of 0.6 that I used)

At first, I get the complaint that no C compiler can be found. This is 
apparently quite common since the compilers got moved around during the Lion 
upgrade process. A workaround is to put 

export PATH=${PATH}:/Developer/usr/bin

in the ~./bash_profile file.

Now it DOES find the compiler but gives me the following error message:

* installing to library 
‘/Library/Frameworks/R.framework/Versions/2.13/Resources/library’
* installing *source* package ‘igraph’ ...
checking for gcc... gcc
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.
ERROR: configuration failed for package ‘igraph’
* removing 
‘/Library/Frameworks/R.framework/Versions/2.13/Resources/library/igraph’
* restoring previous 
‘/Library/Frameworks/R.framework/Versions/2.13/Resources/library/igraph’

I don't understand why it can't create executables. There is also no config.log 
file that I could consult for more details. 

Anyone any idea of what's going on?

Thanks!
Marcel


reply via email to

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