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

installing nam 1.0a4



I am having trouble installing nam 1.0a4.  I have tclcl-1.0b6 and otcl-1.0a3 and Tcl/Tk 8.0.  I get the follwing when I run configure:

atlas{connors}#22: ./configure --enable-gcc --prefix=$HOME/sim-tools --exec_prefix=$HOME/sim-tools
loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... sparc-sun-solaris2.5.1
checking target system type... sparc-sun-solaris2.5.1
checking build system type... sparc-sun-solaris2.5.1
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for main in -lXbsd... (cached) no
checking for socket in -lsocket... (cached) yes
checking for gethostbyname in -lnsl... (cached) yes
checking for getnodebyname in -ldnet_stub... (cached) no
checking for tcl.h... -I/usr/local/include
checking for libtcl8.0... -R/usr/local/lib -L/usr/local/lib -ltcl8.0
checking for init.tcl... /usr/local/lib/tcl8.0
checking for tk.h... -I/usr/local/include
checking for libtk8.0... -R/usr/local/lib -L/usr/local/lib -ltk8.0
checking for tk.tcl... /usr/local/lib/tk8.0
checking for otcl.h... -I/home/dangle/connors/sim-tools/include
checking for libotcl0.96... -R/home/dangle/connors/sim-tools/lib -L/home/dangle/connors/sim-tools/lib -lotcl
checking for tclcl.h... -I../tclcl
checking for libtclcl1.0b3... -R../tclcl -L../tclcl -ltclcl
checking for tcl2c++... ../tclcl
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
checking for libXext.a
checking for Dbg.h... no
checking for libtcldbg... no
No explicit static compilation flag; setting V_STATIC to ""
checking for main in -ldl... (cached) yes
checking for a BSD compatible install... ./install-sh -c
creating ./config.status
creating Makefile

Then I run make and eventually get the follwing:

rm -f nam; c++   -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  lan.o gen/version.o gen/nam_tcl.o  -R../tclcl -L../tclcl -ltclcl -R/home/dangle/connors/sim-tools/lib -L/home/dangle/connors/sim-tools/lib -lotcl -R/usr/local/lib -L/usr/local/lib -ltk8.0 -R/usr/local/lib -L/usr/local/lib -ltcl8.0   -R/usr/openwin/lib -L/usr/openwin/lib -lXext -lX11  -lsocket -lnsl -ldl -ldl -lm  -ldl
/usr/local/lib/libtk8.0.a(tkFont.o): In function `Tk_GetFontMetrics':
tkFont.o(.text+0xcec): multiple definition of `Tk_GetFontMetrics'
tkcompat.o(.text+0x0): first defined here
view.o: In function `View::load_fonts(void)':
view.o(.text+0xee0): undefined reference to `Tk_GetFontStruct'
view.o: In function `View::free_fonts(void)':
view.o(.text+0xf78): undefined reference to `Tk_FreeFontStruct'
*** Error code 1
make: Fatal error: Command failed for target `nam'
atlas{connors}#24:

Any suggestions?

Dennis

-- 
Dennis P. Connors                       email: [email protected]
Research Staff Member                   phone: (310) 317-5261
Information Sciences Laboratory         fax: (310) 317-5695
URL: http://www.wins.hrl.com/2.0/people/connors

HRL Laboratories, L.L.C. 
(formerly Hughes Research Labs)
3011 Malibu Canyon Road
Malibu, CA  90265