LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2011, 06:00 AM   #1
labee
LQ Newbie
 
Registered: May 2011
Posts: 3

Rep: Reputation: 0
Installation problem of ns allinone 2.29 on Ubuntu 9.10


============================================================
* Build tcl8.4.11
============================================================
creating cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... 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 for building with threads... no (default)
checking if the compiler understands -pipe... yes
checking how to run the C preprocessor... gcc -pipe -E
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking how to build libraries... static
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... ./configure: 1: Syntax error: Unterminated quoted string
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.
 
Old 05-05-2011, 07:38 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Looks like you are using an old version of ns-allinone-2.29 :
Please use ns-allinone-2.29.3.tar.gz
http://sourceforge.net/projects/nsna...ar.gz/download

This is for Ubuntu 9.10 :
sudo apt-get install g++-4.1
cd ns-allinone-2.29/tk8.4.11/ &&
wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch
&& patch -p0 < tk-8.4-lastevent.patch && cd ../ &&
export CC=gcc-4.1 CXX=g++-4.1 && ./install

..
 
1 members found this post helpful.
Old 05-05-2011, 08:26 AM   #3
labee
LQ Newbie
 
Registered: May 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

Looks like you are using an old version of ns-allinone-2.29 :
Please use ns-allinone-2.29.3.tar.gz
http://sourceforge.net/projects/nsna...ar.gz/download

This is for Ubuntu 9.10 :
sudo apt-get install g++-4.1
cd ns-allinone-2.29/tk8.4.11/ &&
wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch
&& patch -p0 < tk-8.4-lastevent.patch && cd ../ &&
export CC=gcc-4.1 CXX=g++-4.1 && ./install

..
Thank you very much for the response.
I have followed the steps provided.

I seem to have another problem

...
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1308: error: ‘TkBorder’ has no member named ‘colormap’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1311: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c: In function ‘TkDebugBorder’:
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1391: error: ‘TkWindow’ has no member named ‘dispPtr’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1394: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1394: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1400: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1403: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1405: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Error 1
tk8.4.11 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
 
Old 05-05-2011, 09:13 AM   #4
labee
LQ Newbie
 
Registered: May 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up Thanks

Quote:
Originally Posted by labee View Post
Thank you very much for the response.
I have followed the steps provided.

I seem to have another problem

...
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1308: error: ‘TkBorder’ has no member named ‘colormap’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1311: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c: In function ‘TkDebugBorder’:
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1391: error: ‘TkWindow’ has no member named ‘dispPtr’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1394: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1394: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1400: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1403: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/lmphatsi/Simulations/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:1405: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Error 1
tk8.4.11 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com

All worked fine after I did: (Seen from your response in some other thread)

sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool

Thank you very much Knudfl
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns-allinone on ubuntu offline kuberninad Linux - Newbie 5 01-25-2010 12:15 AM
installation of ns-allinone-2.33 on fedora 11 xwz Linux - Software 12 09-03-2009 08:02 AM
install ns-allinone-2.34 on ubuntu 8.04 beringinraya Linux - Newbie 2 07-27-2009 09:30 AM
NS2 2.33 allinone on Ubuntu Liz Mwaniki Linux - Newbie 1 01-26-2009 04:24 AM
Installation problem -cmu-extendedns-1.2.2 in ns-allinone-2.31 Anithagec Linux - Networking 0 09-25-2008 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration