Hi Everybody

I use R2.9.2 on Mac OS X 10.5.2. I tried to install RPostgreSQL from source
on CRAN via the package installer. Apparently the program cannot find my C
compiler gcc  . Here is the output message

trying URL '
http://cran.za.r-project.org/src/contrib/RPostgreSQL_0.1-6.tar.gz'
Content type 'application/x-gzip' length 141399 bytes (138 Kb)
opened URL
==================================================
downloaded 138 Kb

* Installing *source* package ‘RPostgreSQL’ ...
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.9/Resources/library/RPostgreSQL’

I an sure I have gcc-4.0 installed because I can type "gcc-4.0 --version" in
the terminal and get

i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

How do I tell R where gcc is?

regards
Christiaan

	[[alternative HTML version deleted]]


