Re: [ns] tk8.4.11 make failed!
hi i am also getting same problem while making tk8.4.14 file in tk3d.c file. i seached previous tread. there is one similar problem in 2005 . that person gives solution to load X-development environment. because this requires C-development lib. i haven't tried this yet. so u can try this solution. reply if that works for you On Mon, 27 Feb 2006 20:36:44 -, Kevin.McGrath wrote Help ... please [snip] For problems with Tcl/Tk see http://www.scriptics.com http://www.scriptics.com/ First: have you searched http://www.tcl.tk/ for help? Second: maybe we could help you if you post the parameters and output of ./configure -- Emanuele Vecchio Happy Debian GNU/Linux User : emanu at linux.it :: harpreet singh
Re: [ns] tk8.4.11 make failed!
I didn't notice any useful responses to the initial cry for help. Forgive me if I'm just being redundant. This isn't an ns-2 problem nor is it a tk-versioning problem. It's simply that the compiler can't find X11 (or XFree86) files it needs to link tk to the underlying windowing system. I had the same problem when I tried to install ns-2 on an MS WindowsXP box running cygwin without reading directions. Quoting from the online page http://nsnam.isi.edu/nsnam/index.php/Running_Ns_and_Nam_Under_Windows_9x/2000/XP_Using_Cygwin You'll need X11. Depending on which version of Cygwin you'll use, this might be either Xfree86 (packages XFree86-base, XFree86-bin, XFree86-prog, XFree86-lib, and XFree86-etc) or X.org (packages xorg-x11-bin, xorg-x11-bin-dlls, xorg-x11-devel, xorg-x11-libs-data, and xorg-x11-etc). The same issue exists with Linux/Unix systems, of course. I didn't notice because all the necessary files were already present because of other development work. I've successfully installed ns-2.29 on WinXP/cygwin and Red Hat Enterprise Linux 3. Cheers, Kent
Re: [ns] tk8.4.11 make failed!
Hello, The website: http://www.scriptics.com is not available anymore. Nonetheless, http://www.tcl.tk is currently working. Does anybody have a clue which web page replaces now the former? Regards Juan Quintana _ Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, YupiMSN Compras: http://latam.msn.com/compras/
Re: [ns] tk8.4.11 make failed!
Help ... please! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin.McGrath Sent: 26 February 2006 21:24 To: ns-users@ISI.EDU Subject: [ns] tk8.4.11 make failed! Hi I attempted to install ns-2 (v2.29) on a linux workstation (distro fc3, with gcc version 3.4.2) here, unfortunately the following error appeared. Suggestions appreciated Regards Kevin .. /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1391: error: invalid operands to binary * /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1391: error: syntax error before ')' token /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1394: error: request for member `borderTable' in something not a structure or union /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1394: error: request for member `borderTable' in something not a structure or union /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1396: error: syntax error before ')' token /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c: In function `Tk_Get3DBorder': /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:193: warning: statement with no effect /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c: In function `Tk_Draw3DPolygon': /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:850: warning: value computed is not used /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:850: warning: value computed is not used /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c: At top level: /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1134: error: storage size of `shiftTable' isn't known /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:31: warning: 'BorderInit' declared `static' but never defined /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:35: warning: 'Intersect' declared `static' but never defined /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:38: warning: 'ShiftLine' declared `static' but never defined /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1120: warning: 'shiftTable' defined but not used make: *** [tk3d.o] Error 1 tk8.4.11 make failed! Exiting ... For problems with Tcl/Tk see http://www.scriptics.com http://www.scriptics.com/ [EMAIL PROTECTED] ns-allinone-2.29]$
Re: [ns] tk8.4.11 make failed!
On Mon, 27 Feb 2006 20:36:44 -, Kevin.McGrath wrote Help ... please [snip] For problems with Tcl/Tk see http://www.scriptics.com http://www.scriptics.com/ First: have you searched http://www.tcl.tk/ for help? Second: maybe we could help you if you post the parameters and output of ./configure -- Emanuele Vecchio Happy Debian GNU/Linux User : [EMAIL PROTECTED] ::
Re: [ns] tk8.4.11 make failed!
Try a different version of tk, you might need to change some parameters with configure, or install (if it is an allinone-2.29) Emanuele Vecchio wrote: On Mon, 27 Feb 2006 20:36:44 -, Kevin.McGrath wrote Help ... please [snip] For problems with Tcl/Tk see http://www.scriptics.com http://www.scriptics.com/ First: have you searched http://www.tcl.tk/ for help? Second: maybe we could help you if you post the parameters and output of ./configure -- Emanuele Vecchio Happy Debian GNU/Linux User : [EMAIL PROTECTED] ::
[ns] tk8.4.11 make failed!
Hi I attempted to install ns-2 (v2.29) on a linux workstation (distro fc3, with gcc version 3.4.2) here, unfortunately the following error appeared. Suggestions appreciated Regards Kevin .. /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1391: error: invalid operands to binary * /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1391: error: syntax error before ')' token /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1394: error: request for member `borderTable' in something not a structure or union /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1394: error: request for member `borderTable' in something not a structure or union /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1396: error: syntax error before ')' token /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c: In function `Tk_Get3DBorder': /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:193: warning: statement with no effect /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c: In function `Tk_Draw3DPolygon': /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:850: warning: value computed is not used /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:850: warning: value computed is not used /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c: At top level: /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1134: error: storage size of `shiftTable' isn't known /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:31: warning: 'BorderInit' declared `static' but never defined /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:35: warning: 'Intersect' declared `static' but never defined /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:38: warning: 'ShiftLine' declared `static' but never defined /home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. c:1120: warning: 'shiftTable' defined but not used make: *** [tk3d.o] Error 1 tk8.4.11 make failed! Exiting ... For problems with Tcl/Tk see http://www.scriptics.com http://www.scriptics.com/ [EMAIL PROTECTED] ns-allinone-2.29]$