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

[ns] Otcl installation problems !!



Hi,
Please find the results of my otcl installation:

1- When running ./install (with --enable-gcc for tcl and tk) the following
output is printed on the screen:

loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... configure: error: can not guess host type; you 
must specify one
otcl-1.0a4 configuration failed! Exiting ...
Please check http://www-mash.cs.berkeley.edu/ns/ns-problems.html
for common problems and bug fixes.


2- When running ./install (again with --enable-gcc for tcl and tk)
with --host=localhost for otcl the following output is printed
on the screen:


loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... localhost
checking target system type... localhost
checking build system type... localhost
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) yes
checking for gethostbyname in -lnsl... (cached) yes
checking for dcgettext in -lintl... (cached) yes
checking for getnodebyname in -ldnet_stub... (cached) no
checking that c++ can handle -O2... no
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 X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) yes
checking for XShmAttach in -lXext... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... ./install-sh -c
checking system version (for dynamic loading)... SunOS-5.7
No explicit static compilation flag; setting V_STATIC to ""
no dynamic load lib
checking for a BSD compatible install... ./install-sh -c
creating ./config.status
creating Makefile
rm -f libotcl.so otcl.o so_locations
gcc -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. 
-I/export/home/ns-allinone-2.1b6/tkbox/include 
-I/export/home/ns-allinone-2.1b6/tclbox/include -I/include  otcl.c
/usr/ccs/bin/ld -G -z text -o libotcl.so otcl.o
rm -f libotcl.so
gcc -o otclsh  -g -O2 -I. -I/export/home/ns-allinone-2.1b6/tkbox/include 
-I/export/home/ns-allinone-2.1b6/tclbox/include -I/include  otclAppInit.c \
-L. -lotcl -L/export/home/ns-allinone-2.1b6/tkbox/lib -ltk8.0 
-L/export/home/ns-allinone-2.1b6/tclbox/lib -ltcl8.0 -lXext -lX11  -lsocket 
-lnsl -lintl -lm
Undefined                       first referenced
symbol                             in file
dlsym                               
/export/home/ns-allinone-2.1b6/tclbox/lib/libtcl8.0.a(tclLoadDl.o)  (symbol 
belongs to implicit dependency /usr/lib/libdl.so.1)
dlopen                              
/export/home/ns-allinone-2.1b6/tclbox/lib/libtcl8.0.a(tclLoadDl.o)  (symbol 
belongs to implicit dependency /usr/lib/libdl.so.1)
dlerror                             
/export/home/ns-allinone-2.1b6/tclbox/lib/libtcl8.0.a(tclLoadDl.o)  (symbol 
belongs to implicit dependency /usr/lib/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to otclsh
make: *** [otclsh] Error 1
otcl-1.0a5 make failed! Exiting ...
See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems

Please help,
Thank you,
Paul.

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com