--- install-orig 2008-02-15 00:02:22.553776500 -0800 +++ install 2008-02-15 00:11:10.453958600 -0800 @@ -202,20 +202,21 @@ # Package VERSIONs. Change these when releasing new packages TCLVER=8.4.15 TKVER=8.4.15 OTCLVER=1.13 TCLCLVER=1.19 NSVER=2.32 NAMVER=1.13 XGRAPHVER=12.1 ZLIBVER=1.2.3 +DEI80211MRVER=1.1.4 # Get current path CUR_PATH=`pwd` echo "============================================================" echo "* Testing for Darwin (OS X) environment" echo "============================================================" if [ `uname` = "Darwin" ]; then echo "Darwin detected"; DYLD_LIBRARY_PATH=$CUR_PATH/tcl$TCLVER/unix:$CUR_PATH/tk$TKVER/unix:$DYLD_LIBRARY_PATH @@ -584,20 +585,33 @@ echo "Nam make failed! You may want to tweak the above linker path if libraries are not being picked up successfuly. Continue ..." echo "See http://www.isi.edu/nsnam/ns-problems.html for problems" fi else echo "Nam make failed! Continue ..." echo "See http://www.isi.edu/nsnam/ns-problems.html for problems" fi cd ../ + + +# Building dei80211mr + +cd ./dei80211mr-${DEI80211MRVER} + +./configure --with-ns-allinone=${CUR_PATH} --prefix=${CUR_PATH} \ + && make \ + && make install + +cd .. + + # Install nam, ns, xgraph into bin if [ ! -d bin ] ; then mkdir bin fi cd bin ln -s $CUR_PATH/ns-$NSVER/ns${EXE} ns${EXE}