PDA

View Full Version : [ubuntu] ns2.34 installation problem



deju
January 27th, 2012, 03:35 PM
Hi all,

I am having problems while installing ns2.34 on ubuntu 10.10 Packages tcl8.4.19 and tk8.4.19 are configured and installed correctly. i.e for each by running ./configure
make
sudo make install

My problem is on tclcl-1.19 and otcl-1.13. while i ran ./configure for each of these, i got the following.

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 ANSI C... 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 egrep... 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 ranlib... ranlib
checking for snprintf... yes
checking for ANSI C header files... (cached) yes
checking for strtoq... yes
checking for strtoll... yes
checking for long... yes
checking size of long... 4
checking for __int64_t... no
checking for long long... yes
checking for int64_t... yes
checking which kind of 64-bit int to use... int64_t
checking for tcl.h... -I/usr/local/include
checking for tclInt.h... no
checking for libtcl8.4... -L/usr/local/lib -ltcl8.4
checking for init.tcl... /usr/share/tcltk/tcl8.4
checking for http.tcl... /usr/share/tcltk/tcl8.4/http1.0
checking Tcl http.tcl library... yes
checking for tclsh8.4.14... no
checking for tclsh8.4... /usr/local/bin/tclsh8.4
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.

I have tried to provide the path for tcl and tk installation after identifying where they are located. In my case both are found under /usr/local/lib/tcl8.4 or tk8.4.
The error persists on this account too.

I need your help guys. Share your experience!!
thanks