作者hello11002 (Cir)
看板MacDev
标题[问题] 新手program安装疑问
时间Tue Mar 29 16:40:09 2016
各位前辈好,小弟目前因为研究需要利用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://webptt.com/cn.aspx?n=bbs/MacDev/M.1459240818.A.756.html