[ns] install ns228 on suse10.1 fatal problem
Dear all, i am trying to install ns228 on suse10.1 32bits version.(i have tred other version conbinations but all failed, could anyone suggests successful ones?) failed and get last line of hints as following checking system version (for dynamic loading)... ./configure: line 7068: syntax error near unexpected token `)' ./configure: line 7068: ` OSF*)' tcl8.3.2 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. full message is included as attachments what's going on and how to sovle it? thanks and best regards linux-lab:~/ns-allinone-2.28 # ./install * Testing for Cygwin environment Cygwin not detected, proceeding with regular install. * Build XGraph-12.1 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking if malloc debugging is wanted... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for float.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... yes checking for unistd.h... yes checking for strcasecmp... yes updating cache ./config.cache creating ./config.status creating Makefile creating autoconf.h gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c xgraph.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c xgX.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c hard_devices.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c dialog.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c hpgl.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c ps.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c idraw.c idraw.c: In function âidrawTextâ: idraw.c:303: warning: incompatible implicit declaration of built-in function âstrlenâ gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c xtb.c xtb.c: In function âfocus_evtâ: xtb.c:873: warning: incompatible implicit declaration of built-in function âprintfâ xtb.c:882: warning: incompatible implicit declaration of built-in function âprintfâ xtb.c: In function âxtb_hortâ: xtb.c:1279: warning: incompatible implicit declaration of built-in function âprintfâ xtb.c: In function âxtb_vertâ: xtb.c:1321: warning: incompatible implicit declaration of built-in function âprintfâ xtb.c: In function âxtb_fmt_setposâ: xtb.c:1351: warning: incompatible implicit declaration of built-in function âprintfâ xtb.c: In function âxtb_fmt_addposâ: xtb.c:1379: warning: incompatible implicit declaration of built-in function âprintfâ xtb.c: In function âxtb_fmt_topâ: xtb.c:1520: warning: incompatible implicit declaration of built-in function âprintfâ xtb.c:1529: warning: incompatible implicit declaration of built-in function âprintfâ gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c st.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c params.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c alloc.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c draw.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c init.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c read.c gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c tgif.c tgif.c: In function âtgifTextâ: tgif.c:230: warning: incompatible implicit declaration of built-in function âstrlenâ gcc -DHAVE_CONFIG_H -I. -I. -I.-g -I/usr/X11R6/include -c derivative.c gcc -g -I/usr/X11R6/include -o xgraph xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idraw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivative.o -L/usr/X11R6/lib -lSM -lICE -lX11 -lm xgraph has been
Re: [ns] install ns228 on suse10.1 fatal problem
Try this Dear Qasim, you are right. The problem seems to be related to the gcc version. Fortunately there is a patch. The instructions can be found at http://mailman.isi.edu/pipermail/ns-users/2006-May/055811.html in case you want to fix your friend's NS2 installation some time. Thank you very much. Cheers, Markus Qasim Raza Iqbal wrote: No Unfortunately I could not find the solution to that problem. As this was one of my friend's computer who just started research. I think it will be some time before we try to load ns2 again as he is working on somethng else. However one reason could be that we were trying to install NS2.29 on the Latest version of linux with gnu compiler version 4.10, and it did not compile. Maybe if you try a the compiler version less than 4.0, then it will probably work before you try to install ns2 please check what version compiler you are using e.g type gcc -v If its 4.0 or higher, than that could be a problem. I hope this might help kind regards Qasim Iqbal Aston University Hi Qasim, you posted a problem on the NS2 mailing list on April 28 regarding tcl8.3.2 configuration on Cygwin. I ran into the same problem. Did you find a solution? Maybe it is worth posting it on the NS2 mailing list, since the problem has been reported recently to occur with Debian Linux, too. Yet, in the mailing lists I could not find a solution. Thank you very much. Kind regards, Markus Dear all, i am trying to install ns228 on suse10.1 32bits version.(i have tred other version conbinations but all failed, could anyone suggests successful ones?) failed and get last line of hints as following checking system version (for dynamic loading)... ./configure: line 7068: syntax error near unexpected token `)' ./configure: line 7068: ` OSF*)' tcl8.3.2 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. full message is included as attachments what's going on and how to sovle it? thanks and best regards