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

Re: [ns] ns-allinone-2.1b7 installation problem in Solaries 8



Check your configure output carefully, you'll see gcc is not being used
but cc is used instead. By default 2.1b7 install does ./configure
--enable-gcc. Do you know by any chance why that did not work?

On 27 Oct 2000, gaodeyun wrote:

> The platform is SunOS 5.8.  The compiler is gcc. When I am configuring
> tcl,then:
> 
> 
> > ./configure
> loading cache ./config.cache
> checking for ranlib... (cached) ranlib
> checking how to run the C preprocessor... (cached) gcc -E
> checking for unistd.h... (cached) yes
> checking for limits.h... (cached) yes
> checking for building with threads... no (default)
> checking for getcwd... (cached) yes
> checking for opendir... (cached) yes
> checking for strstr... (cached) yes
> checking for strtol... (cached) yes
> checking for tmpnam... (cached) yes
> checking for waitpid... (cached) yes
> checking for strerror... (cached) yes
> checking for getwd... (cached) yes
> checking for wait3... (cached) yes
> checking for uname... (cached) yes
> checking for realpath... (cached) yes
> checking dirent.h... yes
> checking for errno.h... (cached) yes
> checking for float.h... (cached) yes
> checking for values.h... (cached) yes
> checking for limits.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for sys/wait.h... (cached) yes
> checking for dlfcn.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for sys/param.h... (cached) yes
> checking termios vs. termio vs. sgtty... termios
> checking fd_set and sys/select... yes
> checking whether struct tm is in sys/time.h or time.h... (cached) time.h
> checking for sys/time.h... (cached) yes
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking for tm_zone in struct tm... (cached) no
> checking for tzname... (cached) yes
> checking tm_tzadj in struct tm... no
> checking tm_gmtoff in struct tm... no
> checking long timezone variable... yes
> checking for st_blksize in struct stat... (cached) yes
> checking for fstatfs... (cached) yes
> checking for 8-bit clean memcmp... (cached) yes
> checking for memmove... (cached) yes
> checking proper strstr implementation... yes
> checking for strtoul... (cached) yes
> checking for strtod... (cached) yes
> checking for strtod... (cached) yes
> checking for Solaris2.4/Tru64 strtod bugs... ok
> checking for ANSI C header files... (cached) yes
> checking for mode_t... (cached) yes
> checking for pid_t... (cached) yes
> checking for size_t... (cached) yes
> checking for uid_t in sys/types.h... (cached) yes
> checking for opendir... (cached) yes
> checking union wait... no
> checking matherr support... yes
> checking for strncasecmp... (cached) yes
> checking for BSDgettimeofday... (cached) no
> checking for gettimeofday... (cached) yes
> checking for gettimeofday declaration... present
> checking whether char is unsigned... (cached) no
> checking signed char declarations... no
> checking for sin... (cached) no
> checking for main in -lieee... (cached) no
> checking for main in -linet... (cached) no
> checking for net/errno.h... (cached) no
> checking for connect... (cached) no
> checking for setsockopt... (cached) no
> checking for setsockopt in -lsocket... (cached) yes
> checking for gethostbyname... (cached) no
> checking for gethostbyname in -lnsl... (cached) yes
> checking if 64bit support is requested... no
> checking if 64bit Sparc VIS support is requested... no
> checking system version (for dynamic loading)... SunOS-5.8
> checking if gcc is being used... no (cc)
> checking for dlopen in -ldl... (cached) yes
> checking for build with symbols... no
> checking for sys/ioctl.h... (cached) yes
> checking for sys/filio.h... (cached) yes
> checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
> checking how to build libraries... shared
> creating ./config.status
> creating Makefile
> creating tclConfig.sh
> > 
> 
> 
> 
> 
> >What platform? Which compiler are you using? Do you have gcc? By default
> >install turns on gcc when configuring tcl/tk. What did it say when
> >configuring tcl?
> >
> >On 27 Oct 2000, gaodeyun wrote:
> >
> >> Hi,
> >>   When I run ./install in ns-allinone-2.1b7, have a error indicating that
> tcl
> >> is incomplete. So, I enter tcl8.3.2 and install it. But when I run
> >> "make",there is a problem. 
> >> 
> >> cc -c -O  -KPIC  -I./../generic -I.  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
> >> -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1
> >> -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
> >> -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_TZNAME=1
> >> -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
> -DNO_UNION_WAIT=1
> >> -DNEED_MATHERR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1         
> >> -DTCL_SHLIB_EXT=\".so\" ./../generic/regcomp.c
> >> "./../generic/tclDecls.h", line 437: Tcl_EvalObj: argument mismatch
> >> "./../generic/tclDecls.h", line 437: Tcl_EvalObj: argument mismatch
> >> "./../generic/tclDecls.h", line 574: Tcl_GlobalEvalObj: argument mismatch
> >> "./../generic/tclDecls.h", line 574: Tcl_GlobalEvalObj: argument mismatch
> >> "./../generic/tclDecls.h", line 854: Tcl_DumpActiveMemory: argument
> mismatch
> >> "./../generic/tclDecls.h", line 856: Tcl_ValidateAllMemory: argument
> >> mismatch
> >> "./../generic/tclDecls.h", line 856: Tcl_ValidateAllMemory: argument
> >> mismatch
> >> "./../generic/tclDecls.h", line 905: Tcl_InitMemory: argument mismatch
> >> "./../generic/tclDecls.h", line 987: Tcl_MutexLock: argument mismatch
> >> "./../generic/tclDecls.h", line 989: Tcl_MutexUnlock: argument mismatch
> >> "./../generic/tclDecls.h", line 991: Tcl_ConditionNotify: argument
> mismatch
> >> "./../generic/tclDecls.h", line 994: Tcl_ConditionWait: argument mismatch
> >> "./../generic/tclDecls.h", line 994: Tcl_ConditionWait: argument mismatch
> >> "./../generic/tclDecls.h", line 1222: Tcl_ConditionFinalize: argument
> >> mismatch
> >> "./../generic/tclDecls.h", line 1225: Tcl_MutexFinalize: argument
> mismatch
> >> "./../generic/tclDecls.h", line 437: syntax error before or at: (
> >> "./../generic/tclDecls.h", line 437: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 438: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 574: syntax error before or at: (
> >> "./../generic/tclDecls.h", line 574: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 575: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 854: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 854: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 857: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 857: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 905: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 905: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 987: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 987: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 989: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 989: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 992: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 992: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 996: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 996: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 1223: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 1223: warning: syntax error:  empty
> >> declaration
> >> "./../generic/tclDecls.h", line 1225: syntax error before or at: )
> >> "./../generic/tclDecls.h", line 1225: warning: syntax error:  empty
> >> declaration
> >> "./../generic/regcomp.c", line 438: cannot recover from previous errors
> >> *** Error code 10
> >> make: Fatal error: Command failed for target `regcomp.o'
> >> 
> >> 
> >> Thank you in advance.
> >> 
> >> Deyun Gao
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> --http://www.eyou.com
> >> --�ȶ��ɿ�����ѵ�������  �����ʼ�  �ƶ���ǩ  ��������...����δ��
> >> 
> >> 
> >> 
> >
> > 
> 
> 
> 
> 
> 
> --http://www.eyou.com
> --�ȶ��ɿ�����ѵ�������  �����ʼ�  �ƶ���ǩ  ��������...����δ��
> 
> 
>