※ [本文转录自 Linux 看板 #1GrM80Cx ]
作者: a29788685 (嘉峰) 看板: Linux
标题: [问题] 安装FormCalc 出现的问题
时间: Sat Dec 22 15:32:14 2012
最近安装FormCalc
出现了一些问题 如:
./compile: 1: ./compile: : Permission denied
mkdir: 无法建立目录‘’: 没有此一档案或目录
Cannot create directory
google过很多办法,始终无法解决,于是寄信给原作者询问
他的回信如下:
please check that the partition on which you're installing
this software has execution enabled (see if there is e.g.
a noexec attribute in /etc/fstab).
Likewise, check that you have /bin/sh and that it's
executable.
Next, try running "sh -x ./compile" and see how far you get.
If compile stops while invoking a program (e.g. math),
run that program manually to see if there are any problems
with shared libraries. Maybe you just need to do an
ldconfig to refresh /etc/ld.so.cache.
其实我看不太懂他要我作些什么,
我 sudo vi /etc/fstab 出现了:
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/host/ubuntu/disks/swap.disk none swap sw 0 0
和网络上的例子好像很不一样,如:
http://www.360doc.com/content/10/1008/11/1820059_59283748.shtml
(内含广告)
后面,我尝试使用指令 ldconfig 似乎没有什么效果
不知道有没友人有类似经验呢? 感谢
另外补上 sh -x ./complie 的结果:
+ CC=gcc
+ CXX=g++
+ MCC=mcc
+ CFLAGS=-O3 -fomit-frame-pointer -ffast-math -Wall -Wextra
+ dirname ./compile
+ SRC=.
+ mathcmd=math
+ exe=
+ shopt -s nullglob
+ set