|
From: HongQi <ho...@ey...> - 2006-04-03 15:30:41
|
An error occurs when running configure, as shown in following :
[root@tu otcl-1.11]# ./configure
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking standard STL is available... no
checking for tcl.h... -I../tcl8.4.11/generic
checking for tclInt.h... -I../tcl8.4.11/generic
checking for libtcl8.4... -L/usr/lib -ltcl8.4
checking for init.tcl... ../tcl8.4.11/library
checking for http.tcl... ../tcl8.4.11/library/http
checking Tcl http.tcl library... yes
checking for tclsh8.4.11... no
checking for tclsh8.4... /usr/bin/tclsh8.4
checking for tk.h... -I../tk8.4.11/generic
checking for libtk8.4... -L/usr/lib -ltk8.4
checking for tk.tcl... ../tk8.4.11/library
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking system version (for dynamic loading)... ./configure: line 6017: syntax error near unexpected token `('
./configure: line 6017: ` case `(ac_space=' '; set | grep ac_space) 2>&1` in'
It's strange that no errors occur in a similar line in line 1112 in the ./configure file:
(set) 2>&1 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
*ac_space=\ *)
Anyone can give me some advices to solve this problem?
|