hi
i want to install ns2.35 in mint 17.1 "32bit" but by running ./install i see this error in terminal:
============================================================
* Testing for Darwin (OS X) environment
============================================================
============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Testing for FreeBSD environment
============================================================
FreeBSD not detected
============================================================
* Build XGraph-12.2
============================================================
./install: 271: ./install: ./configure: Permission denied
make all-am
make[1]: Entering directory `/home/me/Desktop/ns-allinone-2.35/xgraph-12.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/me/Desktop/ns-allinone-2.35/xgraph-12.2'
xgraph has been installed successfully.
============================================================
* Build CWeb
============================================================
Making cweb
gcc -g -c -o ctangle.o ctangle.c
ctangle.w:75:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
extern int strlen(); /* length of string */
^
gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
common.w:1409:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
extern int strlen(); /* length of string */
^
common.w: In function ‘fatal’:
common.w:1176:1: warning: format not a string literal and no format arguments [-Wformat-security]
if (*s) printf(s);
^
gcc -g -o ctangle ctangle.o common.o
gcc -g -c -o cweave.o cweave.c
cweave.w:79:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
extern int strlen(); /* length of string */
^
cweave.w: In function ‘print_cat’:
cweave.w:1739:1: warning: format not a string literal and no format arguments [-Wformat-security]
printf(cat_name[c]);
^
gcc -g -o cweave cweave.o common.o
ln: failed to create symbolic link ‘cweave’: File exists
ln: failed to create symbolic link ‘ctangle’: File exists
============================================================
* Build Stanford GraphBase
============================================================
Making sgb
cc -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io
/usr/bin/ld: i386:x86-64 architecture of input file `gb_io.o' is incompatible with i386 output
collect2: error: ld returned 1 exit status
make: *** [test_io] Error 1
Unable to create sgb library, but it's optional, so continuing...
============================================================
* Build GT-ITM
============================================================
gcc -I../include -L../lib -DFBSD -o ../bin/itm itm.o geog.o ts.o dfs.o -lm -lgb
/usr/bin/ld: skipping incompatible ../lib/libgb.a when searching for -lgb
/usr/bin/ld: cannot find -lgb
collect2: error: ld returned 1 exit status
make: *** [itm] Error 1
gcc -I../include -L../lib -o ../bin/sgb2comns sgb2comns.o -lm -lgb
/usr/bin/ld: skipping incompatible ../lib/libgb.a when searching for -lgb
/usr/bin/ld: cannot find -lgb
collect2: error: ld returned 1 exit status
make: *** [sgb2comns] Error 1
============================================================
* Build zlib
============================================================
./install: 382: ./install: ./configure: Permission denied
Zlib-1.2.3 configuration failed, but it's optional, so continuing ...
============================================================
* Build tcl8.5.10
============================================================
./install: 410: ./install: ./configure: Permission denied
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.
-------------------------------------------------------------------------------
can you help me what should i do ?!!
