config.log Ubuntu 14.04 LTS在哪里(gnu/Linux 3.13.0-30-generic * 86_64) [英] Where is config.log Ubuntu 14.04 LTS (gnu/Linux 3.13.0-30-generic *86_64)
问题描述
我试图在R服务器上安装R软件包"RMySQL".
Install.packages('RMySQL', type='source')
但是有一条错误消息:
I tried to install R package "RMySQL" on the R server.
Install.packages('RMySQL', type='source')
But there is an error message:
Installing package into ‘/data/rstudio5/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/RMySQL_0.9-3.tar.gz'
Content type 'application/x-gzip' length 165363 bytes (161 Kb)
opened URL
downloaded 161 Kb
* installing *source* package ‘RMySQL’ ...
** package ‘RMySQL’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
ERROR: configuration failed for package ‘RMySQL’
* removing ‘/data/rstudio5/R/x86_64-pc-linux-gnu-library/3.0/RMySQL’
Warning in install.packages :
installation of package ‘RMySQL’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpoOnKGL/downloaded_packages’
当我尝试在PUTTY上找到config.log时:
less config.log
它说没有这样的文件或目录.
When I try to find the config.log on PUTTY:
less config.log
It says no such file or directory.
config.log在哪里?以及如何检查? Google上有一些相关主题,但在这种情况下不可行. http://ubuntuforums.org/showthread.php?t=1441752
Where is the config.log? and how can I check it? There are some related topics on Google but not feasible in this case. http://ubuntuforums.org/showthread.php?t=1441752
推荐答案
通常在configure所在的位置上有一个./build目录.我的在那里.
There is usually a ./build directory off of where configure is sitting. Mine was there.
您的情况应该是 /tmp/RtmpoOnKGL/downloaded_packages/build
In your case that should be /tmp/RtmpoOnKGL/downloaded_packages/build
我希望能帮上忙.
这篇关于config.log Ubuntu 14.04 LTS在哪里(gnu/Linux 3.13.0-30-generic * 86_64)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!