| 5 | 1/1 | 返回列表 |
| 查看: 1393 | 回復(fù): 4 | |||
[求助]
Win7下NS2 2.35安裝求助 已有1人參與
|
|
從網(wǎng)上搜了一些文章,開始安裝。 系統(tǒng)是Win7 64位,下載了Cygwin2.7.17,然后按照網(wǎng)上的指南,安裝cygwin時選上了所列出的組件包選項: 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 其他選默認。 另外,win32api沒有在列表中找到,但是有w32api,有三條。不知道是不是應(yīng)該選擇這個? 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. 安裝時,提示一個錯誤信息: pango1.0.sh exit code 1 點擊確定,完成安裝。 然后,根據(jù)教材,把ns2-allinone-2.35.tar.gz拷貝放入cygwin用戶目錄下,解壓,install,然后,出錯。 下面是安裝信息: ============== $ ./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]: 進入目錄“/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]: 離開目錄“/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: 無法訪問"cweave.exe": No such file or directory chmod: 無法訪問"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)用? 后來又嘗試完全安裝cygwin ,大概10多G,再安裝,一堆的錯誤信息,比如什么函數(shù)不匹配什么的。 誰能告訴我如何才能正常安裝? 謝謝! |
WSN_IOT_CPS |
金蟲 (初入文壇)
|
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 |
| 5 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 梁成偉老師課題組歡迎你的加入 +9 | 一鴨鴨喲 2026-03-14 | 11/550 |
|
|---|---|---|---|---|
|
[考研] 復(fù)試調(diào)劑 +4 | z1z2z3879 2026-03-14 | 6/300 |
|
|
[考研] 能源材料化學(xué)課題組招收碩士研究生8-10名 +4 | 脫穎而出 2026-03-16 | 12/600 |
|
|
[考研] 085601材料工程專碩求調(diào)劑 +10 | 慕寒mio 2026-03-16 | 10/500 |
|
|
[考研] 一志愿西安交通大學(xué)材料工程專業(yè) 282分求調(diào)劑 +5 | 楓橋ZL 2026-03-18 | 7/350 |
|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-18 | 3/150 |
|
|
[考研] 一志愿吉林大學(xué)材料學(xué)碩321求調(diào)劑 +6 | Ymlll 2026-03-18 | 9/450 |
|
|
[考研] 材料專業(yè)求調(diào)劑 +5 | hanamiko 2026-03-18 | 5/250 |
|
|
[考研] 材料與化工一志愿南昌大學(xué)327求調(diào)劑推薦 +8 | Ncdx123456 2026-03-13 | 9/450 |
|
|
[考研] 070300化學(xué)319求調(diào)劑 +6 | 錦鯉0909 2026-03-17 | 6/300 |
|
|
[考研] 085601求調(diào)劑 +4 | Du.11 2026-03-16 | 4/200 |
|
|
[考研] 考研調(diào)劑 +3 | 淇ya_~ 2026-03-17 | 5/250 |
|
|
[考研] 274求調(diào)劑 +5 | 時間點 2026-03-13 | 5/250 |
|
|
[基金申請]
今年的國基金是打分制嗎?
50+3
|
zhanghaozhu 2026-03-14 | 3/150 |
|
|
[考研] 0703 物理化學(xué)調(diào)劑 +3 | 我可以上岸的對?/a> 2026-03-13 | 5/250 |
|
|
[考研] 26考研一志愿中國石油大學(xué)(華東)305分求調(diào)劑 +3 | 嘉年新程 2026-03-15 | 3/150 |
|
|
[考研] 085601材料工程315分求調(diào)劑 +3 | yang_0104 2026-03-15 | 3/150 |
|
|
[考研] 中科大材料專碩319求調(diào)劑 +3 | 孟鑫材料 2026-03-13 | 3/150 |
|
|
[考研] 297一志愿上交085600求調(diào)劑 +5 | 指尖八千里 2026-03-14 | 5/250 |
|
|
[考研] 311求調(diào)劑 +3 | 冬十三 2026-03-13 | 3/150 |
|