Hello,

1) Please send your questions to the ns mailing list and not only to a specific 
user (in this case not only to me). So please do not repeat this.

2) There was a whole discussion regarding this problem in the mailing list, so 
I do not know which part of the discussion you have found, but 
briefly, a patch is written for installation of ns2-35 by Tom Henderson, here 
is the url for the patch:

http://old.nabble.com/file/p34431582/install.osx.patch

The attached workaround patch allows to build ns-allinone-2.35 on Mac 
OS X Mountain Lion 64-bit server. 

cd ns-allinone-2.35 
patch -p1 -i install.osx.patch 
./install 


Best regards,
Behnaz




On Dec 5, 2012, at 10:58 AM, Sandhya Aneja <sandhya.an...@gmail.com> wrote:

> Hello Behnaz,
> 
> I am installing ns2.35 on MAC OS Lion, 10.7.3. I am not able to compile otcl 
> for which you have suggested following changes in install file. 
> 
> if  [ "${test_cygwin}" = "true" ]; then
> >         ./configure --x-libraries=/usr/X11R6/lib 
> > --x-includes=/usr/X11R6/include --with-tcl-ver=$TCLVER --with-tk-ver=$TKVER 
> > --disable-shlib || die "otcl-$OTCLVER configuration failed! Exiting ...";
> >     ..........
> > 
> > else
> >         ./configure --x-libraries=/usr/X11R6/lib 
> > --x-includes=/usr/X11R6/include CFLAGS="-framework CoreFoundation" 
> > --with-tcl-ver=$TCLVER --with-tk-ver=$TKVER || die "otcl-$OTCLVER 
> > configuration failed! Exiting ...";
> > 
> >          .........
> It is showing
> ./install: line 480: syntax error near unexpected token `else'
> ./install: line 480: `else'
> 
> 
> Please suggest what is the problem....
> 
> Thanks
> Sandhya
> 

Reply via email to