| 5 | 1/1 | 返回列表 |
| 查看: 1402 | 回復(fù): 4 | |||
| 當(dāng)前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | |||
[求助]
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 其他選默認(rèn)。 另外,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 |
金蟲 (初入文壇)
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 0703本科鄭州大學(xué)求調(diào)劑 +3 | nhj_ 2026-03-25 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 283求調(diào)劑 +7 | A child 2026-03-28 | 7/350 |
|
|
[考研] 藥學(xué)105500求調(diào)劑 +3 | Ssun。。 2026-03-28 | 3/150 |
|
|
[考研] 311求調(diào)劑 +3 | 希望上岸阿小楊 2026-03-23 | 3/150 |
|
|
[考研] 295求調(diào)劑 +5 | 1428151015 2026-03-27 | 6/300 |
|
|
[考研] 086000調(diào)劑 +3 | 7901117076 2026-03-26 | 3/150 |
|
|
[考研] 085600材料與化工調(diào)劑 +10 | A-哆啦Z夢 2026-03-23 | 16/800 |
|
|
[考研] 08開頭275求調(diào)劑 +4 | 拉誰不重要 2026-03-26 | 4/200 |
|
|
[考研] 303求調(diào)劑 +7 | 安憶靈 2026-03-22 | 8/400 |
|
|
[考研] 312求調(diào)劑 +9 | 上岸吧ZJY 2026-03-22 | 13/650 |
|
|
[考研] 一志愿吉大071010,316分求調(diào)劑 +3 | xgbiknn 2026-03-27 | 3/150 |
|
|
[考研] 環(huán)境專碩324分求調(diào)劑推薦 +5 | 軒小寧—— 2026-03-26 | 5/250 |
|
|
[考研] 化學(xué)調(diào)劑一志愿上海交通大學(xué)336分-本科上海211 +4 | 小魚愛有機 2026-03-25 | 4/200 |
|
|
[考研] 材料與化工304求B區(qū)調(diào)劑 +3 | 邱gl 2026-03-25 | 3/150 |
|
|
[考研] 302求調(diào)劑 +4 | 錦衣衛(wèi)藤椒 2026-03-25 | 4/200 |
|
|
[考研] 調(diào)劑 +4 | 13853210211 2026-03-24 | 4/200 |
|
|
[考研] 一志愿國科過程所081700,274求調(diào)劑 +3 | 三水研0水立方 2026-03-23 | 3/150 |
|
|
[論文投稿] 急發(fā)核心期刊論文 +3 | 賢達(dá)問津 2026-03-23 | 5/250 |
|
|
[考研] 328求調(diào)劑 +4 | LHHL66 2026-03-23 | 4/200 |
|
|
[考研] 070300,一志愿北航320求調(diào)劑 +3 | Jerry0216 2026-03-22 | 5/250 |
|