| 24小時(shí)熱門(mén)版塊排行榜 |
| 5 | 1/1 | 返回列表 |
| 查看: 1392 | 回復(fù): 4 | |||
sdzzz銀蟲(chóng) (初入文壇)
|
[求助]
Win7下NS2 2.35安裝求助 已有1人參與
|
|
從網(wǎng)上搜了一些文章,開(kāi)始安裝。 系統(tǒng)是Win7 64位,下載了Cygwin2.7.17,然后按照網(wǎng)上的指南,安裝cygwin時(shí)選上了所列出的組件包選項(xiàng): gcc gcc-g++ gcc4 gcc4-g++ gawk gnuplot gzip make patch perl tar win32api diffutils X-startup-scripts xorg-x11-base xorg-x11-bin xorg-x11-devel xorg-x11-bin-dlls xorg-x11-bin-lndir xorg-x11-etc xorg-x11-fenc xorg-x11-fnts xorg-x11-libs-data xorg-x11-xwin libxt-devel libXmu-devel libX11-devel 其他選默認(rèn)。 另外,win32api沒(méi)有在列表中找到,但是有w32api,有三條。不知道是不是應(yīng)該選擇這個(gè)? 2013/03/26 10:43:32 Adding required dependency w32api-headers: Selecting version 3.0b_svn5591-1 for installation. 2013/03/26 10:43:32 Adding required dependency w32api-runtime: Selecting version 3.0b_svn5591-1 for installation. 安裝時(shí),提示一個(gè)錯(cuò)誤信息: pango1.0.sh exit code 1 點(diǎn)擊確定,完成安裝。 然后,根據(jù)教材,把ns2-allinone-2.35.tar.gz拷貝放入cygwin用戶目錄下,解壓,install,然后,出錯(cuò)。 下面是安裝信息: ============== $ ./install == * Testing for Darwin (OS X) environment == * Testing for Cygwin environment == Cygwin detected Note: Cygwin install is still considered EXPERIMENTAL Checking Cygwin version is >= 1.7.1... 1.7.17 (should be ok) Checking filesystems are mounted as UNIX filetype... yes Checking default mode is binmode... yes Checking legitimate login name... ok Checking legitimate path name... ok Checking for gcc4... ok Checking for gcc4-g++... ok Checking for gawk... ok Checking for tar... ok Checking for gzip... ok Checking for make... ok Checking for patch... ok Checking for perl... ok Checking for w32api... ok Checking for diff... ok Checking for X... Checking for xorg-server... ok Checking for xinit... ok Checking for libX11-devel... ok Checking for libXmu-devel... ok Patching Tcl/Tk for Cygwin. The original tcl8.5.10/generic/tcl.h is backed up as tcl8.5.10/generic/tcl.h.orig The original tk8.5.10/generic/default.h is backed up as tk8.5.10/generic/default.h.orig Patching sgb for Cygwin. The original sgb/Makefile is backed up as sgb/Makefile.orig Setting executable format to .exe... == * Testing for FreeBSD environment == FreeBSD not detected == * Build XGraph-12.2 = configure: error: expected an absolute directory name for --prefix: .. make all-am make[1]: 進(jìn)入目錄“/home/Fenrir/ns-allinone-2.35/xgraph-12.2” gcc -DHAVE_CONFIG_H -I. -g -MT xgraph.o -MD -MP -MF .deps/xgraph.Tpo -c -o xgraph.o xgraph.c /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared libraries: cygmpfr-4.dll: cannot open shared object file: No such file or directory Makefile:370: recipe for target `xgraph.o' failed make[1]: *** [xgraph.o] Error 1 make[1]: 離開(kāi)目錄“/home/Fenrir/ns-allinone-2.35/xgraph-12.2” Makefile:250: recipe for target `all' failed make: *** [all] Error 2 Can not create xgraph; But xgraph is an optional package, continuing... == * Build CWeb == Making cweb gcc -g -c -o ctangle.o ctangle.c /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared libraries: cygmpfr-4.dll: cannot open shared object file: No such file or directory make: *** [ctangle.o] Error 1 cweb failed to make, but it's optional chmod: 無(wú)法訪問(wèn)"cweave.exe": No such file or directory chmod: 無(wú)法訪問(wèn)"ctangle.exe": No such file or directory == * Build Stanford GraphBase == Making sgb if test -r gb_io.ch; then ctangle gb_io.w gb_io.ch; else ctangle gb_io.w; fi This is CTANGLE, Version 3.64 (TeX Live 2012/Cygwin) *1*8*10*21*28*38*43 Writing the output files: (gb_io.c).. (test_io.c) (gb_io.h) Done. (No errors were found.) cc -g -I/usr/local/sgb/include -DDATA_DIRECTORY=\"/usr/local/sgb/data/\" -c gb_io.c /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared libraries: cygmpfr-4.dll: cannot open shared object file: No such file or directory Makefile:105: recipe for target `gb_io.o' failed make: *** [gb_io.o] Error 1 Unable to create sgb library, but it's optional, so continuing... == * Build GT-ITM == sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing.. == * Build zlib === Checking for gcc... Building static library libz.a version 1.2.3 with cc. Checking for unistd.h... No. Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf() Checking for snprintf() in stdio.h... No. WARNING: snprintf() not found, falling back to sprintf(). zlib can build but will be open to possible buffer-overflow security vulnerabilities. Checking for return value of sprintf()... No. WARNING: apparently sprintf() does not return a value. zlib can build but will be open to possible string-format security vulnerabilities. Checking for errno.h... No. Checking for mmap support... No. cc -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o example.o example.c /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared libraries: cygmpfr-4.dll: cannot open shared object file: No such file or directory make: *** [example.o] Error 1 Zlib make failed, but it's optional Continue ... -- * Build tcl8.5.10 -- ./install: line 409: autoconf: command not found checking whether to use symlinks for manpages... no checking whether to compress the manpages... no checking whether to add a package name suffix for the manpages... no checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. tcl8.5.10 configuration failed! Exiting ... Tcl is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your platform. == 是不是還缺少什么必須的應(yīng)用? 后來(lái)又嘗試完全安裝cygwin ,大概10多G,再安裝,一堆的錯(cuò)誤信息,比如什么函數(shù)不匹配什么的。 誰(shuí)能告訴我如何才能正常安裝? 謝謝! |
WSN_IOT_CPS |
金蟲(chóng) (初入文壇)
銀蟲(chóng) (初入文壇)
銀蟲(chóng) (初入文壇)
|
http://sourceforge.net/projects/ ... e/ns-allinone-2.29/ ns-allinone-2.29.3.tar.gz 2006-05-27 68.6 MB ns-allinone-2.29.2.tar.gz 2005-12-17 68.3 MB |
新蟲(chóng) (初入文壇)
| 5 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 085700資源與環(huán)境308求調(diào)劑 +3 | 墨墨漠 2026-03-18 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 311求調(diào)劑 +6 | 26研0 2026-03-15 | 6/300 |
|
|
[考研] 312求調(diào)劑 +8 | 陌宸希 2026-03-16 | 9/450 |
|
|
[考研] 303求調(diào)劑 +4 | 睿08 2026-03-17 | 6/300 |
|
|
[考研] 工科材料085601 279求調(diào)劑 +6 | 困于星晨 2026-03-17 | 6/300 |
|
|
[考研] 293求調(diào)劑 +11 | zjl的號(hào) 2026-03-16 | 16/800 |
|
|
[基金申請(qǐng)] 被我言中:新模板不強(qiáng)調(diào)格式了,假專家開(kāi)始管格式了 +4 | beefly 2026-03-14 | 4/200 |
|
|
[考研] 考研求調(diào)劑 +3 | 橘頌. 2026-03-17 | 4/200 |
|
|
[考研] 材料專碩326求調(diào)劑 +6 | 墨煜姒莘 2026-03-15 | 7/350 |
|
|
[考研] 332求調(diào)劑 +6 | Zz版 2026-03-13 | 6/300 |
|
|
[考研] 085600材料與化工求調(diào)劑 +5 | 緒幸與子 2026-03-17 | 5/250 |
|
|
[考研] 有沒(méi)有道鐵/土木的想調(diào)劑南林,給自己招師弟中~ +3 | TqlXswl 2026-03-16 | 7/350 |
|
|
[考研] 211本,11408一志愿中科院277分,曾在中科院自動(dòng)化所實(shí)習(xí) +6 | Losir 2026-03-12 | 7/350 |
|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-14 | 3/150 |
|
|
[考研] 中科大材料專碩319求調(diào)劑 +3 | 孟鑫材料 2026-03-13 | 3/150 |
|
|
[考研] 297求調(diào)劑 +4 | 學(xué)海漂泊 2026-03-13 | 4/200 |
|
|
[考研] 304求調(diào)劑 +6 | Mochaaaa 2026-03-12 | 7/350 |
|
|
[考研] 329求調(diào)劑 +3 | miaodesi 2026-03-12 | 4/200 |
|
|
[考研] 26調(diào)劑/材料科學(xué)與工程/總分295/求收留 +9 | 2026調(diào)劑俠 2026-03-12 | 9/450 |
|
|
[考研] 0817化學(xué)工程與技術(shù)考研312分調(diào)劑 +3 | T123 tt 2026-03-12 | 3/150 |
|