Eu queria compilar e instalar algo para reddit do git.
Conforme eu usei ./configure.ac, ele mostrou o erro abaixo.
./configure: line 5088: GLIB_GSETTINGS: command not found
./configure: line 5089: syntax error near unexpected token `1.42.0'
./configure: line 5089: `GOBJECT_INTROSPECTION_CHECK(1.42.0)'
Enquanto pesquisei aqui no stackoverflow, me mostrou que os GLIB_GSETTINGS são encontrados em libglib2.0-dev mas como tentei instalar através
sudo apt-get install libglib2.0
Novamente gerou erro abaixo
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libglib2.0-0-refdbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-cil-dev' for regex 'libglib2.0'
Note, selecting 'libglib2.0-tests' for regex 'libglib2.0'
Note, selecting 'libglib2.0-0-dbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-bin' for regex 'libglib2.0'
Note, selecting 'libglib2.0-cil' for regex 'libglib2.0'
Note, selecting 'libglib2.0-dbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-dev' for regex 'libglib2.0'
Note, selecting 'libglib2.0-doc' for regex 'libglib2.0'
Note, selecting 'libglib2.0-data' for regex 'libglib2.0'
Note, selecting 'libglib2.0-0' for regex 'libglib2.0'
libglib2.0-0 is already the newest version (2.48.1-1~ubuntu16.04.1).
libglib2.0-data is already the newest version (2.48.1-1~ubuntu16.04.1).
libglib2.0-bin is already the newest version (2.48.1-1~ubuntu16.04.1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libglib2.0-0-dbg : Depends: libglib2.0-0 (= 2.48.0-1ubuntu4) but 2.48.1-1~ubuntu16.04.1 is to be installed
libglib2.0-0-refdbg : Depends: libglib2.0-0 (= 2.48.0-1ubuntu4) but 2.48.1-1~ubuntu16.04.1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.48.0-1ubuntu4) but 2.48.1-1~ubuntu16.04.1 is to be installed
Depends: libglib2.0-bin (= 2.48.0-1ubuntu4)
Atualizei o sistema de 14.04 para 16.04 há um mês, perdi alguma coisa ou estou fazendo algo errado agora.
A fonte algo para reddit git está aqui.https://github.com/samdroid-apps/something-for-reddit Você pode verificar todas as dependências aqui também,Detalhes do pacote: algo para reddit-git 0.1-1
Responder1
A resposta é downgrade.
Ao pesquisar novamente no stackoverflow, descobri que os mesmos problemas são enfrentados por outros e foi sugerido que eles fizessem o downgrade da respectiva biblioteca com os seguintes comandos.
sudo apt-get install libglib2.0-0=2.48.0-1ubuntu4
sudo apt-get install libglib2.0-dev
Agora estou preso ao próximo problema, ou seja ./configure: line 5089
: GOBJECT_INTROSPECTION_CHECK(1.42.0)
'
Aqui está o link sugerindo o downgrade:https://askubuntu.com/questions/58664/cant-install-package-libglib2-0-dev-porque-it-depends-on-some-unknown-version/60314