24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 4087  |  回复: 8
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

diaobk

新虫 (初入文坛)

[求助] cmake安装失败 已有1人参与

RT
有 台 机 器 一 直 安 不 了cmake
./bootstrap
出现
Error when bootstrapping CMake:
Cannot find appropriate C compiler on this system.
Please specify one using environment variable CC.
See cmake_bootstrap.log for compilers attempted.

---------------------------------------------
Log of errors: /home/kjlv/Software/cmake-3.2.2/Bootstrap.cmk/cmake_bootstrap.log

cmake_bootstrap.log

gcc -v
gcc version 4.1.2 20070115 (SUSE Linux)
icc -v
icc version 13.1.0 (gcc version 4.1.2 compatibility)
gcc icc应该正常

磁 盘 空间也够

到底 是哪 里错了?应该怎么解决?

cmake安装失败
磁盘空间


cmake安装失败-1


cmake安装失败-2
cmake_bootstrap.log


cmake安装失败-3
./bootstrap出错
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

diaobk

新虫 (初入文坛)

引用回帖:
5楼: Originally posted by duan2013 at 2015-10-05 17:40:44
那我就不知道了,要不根据它的提示设置环境变量CC为gcc试试看。而且一般源里会有cmake,不一定非要自己编译吧
...

尝试sh版的安装成功了

然后安装gromacs的时候还是出错
The C compiler identification is GNU 4.1.2
-- The CXX compiler identification is GNU 4.1.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error at /home/kjlv/program/cmake-3.3.2-Linux-x86_64/share/cmake-3.3/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "/usr/bin/gcc" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: /home/kjlv/Software/gromacs-5.0.4/nompi/CMakeFiles/CMakeTmp



  Run Build Command:"/usr/bin/gmake" "cmTC_b700c/fast"

  /usr/bin/gmake -f CMakeFiles/cmTC_b700c.dir/build.make
  CMakeFiles/cmTC_b700c.dir/build

  gmake[1]: Entering directory
  `/home/kjlv/Software/gromacs-5.0.4/nompi/CMakeFiles/CMakeTmp'

  Building C object CMakeFiles/cmTC_b700c.dir/testCCompiler.c.o

  /usr/bin/gcc -o CMakeFiles/cmTC_b700c.dir/testCCompiler.c.o -c
  /home/kjlv/Software/gromacs-5.0.4/nompi/CMakeFiles/CMakeTmp/testCCompiler.c


  Linking C executable cmTC_b700c

  /home/kjlv/program/cmake-3.3.2-Linux-x86_64/bin/cmake -E cmake_link_script
  CMakeFiles/cmTC_b700c.dir/link.txt --verbose=1

  /usr/bin/gcc CMakeFiles/cmTC_b700c.dir/testCCompiler.c.o -o cmTC_b700c
  -rdynamic


  /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
  final link failed: No space left on device

还是这个ld   No space left

看来是这个的问题  要怎么解决?   df看磁盘空间还很富余的
6楼2015-10-05 20:45:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

duan2013

木虫 (小有名气)

是不是gcc版本太老了?现在好像都gcc5了

[ 发自小木虫客户端 ]
2楼2015-10-03 15:42:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

diaobk

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by duan2013 at 2015-10-03 15:42:48
是不是gcc版本太老了?现在好像都gcc5了

应该版本够用
另一台机器的版本一样 都安装上了
gcc version 4.1.2 20070115 (SUSE Linux)

是不是还是那个 no space left 的问题?   
空间够的情况要怎么清理?   怎么把这个错误先解决掉?
3楼2015-10-05 15:17:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

diaobk

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by duan2013 at 2015-10-03 15:42:48
是不是gcc版本太老了?现在好像都gcc5了

应该版本够用
另一台机器的版本一样 都安装上了
gcc version 4.1.2 20070115 (SUSE Linux)

是不是还是那个 no space left 的问题?   
空间够的情况要怎么清理?   怎么把这个错误先解决掉?
4楼2015-10-05 15:18:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 352分 化工与材料 +4 海纳百川Ly 2026-03-27 4/200 2026-03-28 01:08 by 飞行日记西
[考研] 求调剂 +7 张zz111 2026-03-27 8/400 2026-03-28 01:00 by 飞行日记西
[考研] 265求调剂 +8 小木虫085600 2026-03-27 8/400 2026-03-27 22:16 by 无际的草原
[考研] 食品工程专硕一志愿中海洋309求调剂 +3 小张zxy张 2026-03-26 5/250 2026-03-27 18:42 by 小张zxy张
[考研] 一志愿北京化工大学 070300 学硕 336分 求调剂 +9 vv迷 2026-03-22 9/450 2026-03-27 15:59 by 不吃魚的貓
[考研] 308求调剂 +6 墨墨漠 2026-03-27 6/300 2026-03-27 15:20 by caszguilin
[考研] 085600,材料与化工321分,求调剂 +9 大馋小子 2026-03-27 9/450 2026-03-27 14:30 by mmm just
[考研] 22408 359分调剂 +3 Qshers 2026-03-27 3/150 2026-03-27 12:22 by wxiongid
[考研] 调剂求收留 +7 果然有我 2026-03-26 7/350 2026-03-27 00:26 by wxiongid
[考研] 一志愿北化求调剂 +3 Jsman 2026-03-22 3/150 2026-03-26 21:06 by ajpv风雷
[考研] 327求调剂 +7 prayer13 2026-03-23 7/350 2026-03-26 20:48 by 不吃魚的貓
[考研] 一志愿211 初试270分 求调剂 +6 谷雨上岸 2026-03-23 7/350 2026-03-26 18:55 by 不吃魚的貓
[考研] 寻找调剂 +5 倔强芒? 2026-03-21 8/400 2026-03-26 13:25 by 0906ljy
[考研] 材料专硕 335 分求调剂 +4 拒绝冷暴力 2026-03-25 4/200 2026-03-25 18:45 by haxia
[考研] 347求调剂 +4 L when 2026-03-25 4/200 2026-03-25 13:37 by cocolv
[考研] 285求调剂 +3 AZMK 2026-03-24 3/150 2026-03-25 12:23 by userper
[考研] 300求调剂,材料科学英一数二 +5 leaflight 2026-03-24 5/250 2026-03-24 16:25 by laoshidan
[考研] 环境学硕288求调剂 +8 皮皮皮123456 2026-03-22 8/400 2026-03-23 23:47 by 热情沙漠
[考研] 328求调剂 +4 LHHL66 2026-03-23 4/200 2026-03-23 14:55 by lbsjt
[考研] 一志愿070300浙大化学358分,求调剂! +4 酥酥鱼.. 2026-03-21 4/200 2026-03-23 08:12 by Iveryant
信息提示
请填处理意见