安裝FormCalc 出現的問題 - Linux

Franklin avatar
By Franklin
at 2012-12-22T15:32

Table of Contents



最近安裝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 --
+ uname -s
+ test -z
+
PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:
which math
+ mathcmd=
+ -run Print[$SystemID]; Exit[]
./compile: 1: ./compile: : Permission denied
+ tr \r
+ tail -1
+ set --
+ test 0 -ne 1
+ DEST=
+ test -d
+ mkdir
mkdir: 無法建立目錄‘’: 沒有此一檔案或目錄
+ echo Cannot create directory
Cannot create directory
+ exit 1

--
Tags: Linux

All Comments

Xanthe avatar
By Xanthe
at 2012-12-26T04:41
你有裝好methmatica了嗎?
Dora avatar
By Dora
at 2012-12-29T21:59
Gilbert avatar
By Gilbert
at 2013-01-03T15:02
他的DEST內容是空白的,所以不能mkdir
我沒有mathmatica,猜不出來那些變數"正常"的內容是什麼
Caitlin avatar
By Caitlin
at 2013-01-08T14:15
非常感謝,您給了我一些線索,我再google一下
Joe avatar
By Joe
at 2013-01-12T03:14
-.- 該去哪裡找DEST內容呢?
Barb Cronin avatar
By Barb Cronin
at 2013-01-15T21:17
另外想請問你知道他回信給我的第一段 他要我檢查什麼嗎?
Caitlin avatar
By Caitlin
at 2013-01-19T03:51
你問的部份你都沒有問題,你可以把sh -x 那一段寄給他?
Tracy avatar
By Tracy
at 2013-01-19T06:29
然後你有沒有用過別的mathematica module?也許可以看看別的
module是怎麼build的
Noah avatar
By Noah
at 2013-01-20T16:46
謝謝,我把sh -x 那部分寄出去了,我沒有用過別的mathem
Gilbert avatar
By Gilbert
at 2013-01-25T08:25
etica module ,我可能要去參考別人的看看

Qt5 Released

Elvira avatar
By Elvira
at 2012-12-22T14:17
Qt5 在前幾天釋出了 http://blog.qt.digia.com/blog/2012/12/19/qt-5-0/ One framwork to rule them all 不但可以在一般的桌面上使用(Win,Linux,Mac) 也可以在各種移動式平台及嵌入式平台上跑 這是 Qt5 的 Demo ...

Qt 寫的 C++ 程式 將可以重新編譯變成 HTML5+JS

Faithe avatar
By Faithe
at 2012-12-22T14:15
來源:http://ssj-gz.blogspot.tw/2012/12/quickie-qtguijs-now-even-liverer.html Project wiki: http://vps2.etotheipiplusone.com:30176/redmine/projects/emscripten ...

省電設定

Annie avatar
By Annie
at 2012-12-21T17:11
目前家中的server,是小弟使用以前的NB架設的。 但因為已經8年了,效能上雖然承受的住部落格的架設,但卻無法承受影音串流的摧殘。 因此小弟有兩三個想法:1.重組一台小電腦當server;2.買NAS;3.買NB。 其實會有2、3想法,是因為其省電性遠大於組一台小電腦,不過相對的擴充性也都較差。 其 ...

如何安全的移除Ubuntu?

Kristin avatar
By Kristin
at 2012-12-21T16:48
1. 開機後進入grub選單,進入win7 2. 下載並安裝EASUS partition master,這是win7之下受歡迎的圖形介面的磁區分配 變更工具,很多人用它調整磁區大小。 http://www.easeus-software.com/download/epm.exe 3. 打開par ...

C 執行檔開啟問題

Robert avatar
By Robert
at 2012-12-21T15:59
想請問一下各位大大 若是今天在linux上編譯好了一個hello.c檔案 我要如何開啟他產生的執行檔(-o hello.out)?? 麻煩各位大大了 - ...