[ns] nam installation problem

Pragasen Mudali pmudali at gmail.com
Wed Aug 30 12:01:22 PDT 2006


I have installed ns-allinone-2.29 on an Ubuntu Linux machine with gcc
version 4:4.0.3-1.
The installation process completes but when I tried to follow the tutorial,
I got error messages. This prompted me to trace throught the installation
output. Listed below is the output for the installation of nam.

All help with the error is appreciated


============================================================
* Build nam-1.11
============================================================
checking for gcc... gcc
checking for C compiler default output... 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 how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
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... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ANSI C header files... (cached) 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 for zlib.h... -I/usr/include
checking for libz1.1.4... -L/usr/lib -lz
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... no
warning: compiling without -lXext
checking for tcl.h... -I../include
checking for libtcl8.4... -L../lib -ltcl8.4
checking for init.tcl... ../lib/tcl8.4
checking for tclsh8.4.11... 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 libtcldbg... no
checking for otcl.h... -I../otcl-1.11
checking for libotcl1.11... -L../otcl-1.11 -lotcl
checking for tclcl.h... -I/home/user/ns-allinone-2.29/tclcl-1.17
checking for libtclcl... -L/home/user/ns-allinone-2.29/tclcl-1.17 -ltclcl
checking for tcl2c++... /home/user/ns-allinone-2.29/tclcl-1.17
checking return type of random... long
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... 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 snprintf... yes
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
config.status: creating autoconf.h
creating ./gen
rm -f tkcompat.o; gcc -o tkcompat.o -c  -DTCL_TK  -DNDEBUG -DUSE_SHM
-DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H
-DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_LIBZ1_1_4
-DHAVE_ZLIB_H  -I. -I/home/user/ns-allinone-2.29/tclcl-1.17 -I/home/user/ns-
allinone-2.29/otcl-1.11 -I/home/user/ns-allinone-2.29/include
-I/home/user/ns-allinone-2.29/include -I/usr/include tkcompat.c
rm -f tkUnixInit.o; gcc -o tkUnixInit.o -c  -DTCL_TK  -DNDEBUG -DUSE_SHM
-DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H
-DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_LIBZ1_1_4
-DHAVE_ZLIB_H  -I. -I/home/user/ns-allinone-2.29/tclcl-1.17 -I/home/user/ns-
allinone-2.29/otcl-1.11 -I/home/user/ns-allinone-2.29/include
-I/home/user/ns-allinone-2.29/include -I/usr/include  tkUnixInit.c
rm -f xwd.o; gcc -o xwd.o -c  -DTCL_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL
-DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H
-DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_LIBZ1_1_4 -DHAVE_ZLIB_H  -I.
-I/home/user/ns-allinone-2.29/tclcl-1.17 -I/home/user/ns-allinone-2.29/otcl-
1.11 -I/home/user/ns-allinone-2.29/include
-I/home/user/ns-allinone-2.29/include
-I/usr/include  xwd.c
xwd.c:87:29: error: X11/Xmu/WinUtil.h: No such file or directory
make: *** [xwd.o] Error 1

-- 
Pragasen Mudali


More information about the Ns-users mailing list