LinuxQuestions.org
Help answer threads with 0 replies.
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 03-25-2010, 05:30 AM   #1
shamilsons
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Rep: Reputation: 0
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.
 
Old 03-25-2010, 03:14 PM   #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
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.
 
Old 03-26-2010, 09:16 AM   #3
shamilsons
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
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
 
Old 03-26-2010, 10:34 AM   #4
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
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.
 
Old 03-28-2010, 11:56 PM   #5
shamilsons
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
"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.
 
Old 03-29-2010, 12:32 AM   #6
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
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.
 
Old 03-29-2010, 03:51 PM   #7
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
Installing ns-allinone-2.27 on Fedora 12, 32 Bits

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
Attached Files
File Type: txt tk-8.4-lastevent.patch.txt (844 Bytes, 309 views)

Last edited by knudfl; 03-29-2010 at 03:54 PM.
 
1 members found this post helpful.
Old 03-30-2010, 12:07 AM   #8
shamilsons
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
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.
.....
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 ?.
 
Old 03-30-2010, 12:38 AM   #9
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
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.
 
Old 04-08-2010, 01:22 PM   #10
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
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.
.....
 
Old 04-09-2010, 12:08 AM   #11
shamilsons
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
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.
 
Old 04-09-2010, 03:48 AM   #12
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
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

.....
 
Old 04-16-2010, 07:10 AM   #13
shamilsons
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
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
 
Old 04-17-2010, 06:56 AM   #14
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
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.)

.....
 
Old 04-18-2010, 01:46 PM   #15
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
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 ... ..
.....
Attached Files
File Type: txt ns-2.26-gcc410.patch.txt (25.8 KB, 117 views)

Last edited by knudfl; 07-21-2011 at 10:28 AM.
 
  


Reply

Tags
ns2, ns226, ns234



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
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

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

All times are GMT -5. The time now is 08:35 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