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

Re: nam install problem



Hi Yu,

If you just want to use nam, you can download the binary file for solaris at 
this location : 
http://www-mash.CS.Berkeley.EDU/dist/vint/binary/nam-1.0a6-solaris5.5.1-sparc.tar.gz.

But if you want to make some changes to nam, you make theses changes  in 
xwd.c :
1- SIZEOF(XWDheader) with sz_XWDheader
2- SIZEOF(XWDColor)  with sz_XWDColor

nam will work just fine with these chages, but sometimes it's gone to give 
some errors when you start it, just try restarting it.

Hope this helps,

Abdehamid JOUMDANE

>From: [email protected] (Yu Qing)
>To: [email protected]
>Subject: nam install problem
>Date: Mon, 13 Sep 1999 08:50:51 +1000
>
>Hi:
>   I try to install nam , but I meet problem which I list below.
>   Here is the result when I run ./configure:
>              loading cache ./config.cache
>              No .configure file found in current directory
>              Continuing with default options...
>              checking host system type... sparc-sun-solaris2.6
>              checking target system type... sparc-sun-solaris2.6
>              checking build system type... sparc-sun-solaris2.6
>              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 dcgettext in -lintl... (cached) yes
>              checking for getnodebyname in -ldnet_stub... (cached) no
>              checking for X11 header files
>              checking for X11 library archive
>              checking for XOpenDisplay in -lX11... (cached) yes
>              checking for XShmAttach in -lXext... (cached) yes
>              checking for tcl.h... -I../tcl8.0.4/generic
>              checking for libtcl8.0... -R../tcl8.0.4/unix 
>-L../tcl8.0.4/unix -ltcl8.0
>              checking for init.tcl... ../tcl8.0.4/library
>              checking for tclsh8.0.4... (cached) /local/usr/bin/tclsh
>            checking for tk.h... 
>-I/u1/pgrad/qing/atm_simulator/ns-2/nam-1.0a7/../tk8.0.4/generic
>checking for libtk8.0... 
>-R/u1/pgrad/qing/atm_simulator/ns-2/nam-1.0a7/../tk8.0.4/unix 
>-L/u1/pgrad/qing/atm_simulator/ns-2/nam-1.0a7/../tk8.0.4/unix -ltk8.0
>               checking for tk.tcl... 
>/u1/pgrad/qing/atm_simulator/ns-2/nam-1.0a7/../tk8.0.4/library
>               checking for libtcldbg... no
>               checking for otcl.h... -I../otcl-1.0a4
>                checking for libotcl1.0a4... -R../otcl-1.0a4 
>-L../otcl-1.0a4 -lotcl
>                checking for tclcl.h... -I../tclcl-1.0b8
>                checking for libtclcl1.0b8... -R../tclcl-1.0b8 
>-L../tclcl-1.0b8 -ltclcl
>                checking for tcl2c++... ../tclcl-1.0b8
>                checking for zlib.h... -I/usr/local/include
>                checking for libz1.1.3... -R/usr/local/lib -L/usr/local/lib 
>-lz
>                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
>            Here is the error whcn I make the application
>rm -f xwd.o; gcc -o xwd.o -c -O2 -DTCL_TK  -DNDEBUG -mv8 -msupersparc 
>-D__svr4__ -DUSE_SHM -DHAVE_LIBZ1_1_3 -DHAVE_ZLIB_H -DHAVE_LIBTCLCL1_0B8 
>-DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 
>-DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -I. -I/usr/local/include 
>-I../tclcl-1.0b8 -I../otcl-1.0a4 
>-I/u1/pgrad/qing/atm_simulator/ns-2/nam-1.0a7/../tk8.0.4/generic 
>-I../tcl8.0.4/generic  xwd.c
>xwd.c: In function `xwd_Window_Dump':
>xwd.c:279: `sz_' undeclared (first use in this function)
>xwd.c:279: (Each undeclared identifier is reported only once
>       ~qing
>xwd.c:279: for each function it appears in.)
>xwd.c:279: parse error before `XWDheader'
>xwd.c:328: parse error before `XWDheader'
>xwd.c: At top level:
>xwd.c:339: parse error before `for'
>xwd.c:347: parse error before `1'
>xwd.c:347: warning: data definition has no type or storage class
>xwd.c:364: parse error before `1'
>xwd.c:364: warning: data definition has no type or storage class
>xwd.c:377: parse error before `->'
>make: *** [xwd.o] Error 1

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com