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

Kasper Daniel Hansen kasperdanielhansen at gmail.com
Mon Mar 29 23:13:42 CEST 2010


You need to install Xcode.

Kasper

On Mon, Mar 29, 2010 at 4:45 PM, Devin Johnson <Devin.Johnson at noaa.gov> 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
> 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