To whom this may concern,

The issue that we currently face is properly installing nam-1.13 for the 
purpose visualizing our simulations.

For additional knowledge to assist with our issue, I have currently installed 
on my Linux Operating System, but not limited to:
1. Redhat Enterprise Linux 6.4 (x84_64 (64 bit))
2. ns-allinone-2.33
3. gcc-4.4.7-3.el6.x86_64 (might be of concern).

To clarify, ns-2.33 does run/ executes without an issue, but if I choose to 
implement the network animator (nam), then I receive the following issue:

               [root ex]# ns simple.tcl
210
0.0037499999999999999
running nam...
ns: finish: couldn't execute "nam": no such file or directory
    while executing
"exec nam out.nam &"
    (procedure "finish" line 8)
    invoked from within
"finish"



However, during the installation process we noticed that the nam-1.13 did not 
build correctly, the following output was:

     ============================================================
* Build nam-1.13
============================================================
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 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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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... no
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
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.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 libtcldbg... no
checking for otcl.h... -I../otcl-1.13
checking for libotcl1.13... -L../otcl-1.13 -lotcl
checking for tclcl.h... -I../tclcl-1.19
checking for libtclcl... -L../tclcl-1.19 -ltclcl
checking for tcl2c++... ../tclcl-1.19
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... 8
checking for strtol... yes
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
config.status: autoconf.h is unchanged
rm -f nam
g++   -o nam \
           tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o packet.o 
node.o main.o trace.o queue.o drop.o animation.o agent.o feature.o route.o 
transform.o paint.o state.o monitor.o anetmodel.o random.o rng.o view.o 
graphview.o netgraph.o tracehook.o lan.o psview.o group.o editview.o tag.o 
address.o animator.o wnetmodel.o nam_stream.o enetmodel.o testview.o parser.o 
trafficsource.o lossmodel.o queuehandle.o gen/version.o gen/nam_tcl.o  
-L/usr/local/bin/ns-allinone-2.33/tclcl-1.19 -ltclcl 
-L/usr/local/bin/ns-allinone-2.33/otcl-1.13 -lotcl 
-L/usr/local/bin/ns-allinone-2.33/lib -ltk8.4 
-L/usr/local/bin/ns-allinone-2.33/lib -ltcl8.4 -lXext -lX11 -lnsl -ldl -lm
Nam make failed! Continue ...
See http://www.isi.edu/nsnam/ns-problems.html for problems

If you could provide a solution, then much would be appreciated. Feel free to 
reply to this e-mail, if you have any questions, concerns, or require 
additional information. Have a great day!

--
Respectfully,
Frank Aline

Reply via email to