[techtalk] Tcl/Tk question

subb3 at attglobal.net subb3 at attglobal.net
Tue Dec 7 23:54:52 EST 1999


I have downloaded the source from scriptics site. Tcl compiles fine.
Tk compiles too but gives lots of warnings. When I try to do "make test"
that fails.

My system has Slackware 4.0. Is glibc2, required for this version of Tcl/Tk?
The docs do not mention that. Since the compile is fine, it should not be a
requirement. Why is the "make test" failing? I did not find tclTest.c in the
source tree. This is true for version 8.2.1 too.

Here is part of the compile output.
------------------------------------------------
cc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I. -I./../generic -I./../bitmaps -I/usr/local/src/tcl8.2.2/generic -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED   ./../generic/tkTextWind.c
/usr/include/sys/stat.h: In function `__mknod':
In file included from ../generic/../unix/tkUnixPort.h:58,
                 from ../generic/tkPort.h:32,
                 from ./../generic/tkTextWind.c:19:
/usr/include/sys/stat.h:166: warning: passing arg 3 of `_xmknod' with different width due to prototype
/usr/include/sys/stat.h: In function `mknod':
/usr/include/sys/stat.h:171: warning: passing arg 3 of `_xmknod' with different width due to prototype
/usr/include/unistd.h: In function `ustat':
In file included from ../generic/../unix/tkUnixPort.h:73,
                 from ../generic/tkPort.h:32,
                 from ./../generic/tkTextWind.c:19:
/usr/include/unistd.h:666: warning: passing arg 2 of `_xustat' with different width due to prototype


(0)root at caesar:/usr/local/src/tk8.2.1/unix# make test
make: *** No rule to make target `/usr/local/src/tcl8.2.2/unix/tclTest.o', needed by `tktest'.  Stop.
------------------------------------------------

Is anyone using Tcl/Tk version 8.2.2? What did you do to get this problem fixed?
Any pointers appreciated.

Subba Rao
subb3 at attglobal.net
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com

************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list