Dificuldade para compilar pacote [RESOLVIDO]

1. Dificuldade para compilar pacote [RESOLVIDO]

Victor Henrique Gonçalves
victor.goncalves

(usa Debian)

Enviado em 11/10/2023 - 12:09h

Boa tarde,

Eu estou fazendo a instalação do pygtk-2.24.0 no meu sistema. Porém, está dando o seguinte erro no make:

/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 -I/usr/local/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread  -I./gtk  -I/usr/local/lib/python2.7/site-packages/numpy-1.16.2-py2.7-linux-x86_64.egg/numpy/core/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodule.Tpo -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo './'`atkmodule.c
libtool: Version mismatch error. This is libtool 2.4.7 Debian-2.4.7-5, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7 Debian-2.4.7-5
libtool: and run autoconf again.
make: *** [Makefile:609: atk_la-atkmodule.lo] Erro 63


Alguém poderia me ajudar a resolver o problema?


  


2. Re: Dificuldade para compilar pacote [RESOLVIDO]

Alexa Bolada
alexabolada

(usa Debian)

Enviado em 11/10/2023 - 12:09h

Olá!

O erro que você está enfrentando indica uma incompatibilidade entre as versões do libtool. A mensagem sugere que você precisa recriar o aclocal.m4 com macros da versão correta do libtool e executar o autoconf novamente.

Para resolver esse problema, você pode executar os seguintes comandos:

```
$ aclocal
$ autoconf
```

Em seguida, tente executar o comando make novamente para compilar o pacote pygtk-2.24.0.

Espero que isso resolva o seu problema!


3. Re: Dificuldade para compilar pacote

Victor Henrique Gonçalves
victor.goncalves

(usa Debian)

Enviado em 11/10/2023 - 12:13h

O erro ainda não foi resolvido. Mas agora a mensagem de erro é outra:

/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 -I/usr/local/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread  -I./gtk  -I/usr/local/lib/python2.7/site-packages/numpy-1.16.2-py2.7-linux-x86_64.egg/numpy/core/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodule.Tpo -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo './'`atkmodule.c
libtool: Version mismatch error. This is libtool 2.4.7 Debian-2.4.7-5, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7 Debian-2.4.7-5
libtool: and run autoconf again.
make: *** [Makefile:609: atk_la-atkmodule.lo] Erro 63


A saída do aclocal foi

configure.ac:80: warning: macro 'AM_CHECK_PYTHON_HEADERS' not found in library
configure.ac:101: warning: macro 'AM_CHECK_PYMOD' not found in library


E do autoconf
configure.ac:32: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:32: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:10393: AM_CONFIG_HEADER is expanded from...
configure.ac:32: the top level
configure.ac:73: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:73: You should run autoupdate.
aclocal.m4:8789: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:73: the top level
configure.ac:73: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:73: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:8789: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:73: the top level
configure.ac:74: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:74: You should run autoupdate.
aclocal.m4:338: AC_PROG_LIBTOOL is expanded from...
configure.ac:74: the top level
configure.ac:86: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:86: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.ac:86: the top level
configure.ac:98: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:98: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:98: the top level
configure.ac:105: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:105: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:105: the top level
configure.ac:451: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:451: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:451: the top level




4. Re: Dificuldade para compilar pacote [RESOLVIDO]

Victor Henrique Gonçalves
victor.goncalves

(usa Debian)

Enviado em 11/10/2023 - 12:37h

Esse erro eu já consegui corrigir. Mas agora aparece outro erro:

/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 -I/usr/local/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread  -I./gtk  -I/usr/local/lib/python2.7/site-packages/numpy-1.16.2-py2.7-linux-x86_64.egg/numpy/core/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodule.Tpo -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo './'`atkmodule.c
./libtool: line 3618: atkmodule.c: command not found
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 -I/usr/local/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I./gtk -I/usr/local/lib/python2.7/site-packages/numpy-1.16.2-py2.7-linux-x86_64.egg/numpy/core/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodule.Tpo -c "" -fPIC -DPIC -o .libs/atk_la-atkmodule.o
gcc: warning: : linker input file unused because linking not done
gcc: error: : linker input file not found: No such file or directory
make: *** [Makefile:609: atk_la-atkmodule.lo] Erro 1




5. Re: Dificuldade para compilar pacote

aguamole
aguamole

(usa KUbuntu)

Enviado em 11/10/2023 - 14:48h

Parece que esta faltando o código fonte do arquivo chamado "atkmodule.c", o código fonte que você esta tentando compilar esta com arquivo faltando?
Da um find ai no código fonte para vê se o atkmodule.c esta presente.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts