LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2012, 04:52 AM   #1
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Rep: Reputation: Disabled
Unhappy Problems when trying to install ns-allinone-2.1b9a in fedora 14 with the patch


I have got this problem when trying to install ns-allinone-2.1b9a in fedora 14 with the patch

Can any one help me

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.0a8 configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.
 
Old 06-28-2012, 05:03 AM   #2
mp035
LQ Newbie
 
Registered: May 2006
Posts: 7

Rep: Reputation: 1
Hi,

following the link in your post leads to this:
http://nsnam.isi.edu/nsnam/index.php...86_64_platform

Which says:
Quote:
New solution: Use the ns-allinone-2.29.3.tar.gz package.
 
1 members found this post helpful.
Old 07-06-2012, 01:00 AM   #3
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
how to solve this error guys

tclcl-mappings.h: In static member function `static int TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)':
tclcl-mappings.h:51: error: incomplete type `Tcl' used in nested name specifier
tclcl-mappings.h:52: error: invalid use of undefined type `struct Tcl'
tclcl-mappings.h:41: error: forward declaration of `struct Tcl'
tclcl-mappings.h:57: error: invalid use of undefined type `struct Tcl'
tclcl-mappings.h:41: error: forward declaration of `struct Tcl'
make: *** [Tcl.o] Error 1

Last edited by wanlumlang; 07-06-2012 at 01:02 AM.
 
Old 07-06-2012, 01:02 AM   #4
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thank You so much for trying to help mp035
thank u ..
 
Old 07-06-2012, 03:16 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
NS 2.1b9 , Fedora 14 - 64bits.

Suggest : Use ns-allinone-2.1b9a-gcc32.tar.gz
http://www.isi.edu/nsnam/dist/ns-all...a-gcc32.tar.gz

Quote:
checking build system type... Invalid configuration
`x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
Solution :
Please edit the file "install", 1) line 247 :
./configure || die "otcl-$OTCLVER configuration failed! Exiting ..."
... Edit to :
./configure --build=pentium || die "otcl-$OTCLVER configuration failed! Exiting ..."

2) Line 268, edit to :
./configure --build=pentium || die "tclcl-$TCLCLVER configuration failed! Exiting ..."

3) Line 319, edit to :
./configure --build=pentiun || die "Nam configuration failed! Exiting ..."

If "nam" isn't usable : Any binary nam can be used, e.g. nam-1.14 :
https://docs.google.com/open?id=0B7S...NiYjY0ODE1YmQw

cd ns-allinone-2.1b9/ && export CC=gcc-3.3 CXX=g++-3.3 && ./install : OK.
The SLED 10 compilers gcc33/gcc33-c++ x86_64 were used ...
http://download.opensuse.org/reposit...10_SDK/x86_64/

.

Last edited by knudfl; 07-06-2012 at 03:18 AM.
 
1 members found this post helpful.
Old 07-06-2012, 06:49 AM   #6
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thank U so much knudfl but now i have move ahead and face another kinds of errors and its as below

In file included from diffusion3/lib/nr/nr.cc:27:
diffusion3/lib/nr/nr.hh:205: error: an explicit specialization must be preceded by 'template <>'
diffusion3/lib/nr/nr.hh:220: error: an explicit specialization must be preceded by 'template <>'
make: *** [diffusion3/lib/nr/nr.o] Error 1


Can any one help me guys, I try to solve but nothing is progressing
 
Old 07-06-2012, 07:19 AM   #7
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
guys i have another problem now

In member function `void std::vector<bool, _Alloc>::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)':
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_bvector.h:522: error: expected unqualified-id before '(' token
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_bvector.h: In member function `void std::vector<bool, _Alloc>::_M_fill_insert(std::_Bit_iterator, size_t, bool)':
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_bvector.h:823: error: expected unqualified-id before '(' token
In file included from /usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/vector:75,
from ./diffusion3/lib/nr/nr.hh:34,
from ./diffusion3/lib/main/message.hh:48,
from ./diffusion3/lib/main/filter.hh:41,
from ./diffusion3/lib/dr.hh:41,
from diffusion3/ns/diffagent.h:40,
from diffusion3/ns/difftimer.cc:34:
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator<typename _Alloc:ointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)':
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc:307: error: expected unqualified-id before '(' token
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_range_insert(__gnu_cxx::__normal_iterator<typename _Alloc:ointer, std::vector<_Tp, _Alloc> >, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)':
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc:384: error: expected unqualified-id before '(' token
make: *** [diffusion3/ns/difftimer.o] Error 1

I'm starting to hate installing network simulator now
 
Old 07-06-2012, 07:42 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7.

Well, you are using g++34 from gcc-3.4.6.
The latest g++ that will work with the gcc32 patched ns-2.1b9 is :
g++-3.3 from gcc-3.3.3 http://download.opensuse.org/reposit...10_SDK/x86_64/

rpm -Uvh cpp33-3.3.3-37.1.x86_64.rpm
rpm -Uvh --nodeps gcc33-3.3.3-37.1.x86_64.rpm
rpm -Uvh libstdc++33-3.3.3-37.1.x86_64.rpm
rpm -Uvh libstdc++33-devel-3.3.3-37.1.x86_64.rpm
rpm -Uvh gcc33-c++-3.3.3-37.1.x86_64.rpm

.
 
Old 07-09-2012, 12:59 AM   #9
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thank you so much knudfl

Can u be a bit more detail please
.... if u have time though
 
Old 07-09-2012, 03:42 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9

Details : 1) Download the gcc33* packages from the link.
2) cd Downloads/
3) su
4) Install the packages with the commands from post # 8
5) exit
6) Do 'make clean' in tcl8*/unix/, tk8*/unix/, otcl*/, tclcl*, ns-2*/,
..... and delete all 'Makefile' ( if any ).
Or start from scratch with a new unpacked ns-allinone-2.1b9a-gcc32.tar.gz .
7) cd ns-allinone-2.1b9/ && export CC=gcc-3.3 CXX=g++-3.3 && ./install

.

Last edited by knudfl; 07-09-2012 at 05:58 AM.
 
Old 07-12-2012, 12:31 AM   #11
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thank you knudfl

I have tried all ur solutions but it doesnt work

I'm using fedora 14 and i got this error

rpm -Uvh cpp33-3.3.3-37.1.x86_64.rpm
warning: cpp33-3.3.3-37.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6300dadb: NOKEY
error: Failed dependencies:
libc.so.6()(64bit) is needed by cpp33-3.3.3-37.1.x86_64
libc.so.6(GLIBC_2.11)(64bit) is needed by cpp33-3.3.3-37.1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by cpp33-3.3.3-37.1.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by cpp33-3.3.3-37.1.x86_64
[root@itlab-14 gcc]#

I have tried with i586 too but other bugs are there ufffffffff

its ok

but m very grateful to you
 
Old 07-12-2012, 02:16 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please show the output from the command : uname -m


And : cat /etc/redhat-release



.

Last edited by knudfl; 07-12-2012 at 02:18 AM.
 
Old 07-24-2012, 02:54 AM   #13
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
has any one been succesfully installed enhance network simulator in ubuntu 10

I tried but does not work,neither in fedora nor ubuntu
 
Old 07-24-2012, 02:55 AM   #14
wanlumlang
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
I realy appreciate u , knudfl for ur help

i thought that in ubuntu it will be done but still i got problems
 
Old 07-24-2012, 07:24 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ubuntu cannot be used for ns-allinone-2.1b9.

Please use the two commands, post # 12 :

1) And show the output from : uname -m
2) And from : cat /etc/redhat-release

.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems downloading ns-allinone-2.34 or 2.35 ambikanadig Linux - Software 11 03-26-2012 11:36 AM
Error in applying A new Queue ( OLBP Scheme-user defined) patch to ns-allinone-2.33 mohak.nk Linux - Networking 1 11-18-2011 02:52 PM
How to install ns-allinone-2.1b9a in Ubuntu 10.10 andolby Linux - Software 1 03-28-2011 08:21 AM
How to install NS 2-1b9a on fedora 8 bm_ns2 Linux - Newbie 8 01-28-2011 07:28 AM
installation of ns-allinone-2.33 on fedora 11 xwz Linux - Software 12 09-03-2009 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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