[問題] 新手program安裝疑問

看板MacDev作者 (Cir)時間9年前 (2016/03/29 16:40), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
各位前輩好,小弟目前因為研究需要利用Matlab來進行模擬 但因為預計要使用的program需要先安裝GUI程式(Rappture) https://nanohub.org/infrastructure/rappture/wiki/rappture_install_macosx 問題就發生在安裝這個Rappture時,依照指示操作後執行rappture.sh後跳出以下畫面: --------------------------------------------------------------------------- /Ho/Ho/20120712/bin/rappture ; exit; MacBook-Pro:~ chunweichang$ /Ho/Ho/20120712/bin/rappture ; exit; /Ho/Ho/20120712/bin/rappture: line 16: /Ho/Ho/20120712/bin: is a directory usage: rappture ?-run? ?-tool toolFile? ?-nosim 0/1? ?-load file file ...? rappture -builder ?-tool toolFile? rappture -tester ?-auto? ?-tool toolFile? ?-testdir directory? logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. -bash: [: /Volumes/Macintosh: binary operator expected ---------------------------------------------------------------------------- 並未成功開啟GUI介面,顯然是並未安裝完成。 因此小弟就嘗試使用他所提供的另一種方法安裝: https://nanohub.org/infrastructure/rappture/wiki/rappture_installation_hardway 執行Build_pkg.sh後依然無法順利安裝,其中訊息為: --------------------------------------------------------- MacBook-Pro:runtime chunweichang$ sh build_pkg.sh make: *** No rule to make target `all'. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `all'. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `all'. Stop. make: *** No rule to make target `install'. Stop. for i in src lang lib gui builder tester examples ; do \ make -C $i all || exit 1 ;\ done make -C core all g++ -g -O2 -fPIC -g -Wall -I. -I../../../rappture/src/core -I/ho/builds/20160329/include -DSVN_VERSION=\"Unversioned directory\" -DRAPPTURE_VERSION=\"1.3\" -c ../../../rappture/src/core/RpBindingsDict.cc clang: error: no such file or directory: 'directory"' make[2]: *** [RpBindingsDict.o] Error 1 make[1]: *** [core] Error 2 make: *** [all] Error 1 for i in src lang lib gui builder tester examples ; do \ make -C $i install || exit 1 ;\ done make -C core all g++ -g -O2 -fPIC -g -Wall -I. -I../../../rappture/src/core -I/ho/builds/20160329/include -DSVN_VERSION=\"Unversioned directory\" -DRAPPTURE_VERSION=\"1.3\" -c ../../../rappture/src/core/RpBindingsDict.cc clang: error: no such file or directory: 'directory"' make[2]: *** [RpBindingsDict.o] Error 1 make[1]: *** [core] Error 2 make: *** [install] Error 1 To use this build, do one of the following bash users: . /ho/builds/20160329/bin/rappture.env or export PATH="/ho/builds/20160329/bin:$PATH" csh users: source /ho/builds/20160329/bin/rappture-csh.env or set path = ( /ho/builds/20160329/bin $path ) MacBook-Pro:runtime chunweichang$ MacBook-Pro:runtime chunweichang$ sh build_pkg.sh make: *** No rule to make target `all'. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `all'. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `all'. Stop. make: *** No rule to make target `install'. Stop. for i in src lang lib gui builder tester examples ; do \ make -C $i all || exit 1 ;\ done make -C core all g++ -g -O2 -fPIC -g -Wall -I. -I../../../rappture/src/core -I/ho/builds/20160329/include -DSVN_VERSION=\"Unversioned directory\" -DRAPPTURE_VERSION=\"1.3\" -c ../../../rappture/src/core/RpBindingsDict.cc clang: error: no such file or directory: 'directory"' make[2]: *** [RpBindingsDict.o] Error 1 make[1]: *** [core] Error 2 make: *** [all] Error 1 for i in src lang lib gui builder tester examples ; do \ make -C $i install || exit 1 ;\ done make -C core all g++ -g -O2 -fPIC -g -Wall -I. -I../../../rappture/src/core -I/ho/builds/20160329/include -DSVN_VERSION=\"Unversioned directory\" -DRAPPTURE_VERSION=\"1.3\" -c ../../../rappture/src/core/RpBindingsDict.cc clang: error: no such file or directory: 'directory"' make[2]: *** [RpBindingsDict.o] Error 1 make[1]: *** [core] Error 2 make: *** [install] Error 1 To use this build, do one of the following bash users: . /ho/builds/20160329/bin/rappture.env or export PATH="/ho/builds/20160329/bin:$PATH" csh users: source /ho/builds/20160329/bin/rappture-csh.env or set path = ( /ho/builds/20160329/bin $path ) ----------------------------------------------------------------- 其中的 "make: *** No rule to make target `all'. Stop. make: *** No rule to make target `install'. Stop." 也發生在我利用Cygwin於Windows下安裝的時候。 想要請教各位前輩這是什麼原因造成呢? 是因為路徑設定不對嗎? 麻煩各位前輩解惑了,感謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.115.72.19 ※ 文章網址: https://www.ptt.cc/bbs/MacDev/M.1459240818.A.756.html
文章代碼(AID): #1M-ZzoTM (MacDev)
文章代碼(AID): #1M-ZzoTM (MacDev)