[R-sig-Debian] no acceptable C compiler
Dirk Eddelbuettel
edd at debian.org
Tue Mar 28 13:25:43 CEST 2006
(Please consider a different email program, or setup. It is very hard to see
what you wrote, and what you cited from me.)
On 28 March 2006 at 00:20, Fred J. wrote:
|
| Dirk Eddelbuettel <edd at debian.org> wrote:
| On 27 March 2006 at 14:52, Fred J. wrote:
| | dear R users
| |
| | not sure why I am not able to install tkrplot.
| | > install.pacakges ("tkrplot", dependencies=TRUE)
|
| For this particular package, you can do
|
| $ apt-get install r-cran-tkrplot
|
| instead :)
So did you get r-cran-tkrplot installed?
| | ...
| | Configure: error: no acceptable C compiler found in $path
| | ...
|
| That looks like a mismatch between what R was built with and what you have
| installed. What does this show on your box?
|
| edd at basebud:~$ grep ^CC /etc/R/Makeconf
| CC = gcc
|
| It may want gcc-3.3 or gcc-3.4 in which case you'd need to install that
| package
|
| fred at debian:~$ grep ^CC /etc/R/Makeconf
| CC = gcc
|
| # dpkg -l gcc*
| Desired=Unknown/Install/Remove/Purge/Hold
| | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
| |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
| ||/ Name Version Description
| +++-==============-==============-============================================
| ii gcc-3.3-base 3.3.6-10 The GNU Compiler Collection (base package)
| ii gcc-3.4-base 3.4.5-2 The GNU Compiler Collection (base package)
| un gcc-3.5-base <none> (no description available)
| ii gcc-4.0-base 4.0.3-1 The GNU Compiler Collection (base package)
| un gcc-4.0-locale <none> (no description available)
| debian:/home/fred#
Looks like you deleted the package called 'gcc'. Run 'apt-get install gcc'
and you should be fine. On my testing system:
edd at basebud:~> dpkg -l "gcc*" | grep "4.0"
ii gcc 4.0.2-2 The GNU C compiler
ii gcc-4.0 4.0.3-1 The GNU C compiler
ii gcc-4.0-base 4.0.3-1 The GNU Compiler Collection (base package)
un gcc-4.0-doc <none> (no description available)
un gcc-4.0-locales <none> (no description available)
Hope this helps, Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
More information about the R-SIG-Debian
mailing list