Instalação de software antigo

5 views
Skip to first unread message

Renato Oliveira

unread,
Aug 28, 2012, 11:42:02 PM8/28/12
to cinlug, Comunidade_Python
Galera, to com um problema. Me pediram pra instalar um software [1] num servidor, mas a questão é que o python deste software é 2.6 (o último commit dele foi em 2010) e minha distro é 2.7. 
Consegui fazer com que ele reconhecesse o python2.6 beleza, mas a questão é que eu não consigo instalar as libs que ele tem dependencia. Virtualenv tá dando erro de permissão e o gtk (primeira lib que eu vou instalar pygtk 2.24, pelo setup.py ele diz que só pra windows e pelo ./comfigure; make; make install; ele não consegue achar o python

 ./configure --prefix=/usr/lib/python2.6/ (instalação do pygtk)
...
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for headers required to compile python extensions... not found
configure: error: could not find Python headers

Instalação do poker-network

ImportError: No module named gtk
failed
checking wether python module gtk.glade is available... Traceback (most recent call last):
  File "<string>", line 8, in <module>
ImportError: No module named gtk
failed
checking wether python module libxml2 is available... Traceback (most recent call last):
  File "<string>", line 8, in <module>
ImportError: No module named libxml2
failed
checking wether python module twisted is available... Traceback (most recent call last):
  File "<string>", line 8, in <module>
ImportError: No module named twisted
failed
checking wether python module MySQLdb is available... Traceback (most recent call last):
  File "<string>", line 8, in <module>
ImportError: No module named MySQLdb
failed
checking wether python module OpenSSL is available... Traceback (most recent call last):
  File "<string>", line 8, in <module>
ImportError: No module named OpenSSL
failed
checking wether python module SOAPpy is available... Traceback (most recent call last):
  File "<string>", line 8, in <module>
ImportError: No module named SOAPpy
failed
Fail to check all dependencies for /home/renato/.virtualenvs/poker_net/bin/python2.6
configure: error: None of the python found on the system are able to satisfy the dependencies (check the above error messages for more information)


Alguém tem alguma dica de como posso fazer isso?

Abraços


[1] - http://freecode.com/projects/poker-network

--
Renato Oliveira
Graduando em Ciência da Computação UFPE - 2009.1
DA de Computação
Linux User - #532503

Angelo Brito

unread,
Aug 29, 2012, 11:00:48 PM8/29/12
to cin...@googlegroups.com, Comunidade_Python
pq vc nao instala uma vm, poe um linux antigo de 2010 por ai e tenta instalar nessa vm?
Reply all
Reply to author
Forward
0 new messages