Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-18-2011, 01:48 PM   #1
LQ Newbie
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
problem installing ns2

had a complete view of all data available on net to install ns2,but just cudnt sucessfully install it.kindly help me out.

tk8.4.18 installation succeeded.
* Build OTcl-1.13
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc-4.3
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.3 accepts -g... yes
checking for gcc-4.3 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++-4.3 accepts -g... yes
checking how to run the C preprocessor... gcc-4.3 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking standard STL is available... no
checking for tcl.h... -I../include
checking for tclInt.h... -I../include
checking for libtcl8.4... -L../lib -ltcl8.4
checking for init.tcl... ../lib/tcl8.4
checking for http.tcl... ../lib/tcl8.4/http1.0
checking Tcl http.tcl library... yes
checking for tclsh8.4.18... no
checking for tclsh8.4... ../bin/tclsh8.4
checking for tk.h... -I../include
checking for libtk8.4... -L../lib -ltk8.4
checking for tk.tcl... ../lib/tk8.4
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking system version (for dynamic loading)... Linux-2.6.32-26-generic
No explicit static compilation flag; setting V_STATIC to ""
checking for dlopen in -ldl... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
rm -f otcl.o so_locations
make: gcc-4.3@: Command not found
make: *** [] Error 127
otcl-1.13 make failed! Exiting ...
See for problems

till lk,it all worked fine,problem arises in this part otcl that i mentioned.i gave the following command-
CC=gcc-4.3 CXX=g++-4.3 ./install

im using ubuntu 10.04
Old 02-18-2011, 02:02 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,939
Blog Entries: 14

Rep: Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160
It says
make: gcc-4.3@: Command not found
That implies it is looking for a command named "gcc-4.3@" which might be a bug in the Makefile. Presumably the command would be "gcc" or maybe even "gcc-4.3" but not likely "gcc-4.3@" Also "not found" often means it isn't in the PATH variable so after you find out the real name of the command be sure the PATH variable includes it's directory. Here I don't think issue is the PATH but rather the Makefile as noted above.

To check PATH type "echo $PATH". If gcc is in /usr/bin then make sure you see "/usr/bin" separated by colon from other entries on the line. (e.g. /bin:/usr/bin:/usr/local/bin
Old 02-18-2011, 04:30 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,696

Rep: Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290
Welcome to LQ.

Very simple : sudo apt-get install g++-4.3

.. providing /usr/bin/gcc-4.3 , /usr/bin/g++-4.3

And it is correct, that compiling otcl-1.13 with gcc-4.3
is considered to be the proof method.


Last edited by knudfl; 02-18-2011 at 04:33 PM.


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
Problem in installing NS2 allinone 2.34 into Fedora 8i goroogee Linux - Software 3 04-17-2010 07:02 AM
Problem installing NS2 sandhya_it17m Linux - Software 5 01-11-2010 03:53 AM
[SOLVED] problem in installing ns2.33 in ubuntu 8.10 neeraj.dwivedi Linux - Newbie 18 09-12-2009 08:00 AM
Problem in installing NS2 in fedora 5 arunram Linux - Software 6 03-14-2009 07:49 AM
Problem Installing NS2 in Ubuntu 7.10 smetya Linux - Software 5 04-27-2008 08:27 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration