[linux] module 설치시 error: ‘Tcl_Interp’ has no member named ‘errorLine’

Building with the recent version of tcl fails with:

cmdModule.c: In function 'Execute_TclFile':

cmdModule.c:643:35: error: 'Tcl_Interp' has no member named 'errorLine'

cmdModule.c:644:15: error: 'Tcl_Interp' has no member named 'errorLine'

Apparently errorLine is a deprecated feature.

A temporary fix is to enable this deprecated feature – although eventually this will cease to work. To do this configure with a line like this:

bash> CPPFLAGS="-DUSE_INTERP_ERRORLINE" ./configure

Then make && make install as usual.

Leave a Reply