LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-12-2011, 11:31 PM   #1
uttam
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Problem during installation NS2.34 in ubntu 10.04


During installation of ns2.34 i got following error

============================================================
* 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
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 accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -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 that g++ can handle -O2... 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-27-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 libotcl.so otcl.o so_locations
gcc-4.3 -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/atul/ns-allinone-2.34/include -I/home/atul/ns-allinone-2.34/include -I/home/atul/ns-allinone-2.34/include -I/include otcl.c
make: gcc-4.3: Command not found
make: *** [libotcl.so] Error 127
otcl-1.13 make failed! Exiting ...
 
Old 01-13-2011, 08:51 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ. .. .. ..
Quote:
make: gcc-4.3: Command not found
OTcl-1.13 : When you have a Makefile.in, Makefile modified to
CC = gcc-4.3 : Then you must of course install the package gcc-4.3.

sudo apt-get install gcc-4.3 g++-4.3
( Or use Synaptic for the package install.)

Other prerequisites : sudo apt-get install \
g++ libx11-dev libxmu-dev libxmu-headers libxt-dev libtool

..
 
1 members found this post helpful.
Old 01-15-2011, 03:52 AM   #3
uttam
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up Thank you for your valuable suggestion and precious time....

Quote:
Originally Posted by knudfl View Post
Welcome to LQ. .. .. ..

OTcl-1.13 : When you have a Makefile.in, Makefile modified to
CC = gcc-4.3 : Then you must of course install the package gcc-4.3.

sudo apt-get install gcc-4.3 g++-4.3
( Or use Synaptic for the package install.)

Other prerequisites : sudo apt-get install \
g++ libx11-dev libxmu-dev libxmu-headers libxt-dev libtool

..


THANK YOU VERY_VERY MUCH
YOU ARE AMAZING AND GENIUS............THANK A LOT.
 
  


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
NS2 installation problem in fedora 7 rahat ullah Linux - Newbie 5 10-27-2009 03:56 AM
ns2 installation problem kuberninad Linux - Newbie 2 10-04-2009 03:28 PM
didn't find file u7fixit.tar for ubntu usb installation? shams Ubuntu 5 12-10-2007 06:35 PM
NS2 installation problem on solaris 10 capricorn80 Solaris / OpenSolaris 19 11-02-2006 04:14 AM
ns2 installation problem in FC5 deep_jyotsingh Linux - Software 4 10-01-2006 07:17 PM


All times are GMT -5. The time now is 03:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration