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. |
Hi,
following the link in your post leads to this: http://nsnam.isi.edu/nsnam/index.php...86_64_platform Which says: Quote:
|
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 |
Thank You so much for trying to help mp035
thank u .. |
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:
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/ . |
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 |
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::pointer, 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::pointer, 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 |
# 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 . |
Thank you so much knudfl
Can u be a bit more detail please .... if u have time though |
# 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 . |
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 |
Please show the output from the command : uname -m
And : cat /etc/redhat-release . |
has any one been succesfully installed enhance network simulator in ubuntu 10
I tried but does not work,neither in fedora nor ubuntu |
I realy appreciate u , knudfl for ur help
i thought that in ubuntu it will be done but still i got problems |
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 . |
All times are GMT -5. The time now is 02:54 AM. |