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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
03-25-2010, 05:30 AM
|
#1
|
LQ Newbie
Registered: Mar 2010
Posts: 7
Rep:
|
Problem installing ns-allinone-2.34 on Fedora Core 12 ...
Hello everyone,
I tried to install the ns-allinone-2.34 on Fedora Core 12 but I got an error as below.
--------------------------------------------------------------------
make: Circular /home/shamilsons/SIP-NS2 <- /home/shamilsons/SIP-NS2 dependency dropped.
make: Circular Project <- /home/shamilsons/SIP-NS2 dependency dropped.
make: Circular Project <- Project dependency dropped.
make: *** No rule to make target `Files/ns-allinone-2.34/tcl8.4.18/unix/../generic/tcl.decls', needed by `Project'. Stop.
tcl8.4.18 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
--------------------------------------------------------------------
then I searched on the forum and found the thread http://www.linuxquestions.org/questi...ora-11-750634/ for lower version so I followed it but still get the same error message.
What is the problem how to rectify it ?
thank you.
|
|
|
03-25-2010, 03:14 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Welcome to LQ.
It is not quite clear, what you are doing.
"/home/shamilsons/SIP-NS2" : what is this ?
"Files/ns-allinone-2.34/" : and what is this ?
.....
The recommended build directory, etc.
/home/<username>/<dir>/ns-allinone-2.34/
e.g. /home/shamilsons/ns2/ns-allinone-2.34/
→ cd ns2/ns-allinone-2.34/
./install
There is at least one bug, please look here ( the tk bug )
http://www.linuxquestions.org/questi...ns2-791067/#10
→ post # 10
.....
More info : LQ Search
http://www.linuxquestions.org/questions/search.php
> > > "Tag Name" = ns2
.....
Last edited by knudfl; 03-25-2010 at 03:17 PM.
|
|
|
03-26-2010, 09:16 AM
|
#3
|
LQ Newbie
Registered: Mar 2010
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
Welcome to LQ.
It is not quite clear, what you are doing.
"/home/shamilsons/SIP-NS2" : what is this ?
"Files/ns-allinone-2.34/" : and what is this ?
.....
The recommended build directory, etc.
/home/<username>/<dir>/ns-allinone-2.34/
e.g. /home/shamilsons/ns2/ns-allinone-2.34/
→ cd ns2/ns-allinone-2.34/
./install
There is at least one bug, please look here ( the tk bug )
http://www.linuxquestions.org/questi...ns2-791067/#10
→ post # 10
.....
More info : LQ Search
http://www.linuxquestions.org/questions/search.php
> > > "Tag Name" = ns2
.....
|
Hello knudfl thanks for warm welcome and valuable reply.
I was able to install the ns-2.34 and validate it.
Actually I need to install the ns-2.27 and ns-2.26 on Fedora Core 12.
So I downloaded and tried to install them but I got an error as below.
============================================================
* Build OTcl-1.8
============================================================
No .configure file found in current directory
Continuing with default options...
checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
configure: error: /bin/sh ./config.sub x86_64-unknown-linux-gnu failed.
otcl-1.8 configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.
--------------------------------------------------------------
I searched on the internet and tried to find some fixes but they didnot work. Any idea ?.
thanks
|
|
|
03-26-2010, 10:34 AM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
ns-allinone-2.26 .. .. ns-allinone-2.27
"ns-allinone-2.27" can be built on a modern Linux.
http://www.linuxquestions.org/questi...9.10-782356/#3
> post # 3.
( Is about 32 bit OS. But x86_64 , 64 bit OS: I don't know.)
I may test ns-allinone-2.27 on Fedora 12,
later, when I have the time to do it.
.....
"ns-allinone-2.26" can only be built on CentOS 3.9 (( Or Redhat EL3 )).
EDIT : See posts # 12 and # 15.
.....
Info ns-2.27 : 'LQ Search' → "Tag Name" = ns227
http://www.linuxquestions.org/questions/search.php
ns2 : "Tag Name" = ns2
ns-2.27 + LEACH : "Tag Name" = leach
ns-2.26 , ns-2.26-aodv-uu-mip' : "Tag Name" = ns226
.....
So which "special option" is your reason for ns-2.26 ?
.....
Last edited by knudfl; 07-21-2011 at 10:30 AM.
|
|
|
03-28-2010, 11:56 PM
|
#5
|
LQ Newbie
Registered: Mar 2010
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
"ns-allinone-2.27" can be built on a modern Linux.
http://www.linuxquestions.org/questi...9.10-782356/#3
> post # 3.
( Is about 32 bit OS. But x86_64 , 64 bit OS: I don't know.)
I may test ns-allinone-2.27 on Fedora 12,
later, when I have the time to do it.
.....
"ns-allinone-2.26" can only be built on CentOS 3.9
(( Or Redhat EL3 )).
I have / or can create binaries, that work on Fedora.
( I mailed some to another LQ member, for Fedora 9.)
.....
Info ns-2.27 : 'LQ Search' → "Tag Name" = ns227
http://www.linuxquestions.org/questions/search.php
ns2 : "Tag Name" = ns2
ns-2.27 + LEACH : "Tag Name" = leach
ns-2.26 , ns-2.26-aodv-uu-mip' : "Tag Name" = ns226
.....
So which "special option" is your reason for ns-2.26 ?
.....
|
Hello knudfl
Thanks for valuable replies.
The reason why I need ns-2.27 and ns-2.26 versions is I want to simulate SIP,IPSec and TLS protocols and mentioned protocols some of them implemented in ns-2.26 and some of them on ns-2.27. so that I can show my students.
Of course there is a second way to do so, If I want them to work on ns-2.34 then I have to integrate them to ns-2.34.
How do you think will it be problem in integration of these protocols on ns-2.34 while they were working on 32 bit OS systems ?
thanks.
|
|
|
03-29-2010, 12:32 AM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Quote:
...will it be problem in integration of these protocols
on ns-2.34 while they were working on 32 bit OS systems ?
|
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.
.....
Last edited by knudfl; 03-29-2010 at 12:37 AM.
|
|
|
03-30-2010, 12:07 AM
|
#8
|
LQ Newbie
Registered: Mar 2010
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
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.
.....
|
No my system is 32 bit OS but you told about 64 bit OS and I wanted to mean that they were working on RedHat version but it is ok for now.
As I understood you properly I have to install the given gcc version to my FC 12 right ? if so would not it be a problem for FC 12 current gcc ?.
|
|
|
03-30-2010, 12:38 AM
|
#9
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
No, I have not mentioned any instructions for 64 Bits OS.
The actions described in post # 7, is what I have on my Fedora 12.
.... You can have as many compilers installed at the same time,
as you want. These 'compat' compilers are made not to have any
conflicting files. The default "compat" compiler(s) for Fedora
is the compat-gcc-34 / compat-gcc-34-c++, good for many things,
but not usable with ns-2.27 .
And the ns-allinone-2.27/ns-allinone-2.34 "combined"
was test compiled on my Fedora 12 ten hours ago :
No errors. 'ns' + 'nam' commands work OK.
.....
Last edited by knudfl; 03-30-2010 at 04:32 AM.
|
|
|
04-08-2010, 01:22 PM
|
#10
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Compiling ns-2.26 with gcc-3.3.3 on Fedora 12
This week I created a gcc-3.3.3 / g++-3.3.3 for EL 5,
CentOS 5.x / SL54. The ns-allinone-2.26 was used to test
the compilers. Worked out perfect.
So why not try the same on Fedora 12 ..........
The two compiler packages were installed, and again :
The compilation of ns-allinone-2.26 ran with no errors.
I can upload gcc33-3.3.3el5-1.i386.rpm, gcc33c++-3.3.3el5-1.i386.rpm
to an email, if you want to use them.
.....
|
|
|
04-09-2010, 12:08 AM
|
#11
|
LQ Newbie
Registered: Mar 2010
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
This week I created a gcc-3.3.3 / g++-3.3.3 for EL 5,
CentOS 5.x / SL54. The ns-allinone-2.26 was used to test
the compilers. Worked out perfect.
So why not try the same on Fedora 12 ..........
The two compiler packages were installed, and again :
The compilation of ns-allinone-2.26 ran with no errors.
I can upload gcc33-3.3.3el5-1.i386.rpm, gcc33c++-3.3.3el5-1.i386.rpm
to an email, if you want to use them.
.....
|
Hello knudfl for your help it is very valuable.
|
|
|
04-09-2010, 03:48 AM
|
#12
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
The suse 11.2 compat gcc33-3.3.3 .. Fedora 12
An even more convinient solution for ns-allinone-2.26 is now tested
http://download.opensuse.org/distrib...oss/suse/i586/
cpp33-3.3.3-15.3.i586.rpm gcc33-3.3.3-15.3.i586.rpm
gcc33-c++-3.3.3-15.3.i586.rpm libstdc++33-devel-3.3.3-15.3.i586.rpm
Edit Makefile.in :
tcl8.3.2/unix/, tk8.3.2/unix/, otcl-1.0a8/, tclcl-1.0b13/, nam, ns-2.26 ,,, to this
CC = gcc-3.3
CPP = g++-3.3
.....
|
|
|
04-16-2010, 07:10 AM
|
#13
|
LQ Newbie
Registered: Mar 2010
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
An even more convinient solution for ns-allinone-2.26 is now tested
http://download.opensuse.org/distrib...oss/suse/i586/
cpp33-3.3.3-15.3.i586.rpm gcc33-3.3.3-15.3.i586.rpm
gcc33-c++-3.3.3-15.3.i586.rpm libstdc++33-devel-3.3.3-15.3.i586.rpm
Edit Makefile.in :
tcl8.3.2/unix/, tk8.3.2/unix/, otcl-1.0a8/, tclcl-1.0b13/, nam, ns-2.26 ,,, to this
CC = gcc-3.3
CPP = g++-3.3
.....
|
hello knudfl,
As I downloaded above packages but they are for suse. Will it be problem if I install them to fedore core 12 ?.
thanks
|
|
|
04-17-2010, 06:56 AM
|
#14
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
The Suse packages work OK. Every time.
To be installed with "chain install" :
1) su
2) rpm -Uvh <package> <package> <package> <package>
( You may need libstdc++33-3.3.3-15.3.i586.rpm too.)
.....
|
|
|
04-18-2010, 01:46 PM
|
#15
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
ns-2.26-gcc410.patch
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.
EDIT : Use g++ 3.4 : # yum install compat-gcc-34-c++.
I will test the patch some day ... ..
.....
Last edited by knudfl; 07-21-2011 at 10:28 AM.
|
|
|
All times are GMT -5. The time now is 02:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|