[R-SIG-Mac] package with fortran failing to install

Simon Urbanek simon.urbanek at r-project.org
Mon Mar 29 23:18:21 CEST 2010


On Mar 29, 2010, at 16:45 , Devin Johnson wrote:

> Hi,
> I have a problem compiling/installing a package that has fortran  
> source code in it. I've compiled earlier versions of this package  
> many times in the past as I've worked on it, but, now it's failing  
> to install. I've recently go through an upgrade to snow leopard and  
> installation/migration of my home directory for networking purposes  
> at work (use AdmitMac with a domain account). I'm not sure which one  
> of these might be causing the issue. Everything was fine before  
> this. Here's the error:
>
> $ R CMD INSTALL crawl
>
> * installing to library ‘/Users/johnsond/Library/R/’
> * installing *source* package ‘crawl’ ...
> ** libs
> ** arch - i386
> sh: make: command not found

Please see the FAQ - you don't even have Xcode installed.

Cheers,
Simon



> ERROR: compilation failed for package ‘crawl’
> * removing ‘/Users/johnsond/Library/R//crawl’
> * restoring previous ‘/Users/johnsond/Library/R//crawl’
>
>
> Here's the gfortran version:
>
> $ gfortran --version
> GNU Fortran (GCC) 4.2.3
> Copyright (C) 2007 Free Software Foundation, Inc.
>
> GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute copies of GNU Fortran
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING
>
> $ which gfortran
> /usr/local/bin/gfortran
>
> The package ("crawl") is currently on CRAN and when I download the  
> source, I get the same message. I've tried reinstalling R 2.10.1,  
> gfortran 2.4.3, and poking around where I could, but I'm at a loss  
> for what to check next. Any help would be greatly appreciated.
>
>
> ----------------------------------------------------------
> Devin S. Johnson, Ph.D.
> Statistician
> NOAA National Marine Mammal Laboratory
> 7600 Sand Point Way NE
> Seattle, WA 98115
> Phone: (206) 526-6867
> Fax: (206) 526-6115
> Email: devin.johnson at noaa.gov
> ----------------------------------------------------------
>
>
>
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list