Hello Nick,

you  can find the demanded instructions below.

NS 2.29 Installation guide

Prerequisite:
- Cygwin with a recent version of gcc (for example gcc 3.4.4)
- The ns-allinone-2.29.2.tar.gz file must be downloaded from
http://www.isi.edu/nsnam/ns/

Instructions:
There should not be any problem during the installation of this version of
NS software.
Just:
- copy the file ns-allinone-2.29.2.tar.gz into the directory c:/Cygwin
- unarchive it using:
tar -xzf ns-allinone-2.29.2.tar.gz
- go into the new directory ns-allinone-2.29
cd ns-allinone-2.29
- use the following command:
./install
- after 10 to 20 minutes the installation should be finished
- don't forget to launch the bash script
(script_to_be_launched_before_using_NS) with source command every
time before launching NS
source ~/script_to_be_launched_before_using_NS (the source code of this
script is the following:

export PATH=$PATH:/ns-allinone-2.29/bin:/ns-allinone-2.29
/tcl8.4.11/unix:/ns-allinone-2.29/tk8.4.11/unix:/ns-allinone-
export LD_LIBRARY_PATH=/ns-allinone-2.29/tcl8.4.11/unix:/ns-allinone-2.29
/tk8.4.11/unix/:/ns-allinone-2.29/tk8.4.11/
export TCL_LIBRARY=/ns-allinone-2.29/tcl8.4.11/library
#verification
echo -e "\n-- PATH --\n"
echo $PATH
echo -e "\n-- LD_LIBRARY_PATH --\n"
echo $LD_LIBRARY_PATH
echo -e "\n-- TCL_LIBARY --\n"
echo $TCL_LIBRARY)

Additional information:
- If you want to use the Mac/Csma modules you will have to correct the make
file.in
file in /ns-2.29 directory: You have to verify that "mac-csma.o link" is
specified
(underOBJ_CC variable) in Makefile.in file (around line 289 in my
makefile.in)


Mit freundlichen Grüßen, with kind regards, cordialement,

----------------------------------------------------------
Gilles BERTRAND
Telecom INT - University of Stuttgart
----------------------------------------------------------

2006/6/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Greeting Gilles,
>
> Can you please forward the installation instructions that you shared with
> Sergio Torassa for ns-2.29 (please see attached file from ns-user
> archive)?  I am having the same error he was.
>
> Many thanks,
> Nick
>
>
>
> Thank you Gilles
>
> I followed your guide and the installation succeded
> However I still have problems installing xgraph
> This is the log
>
>
> dialog.c: In function `make_msg_box':
> dialog.c:780: warning: passing arg 2 of `getline' from incompatible
> pointer
> type
>
> dialog.c:780: error: too few arguments to function `getline'
> dialog.c: In function `getline':
> dialog.c:899: error: argument "lptr" doesn't match prototype
> /usr/include/sys/stdio.h:31: error: prototype declaration
> dialog.c:899: error: number of arguments doesn't match prototype
> /usr/include/sys/stdio.h:31: error: prototype declaration
> make: *** [dialog.o] Error 1
> Can not create xgraph; But xgraph is an optional package, continuing...
>
>
> sergio
>
> >*From: Gilles BERTRAND <gilles.bertrand at 
> >int-evry.fr<http://mailman.isi.edu/mailman/listinfo/ns-users>
> >
> *>*To: Sergio Torassa <MailScanner soupçonne le lien suivant d'être une
> tentative de fraude de la part de "mailman.isi.edu" sertorassa at
> hotmail.com <http://mailman.isi.edu/mailman/listinfo/ns-users>>
> *>*Subject: Re: [ns] installing ns-2.29
> *>*Date: Wed, 12 Apr 2006 18:59:44 +0200
> *>*
> *>*Sergio Torassa a écrit :
> *>*
> *>>*Hi
> *>>*
> *>>*does anyone have problems installing ns-2.29 on cygwin?
> *>>*I downloaded just today the allinone version and it doesn't complete
> the < BR>*>>*installation (it stops at tclcl-1.17)
> *>>*
> *>>*Can someone help?
> *>>*
> *>>*thanks
> *>>*sergio
> *>>*
> *>>*
> *>>*
> *>>*
> *>>*
> *>*I did not have any problem. I send u an installation guide. The script
> *>*refered in it is a simple script setting PATH and LD_LIBRARY_PATH as
> *>*explained at the end of the installation process
> *>*
> *>*--
> *>*Mit freundlichen Grüßen, with kind regards, cordialement,
> *>*
> *>*----------------------------------------------------------------------
> *>* Gilles BERTRAND
> *>*Institut National des Télécommunications (GET)- Universität Stuttgart
> *>*----------------------------------------------------------------------
> *>*
> *
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Reply via email to