Skip to content
Back to formatted view

Raw Message

Message-ID: <8647C117-237D-4F3B-BB05-B6F5F1DD2FAA@r-project.org>
Date: 2005-06-10T14:43:30Z
From: Simon Urbanek
Subject: R Package compilation problem with Fortran
In-Reply-To: <p06210200becec1737a4b@[10.0.1.3]>

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