Problem installing ns-allinone-2.34 on Fedora Core 12 ...
Linux - SoftwareThis 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.
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.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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
"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
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
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.)
.....
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.
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 ?.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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.
.....
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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.
.....
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.
.....
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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
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
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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++.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.