[R-SIG-Mac] R Package compilation problem with Fortran

Brian Beckage Brian.Beckage at uvm.edu
Fri Jun 10 06:11:49 CEST 2005


Hello,

I've tried to load a number of packages that require a Fortran 
compiler such as BMA and Hmisc, but I get the following error:

* Installing *source* package 'Hmisc' ...
** libs
g77   -fno-common  -g -O2 -c cidxcn.f -o cidxcn.o
make: g77: Command not found
make: *** [cidxcn.o] Error 127
ERROR: compilation failed for package 'Hmisc'


But I appear to have a Fortran compiler installed:

'which g77' yields '/sw/bin/g77'

>'g77 -v' yields

Reading specs from /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/sw 
--enable-languages=f77 --infodir=/share/info --libexecdir=/lib 
--disable-shared
Thread model: posix
gcc version 3.4.1

'echo $PATH' yields:
/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/brianbeckage:/usr/X11R6/bin:.:/Users/brianbeckage/bin:/usr/local/bin

So g77 should be in the search path.

Any suggestions would be greatly appreciated.  I'm running R 2.1.0 
Patched under OSX 10.3.9.

Thanks,
Brian

-- 
*********************************************************************
Brian Beckage
Department of Botany
University of Vermont
Marsh Life Science Building
Burlington, VT 05405

Phone:  802 656-0197
Fax  :  802 656-0440
email:  Brian.Beckage at uvm.edu
web  :  www.uvm.edu/~bbeckage
*********************************************************************
	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list