Hi Everybody


Im on Mac OS X 10.6.6


$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.6.6
BuildVersion: 10J3210


I am trying to install the latest version of JavaGD from source using the
GUI Package & Data > Package Installer >CRAN (Sources) but get the
following error.


trying URL '
http://cran.za.r-project.org/src/contrib/RPostgreSQL_0.2-1.tar.gz'

Content type 'application/x-gzip' length 428050 bytes (418 Kb)

opened URL

==================================================

downloaded 418 Kb


* installing *source* package ‘RPostgreSQL’ ...

** package ‘RPostgreSQL’ successfully unpacked and MD5 sums checked

checking for gcc... no

checking for cc... no

checking for cl.exe... no

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details.

ERROR: configuration failed for package ‘RPostgreSQL’

* removing
‘/Library/Frameworks/R.framework/Versions/2.14/Resources/library/RPostgreSQL’


The message says "checking for gcc... no" but I have  gcc installed:
 (from terminal)
$ which gcc
/Developer/usr/bin/gcc

How do I tell R where gcc is?

Can anyone guide me on how to resolve this. sessionInfo below

thanks in advance
Christiaan

>sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.14.0

	[[alternative HTML version deleted]]

