Parece que o script de configuração fornecido é incompatível com os sistemas atuais. A execução de autoconf
para gerar um novo script aparece para corrigir os erros do Tcl / Tk, mas apresenta outros erros relacionados a inclusões e bibliotecas do X11.
Eu finalmente consegui fazer com que ./configure
fosse concluído começando de novo com um tarball recém-descompactado e definindo TCL_LIBDIR_PATH
e TK_LIBDIR_PATH
explícito na linha de comando ./configure
:
TCL_LIBDIR_PATH=/usr/lib/x86_64-linux-gnu/ \
TK_LIBDIR_PATH=/usr/lib/x86_64-linux-gnu/ \
./configure --with-tclsh=/usr/bin/tclsh8.5 \
--with-tclconfig=/usr/lib/tcl8.5 \
--with-tkconfig=/usr/lib/tk8.5
No entanto, apesar de 8.5 estar listado como um dos legal_tcl_versions
, o make
falha com um erro relacionado ao Tcl
xgsetup.c: In function ‘XGSetupWindow’:
xgsetup.c:145:14: error: ‘Tcl_Interp’ has no member named ‘result’
if(interp->result != NULL) {
^
xgsetup.c:146:27: error: ‘Tcl_Interp’ has no member named ‘result’
printf("%s\n",interp->result);
^
Seguindo DICA # 330: Elimine o resultado interp > dos cabeçalhos públicos , você pode conseguir contornar isso passando o sinalizador -DUSE_INTERP_RESULT
na linha de comando make
:
make CPPFLAGS="-DUSE_INTERP_RESULT"
o pacote parece ter sido criado com sucesso, mas eu não instalei nem testei.