#17 tcLex dependency for Mac OSX

open
nobody
None
5
2014-08-13
2007-02-11
Steven Bird
No

bafang:~ sb$ cat TRANSCRIBER
Transcriber depends on tcLex, as documented in point 4 in README_UNIX. However, tcLex hasn't been updated since 1999. I'm unable to build it under Mac OSX. Perhaps tcLex depends on tcl 8.3?

bafang:~/Desktop/tcLex1.2a1/src sb$ uname -a
Darwin bafang.local 8.8.2 Darwin Kernel Version 8.8.2: Thu Sep 28 20:43:26 PDT 2006; root:xnu-792.14.14.obj~1/RELEASE_I386 i386 i386

bafang:~/Desktop/tcLex1.2a1/src sb$ make
gcc -pipe -fno-common -I/BinaryCache/tcl/tcl-20.1.4.sym~501/SRC/tcl/tcl/generic -I/usr/include -DTCLEX_VERSION=\"1.2\" -c -o tcLex.o tcLex.c
tcLex.c:22:20: error: tclInt.h: No such file or directory
tcLex.c: In function 'LexerCurrentObjCmd':
tcLex.c:1148: error: 'Command' undeclared (first use in this function)
tcLex.c:1148: error: (Each undeclared identifier is reported only once
tcLex.c:1148: error: for each function it appears in.)
tcLex.c:1148: error: parse error before ')' token
tcLex.c: In function 'LexerCreateObjCmd':
tcLex.c:1274: warning: passing argument 3 of 'Tcl_GetIndexFromObj' from incompatible pointer type
tcLex.c:1274: warning: passing argument 6 of 'Tcl_GetIndexFromObj' from incompatible pointer type
tcLex.c:1388: error: invalid type argument of '->'
tcLex.c: In function 'LexerMainObjCmd':
tcLex.c:1472: warning: passing argument 3 of 'Tcl_GetIndexFromObj' from incompatible pointer type
tcLex.c:1472: warning: passing argument 6 of 'Tcl_GetIndexFromObj' from incompatible pointer type
tcLex.c: In function 'LexerEvalObjCmd':
tcLex.c:1997: error: 'CallFrame' undeclared (first use in this function)
tcLex.c:1997: error: parse error before 'cf'
tcLex.c:1998: error: 'Proc' undeclared (first use in this function)
tcLex.c:2073: error: 'cf' undeclared (first use in this function)
tcLex.c:2076: error: 'proc' undeclared (first use in this function)
tcLex.c: In function 'LexerConditionsObjCmd':
tcLex.c:2565: warning: passing argument 3 of 'Tcl_GetIndexFromObj' from incompatible pointer type
tcLex.c:2565: warning: passing argument 6 of 'Tcl_GetIndexFromObj' from incompatible pointer type
tcLex.c: In function 'LexerObjCmd':
tcLex.c:2938: warning: passing argument 3 of 'Tcl_GetIndexFromObj' from incompatible pointer type
tcLex.c:2938: warning: passing argument 6 of 'Tcl_GetIndexFromObj' from incompatible pointer type
{standard input}:189:non-relocatable subtraction expression, "_InitialCond" minus "L00000000003$pb"
{standard input}:189:symbol: "_InitialCond" can't be undefined in a subtraction expression
{standard input}:123:non-relocatable subtraction expression, "_InitialCond" minus "L00000000002$pb"
{standard input}:123:symbol: "_InitialCond" can't be undefined in a subtraction expression
make: *** [tcLex.o] Error 1

Discussion