Não é possível executar o TortoiseHg, bibliotecas quebradas e dependências ausentes

0

Estou tendo dificuldades em executar o TortoiseHg (GUI para o Mercurial). O PPA está seriamente desatualizado e não há nenhuma imagem auto-contida AppImage ou SnapCraft .

Já fiz essa pergunta anteriormente em um lugar errado ( link )

Por alguns motivos, Qsci precisa ser recompilado para executar alguns dos aplicativos Qt .

Eu recompilei com sucesso Qsci (version = QScintilla_gpl-2.10.2.tar.gz) mas ao tentar criar uma ligação python ele reclama (Não é possível criar o código C ++).

$ python configure.py
Configuring QScintilla 2.10.2...
QScintilla 2.10.2 is being used.
The QScintilla .sip files will be installed in /usr/share/sip/PyQt4.
QScintilla will be installed in /usr/lib/python2.7/dist-packages/PyQt4.
PyQt 4.11.4 is being used.
Qt 4.8.7 is being used.
sip 4.19.6 is being used.
The sip executable is /usr/bin/sip.
QScintilla is being built with 'protected' redefined as 'public'.
The PEP 484 stubs will be installed in /usr/lib/python2.7/dist-packages/PyQt4.
The QScintilla API file will be installed in /usr/share/qt4/qsci/api/python.
Generating the C++ source for the Qsci module...
Error: Unable to create the C++ code.

Acontece na última versão de KDE Neon e Ubuntu MATE e talvez outras distribuições que eu não testei.

Obrigado em avançado.

    
por Eddie 18.01.2018 / 01:40

1 resposta

1

Recompilar não parece resolver o problema. Por alguma razão, ainda usa o Qt4 em vez do Qt5.

Por sorte, encontrei o binário pré-compilado.

sudo apt-get install python-pyqt5.qsci

resolveu o problema.

    
por Eddie 18.01.2018 / 08:33