Skip to content
Back to formatted view

Raw Message

Message-ID: <p06210204becf7fa3bad8@[10.0.1.2]>
Date: 2005-06-10T17:35:35Z
From: Brian Beckage
Subject: Solved: R Package compilation problem with Fortran
In-Reply-To: <8647C117-237D-4F3B-BB05-B6F5F1DD2FAA@r-project.org>

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