igraph-help
[Top][All Lists]
Advanced

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

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


From: Gábor Csárdi
Subject: Re: [igraph] Trouble installing R igraph 0.6 on Mac OS X Lion
Date: Tue, 17 Jan 2012 16:58:54 -0500

Marcel,

uncompress the .tar.gz and try to install the uncompressed directory:

R CMD INSTALL igraph

and then look at the config.log file.

G.

On Tue, Jan 17, 2012 at 4:54 PM, Marcel Salathé
<address@hidden> wrote:
> 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
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

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