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

[ns] Tclcl Compile fails in ns-allinone-2.1b6



I wonder if anyone can help with installation problems
I'm seeing for ns-2.1b6 - allinone. Last year, I
was able to successfully install ns-2.1b5 on this 
machine.

The installation
works fine for tcl, tk and otcl however tclcl-1.0b9 fails
when it tries to compile: embedded-tcl.cc ... the trace is 
at the bottom of this msg. 

I then tried to manually compile in the tclcl directory with
the following error message:

embedded-tcl.cc:1: unterminated string or character constant
embedded-tcl.cc:1660: possible real start of unterminated constant
make: *** [embedded-tcl.o] Error 1

If I'm not mistaken the file is generated by tcl2c++. 
I had a look at the file and somehow it doesn't to have 
been correctly generated. At the very least, it appears
truncated.

Has anyone seen this problem before?

Platform: Linux RedHat 6.0 or 6.1
          2.2.12-20

I tried downloading newer versions of tcl (8.3.2)
with no apparent luck.

Any help would be gratefully received.

Thanks
Nabil Seddigh
[email protected]


---------------------------


otcl-1.0a5 has been installed successfully.
loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... i686-unknown-linux
checking target system type... i686-unknown-linux
checking build system type... i686-unknown-linux
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... yes
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) no
checking for gethostbyname in -lnsl... (cached) yes
checking for dcgettext in -lintl... (cached) no
checking for getnodebyname in -ldnet_stub... (cached) no
checking that c++ can handle -O2... no
checking for ranlib... (cached) ranlib
checking for snprintf... (cached) yes
checking for strtoq... (cached) yes
checking for strtoll... (cached) yes
checking size of long... (cached) 0
checking for __int64_t... cross
checking for long long... cross
checking for int64_t... (cached) yes
checking which kind of 64-bit int to use... int64_t
checking for tcl.h... -I../tclbox/include
checking for libtcl8.0... -L../tclbox/lib -ltcl8.0
checking for init.tcl... ../tclbox/lib/tcl8.0
checking for tclsh8.0.4... (cached) ../tclbox/bin/tclsh8.0
checking for tk.h... -I../tkbox/include
checking for libtk8.0... -L../tkbox/lib -ltk8.0
checking for tk.tcl... ../tkbox/lib/tk8.0
checking for otcl.h... -I../otcl-1.0a5
checking for libotcl1.0a5... -L../otcl-1.0a5 -lotcl
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
checking for libXext.a
No explicit static compilation flag; setting V_STATIC to ""
checking for dlopen in -ldl... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile
rm -f embedded-tcl.cc
./tcl2c++ et_tcl ../tclbox/lib/tcl8.0/init.tcl
../tclbox/lib/tcl8.0/history.tcl ../tclbox/lib/tcl8.0/word.tcl
../tclbox/lib/tcl8.0/http2.0/http.tcl > embedded-tcl.cc
make: *** [embedded-tcl.cc] Error 139
tclcl-1.0b9 make failed! Exiting ...
See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems