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

Brian Beckage Brian.Beckage at uvm.edu
Fri Jun 10 19:35:35 CEST 2005


I solved this problem by installing a newer version of the fortran 
(g77 3.4) compiler from hpc.sourceforge.net into usr/local.

Best,
Brian


>Brian,
>
>On Jun 10, 2005, at 12:11 AM, Brian Beckage wrote:
>
>>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'
>
>How did attempt to compile the package? This is clearly an issue 
>with setting your PATH correctly. Running R CMD INSTALL (or R 
>itself) in the same shell that has the PATH you describe should 
>work. But I suspect that's not what you're doing ... therefore it's 
>important to know how exactly you try to install it ...
>
>Cheers,
>Simon


-- 
*********************************************************************
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



More information about the R-SIG-Mac mailing list