[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nam-1.0a8 on a Sun





  Dear ns-users, dear Haobo, dear Miroslav,

I have managed to built nam release 1.0a8 on solaris 2.6 using the packet
in pieces (no standard tcl/tk/otcl from ns-allinone).
The problem was that the executable file nam* was 
statically and not dynamically
linked to the tcl/tk8.0.4 libraries. By configuring
the tcl8.0.4 packet and using the switch "--enable-shared" the make command
was broken with Error 1. Leaving the above switch away one creates the 
static libraries libtcl8.0.a and libtk8.0.a and a statically linked nam
as I said which is useless.
Holding the new sources tcl8.0.5 and tk8.0.5 one doesn't have the problem
anymore which seems to be SPARC special.
The functioning nam1.0a8 gives now on my Sun

8-)ldd nam
	libtk8.0.so =>	 /myhome/simulator/lib/libtk8.0.so
	libtcl8.0.so =>	 /myhome/simulator/lib/libtcl8.0.so
	libotcl.so =>	 /myhome/simulator/lib/libotcl.so
	libz.so.1.1.2 =>	 /usr/local/lib/libz.so.1.1.2
	libXext.so.0 =>	 /usr/lib/libXext.so.0
	libX11.so.4 =>	 /usr/lib/libX11.so.4
	libsocket.so.1 =>	 /usr/lib/libsocket.so.1
	libnsl.so.1 =>	 /usr/lib/libnsl.so.1
	libintl.so.1 =>	 /usr/lib/libintl.so.1
	libdl.so.1 =>	 /usr/lib/libdl.so.1
	libm.so.1 =>	 /usr/lib/libm.so.1
	libc.so.1 =>	 /usr/lib/libc.so.1
	libmp.so.2 =>	 /usr/lib/libmp.so.2

I hope it can be helpful for some people:
Anastasia Leventi-Peetz