LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-28-2009, 09:56 AM   #1
kuberninad
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
Ns-2 installation on ubuntu


I am installing ns-2 on ubuntu using allinone package 2.34.
tcl got installed, but it showed errors while compiling and installing
tk8.4.18. errors were:
./install errors

--------------------------------------------------------------------------------

Quote:
Originally Posted by repo
Does install give you error messages?

yes sir ...
./install

gives a huge bunch of errors like this ....

/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1301: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1301: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1306: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1307: error: ‘Tk_FakeWin’ has no member named ‘display’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1307: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1307: error: ‘TkBorder’ has no member named ‘screen’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1308: error: ‘Tk_FakeWin’ has no member named ‘atts’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1308: error: ‘TkBorder’ has no member named ‘colormap’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1311: error: ‘TkBorder’ has no member named ‘objRefCount’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c: In function ‘TkDebugBorder’:
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1391: error: ‘TkWindow’ has no member named ‘dispPtr’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1394: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1394: error: ‘TkDisplay’ has no member named ‘borderTable’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1400: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1403: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/neeraj/Ns/ns-allinone-2.33/tk8.4.18/unix/../generic/tk3d.c:1405: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Error 1
tk8.4.18 make failed! Exiting ...

------------------------------------------------------------------------
also don't have net on machine where ia minstalling ns-2.
how to install libtool,libxmu etc.i have those packages,but don't know how to install them?
please help..
 
Old 10-28-2009, 11:32 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Most of the answers is to be found in your other thread :

http://www.linuxquestions.org/questi...ffline-765055/

Please move all packages to a new empty directory.

Open the terminal window and type :
1) cd new-directory/
2) sudo dpkg -i <package> <package> <package> <package> <package>
.. or .. 2a) sudo dpkg -i *.deb
.. where the star ( * ) is a wildcard, selecting all packages.
.....

Last edited by knudfl; 10-28-2009 at 11:40 AM.
 
  


Reply

Tags
ubuntu



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
Trying to make an ubuntu installation disk, using ubuntu. belladivediva Ubuntu 5 03-02-2009 11:47 PM
Ubuntu 8.10 Installation daniell Linux - Newbie 3 12-21-2008 08:56 AM
Stalled installation of Ubuntu 7 on top of Ubuntu 6 Bill41 Linux - Newbie 5 06-21-2008 04:49 PM
LXer: Printing with Ubuntu: Insights for a quick and easy Ubuntu printer installation LXer Syndicated Linux News 0 06-03-2006 09:54 AM
ubuntu installation and ubuntu live cd morphixrocks Ubuntu 2 01-21-2006 02:12 PM

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

All times are GMT -5. The time now is 06:22 AM.

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