LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 06-09-2010, 11:41 PM   #16
saif_ict
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: 0

when i want to install nsallinone 2.31 on fedora10, i got this error msg:
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1308: error: ‘Tk_FakeWin’ has no member named ‘atts’
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1308: error: ‘TkBorder’ has no member named ‘colormap’
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1311: error: ‘TkBorder’ has no member named ‘objRefCount’
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c: In function ‘TkDebugBorder’:
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1391: error: ‘TkWindow’ has no member named ‘dispPtr’
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1394: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1394: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1400: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1403: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/root/Desktop/SAIF/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1405: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Error 1
tk8.4.14 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com


anyone have idea how can i resolve it?
thx
 
Old 06-11-2010, 06:33 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
ns-allinone-2.31

Post # 16, @saif_ict.

cd ns-allinone-2.31/ && ./install
No errors, Fedora 10 , 11 , 12.
Same requirements as in your other thread. Forgot a package ?
http://www.linuxquestions.org/questi...2-31-a-801695/

How did that work out ?
..

One fundamental error is of course to use /root/
/root/ should not be used for anything. Never.
/home/saif/<folder> is the place for ns2.
..
 
1 members found this post helpful.
Old 06-21-2010, 02:30 AM   #18
shamilsons
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
More news about ns-2.26 ..
I found this link : http://norae.tistory.com/67 ,
which is referred to on other sites. Most often about ns-2.27.
( The link has been down for months.)

This file "ns-2.26-gcc410.patch" is supposed to make it
possible to compile ns-2.26 with gcc, g++ version 4.1.x.
CentOS 5.4 / RH EL 5 : 4.1.x is default.
Fedora 10, 11, 12 can use the 'Suse 11.2' gcc41***** packages.

I will test the patch some day ... ..
.....
Hello knudfl
sorry for late reply. I am very thankfull to you for your help.
I didnot reinstall my compiler but I changed the protocols source codes to work with particular compiler version.

One more time thank you for your help.
 
Old 06-21-2010, 04:45 AM   #19
Steveburner
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
I don't know about those protocols, so I have no idea.
 
Old 07-19-2010, 12:17 PM   #20
priyanshu90
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
installing ns2.27 on fedora 12

Quote:
Originally Posted by knudfl View Post
I don't know either of those protocols, so I have no idea.

What do you mean by ""they did work on 32 bit OS systems"" ?
Is your OS a 64 Bits one ? ?
.....

Still : Ns-allinone-2.27 should be possible to build on F 12.
.....
i already have installed ns2.34 successfully but my application requires ns2.27
i tried the solution you had given but it did not work..
i always get an error like
tclcl-1.15 make failed!! exiting

please help me with this, i will be grateful..
thanx in advance!!
 
Old 07-20-2010, 04:34 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
@priyanshu90 post #20: Welcome to LQ. .. ..

LQ Search >>> 'Tag Name' = ns227

Basic instructions post # 3 here
http://www.linuxquestions.org/questi...10-a-782356/#3

.. And in the above post # 7 about Fedora
http://www.linuxquestions.org/questi...12-a-797763/#7

Please read it (again) and see, that you are not really using
tclcl-1.15, but version 1.19 .
 
Old 07-20-2010, 11:05 AM   #22
priyanshu90
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
http://www.linuxquestions.org/questi...9.10-782356/#3

Installing 'gcc-3.3' / 'gcc-c++-3.3' is different from Ubuntu :
http://ftp.uwsg.iu.edu/array2/linux/...po/RPMS.extra/
http://ftp.uwsg.iu.edu/array2/linux/...s2007.i586.rpm
> gcc3.3-cpp-3.3.6-1pclos2007.i586.rpm

http://ftp.uwsg.iu.edu/array2/linux/...s2007.i586.rpm
> gcc3.3-3.3.6-1pclos2007.i586.rpm

http://ftp.uwsg.iu.edu/array2/linux/...s2007.i586.rpm
> gcc3.3-c++-3.3.6-1pclos2007.i586

http://ftp.uwsg.iu.edu/array2/linux/...s2007.i586.rpm
> libstdc++5-3.3.6-1pclos2007.i586
http://ftp.uwsg.iu.edu/array2/linux/...s2007.i586.rpm
> libstdc++5-devel-3.3.6-1pclos2007.i586
# rpm -Uvh <package> <package> <package> <package> <package>

ns-allinone-2.27/ns-2.27/Makefile.in , line 36-37
CC = gcc-3.3.6
CPP = g++-3.3.6
.. and nam-1.10/Makefile.in , line 44-45, the same.

cp tk-8.4-lastevent.patch ns-allinone-2.27/tk8.4.18/
cd ns-allinone-2.27/tk8.4.18/
patch -p0 < tk-8.4-lastevent.patch
................
./install
i did all the things successfully.. still getting the same error...
downloaded all the rpm files..
gave the command like rpm -Uvh gcc...
all was processed successfully..
applied patch successfully..
yet when i tried to install ns-2.27
it said tclcl-1.15 make failed..
exiting
 
Old 07-20-2010, 07:03 PM   #23
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
@ priyanshu90 , post # 22.

In post # 7 you have a link to
http://www.linuxquestions.org/questi...10-a-782356/#3
Did you make all the links, etc. ?
Code:
Having ns-allinone-2.27/ and ns-allinone-2.34/ in the same directory
e.g. /home/"username"/ns2/ :
cd ns-allinone-2.27/
mv otcl-1.8/ back-otcl-1.8
mv tcl8.4.5/ back-tcl8.4.5
mv tclcl-1.15/ back-tclcl-1.15
mv tk8.4.5/ back-tk8.4.5

ln -s ../ns-allinone-2.34/tcl8.4.18/
ln -s ../ns-allinone-2.34/tcl8.4.18/ tcl8.4.5
ln -s ../ns-allinone-2.34/tk8.4.18/
ln -s ../ns-allinone-2.34/tk8.4.18/ tk8.4.5
ln -s ../ns-allinone-2.34/otcl-1.13/
ln -s ../ns-allinone-2.34/otcl-1.13/ otcl-1.8
ln -s ../ns-allinone-2.34/tclcl-1.19/
ln -s ../ns-allinone-2.34/tclcl-1.19/ tclcl-1.15

mkdir include ( If not present.)
cd include/
ln -s ../tcl8.4.18/generic/tclInt.h
ln -s ../tcl8.4.18/generic/tclIntDecls.h
( These two links may already be present.)

Apply the tk-8.4-lastevent.patch in tk8.4.14.
Apply the otcl-113-configure.in.patch in otcl-1.13.

Then : ./install , in the ns-allinone-2.27/ top directory.
 
1 members found this post helpful.
Old 07-21-2010, 11:23 AM   #24
priyanshu90
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
installing ns2.27 on Fedora 12

Thanks a lot sir... Ns 2.27 installed successfully!!!

Last edited by priyanshu90; 07-21-2010 at 11:38 AM. Reason: Problem Solved
 
  


Reply

Tags
ns2, ns226, ns234


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing ns-allinone-2.34 Liza Linux - Newbie 1 03-18-2010 01:33 PM
Problem installing ns-allinone 2.34 Liza Linux - General 1 03-18-2010 01:08 PM
I am getting problem in nam-1.11 while installing ns-allinone-2.29 on fedora core 5 deodutta Linux - General 0 02-03-2007 10:38 PM
Problem installing Fedora Core 5 The Redneck Linux - Software 2 07-26-2006 07:07 PM
Problem for Installing Fedora Core 2 shipon_97 Linux - General 1 11-14-2005 09:28 AM


All times are GMT -5. The time now is 09:16 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration