Problemas na instalação de programas

1. Problemas na instalação de programas

Lucas Costa Machado
lucascm4000

(usa Outra)

Enviado em 14/07/2016 - 13:59h

Pessoal estou com um problema para instalar um programa. O instalador do programa especifica o seguinte:

Configure SIP (o programa) by executing the configure.py script. For example:
# python configure.py

This assumes that the Python interpreter is on your path
The next step is to build SIP by running your platform’s make command. For example:
#make

The final step is to install SIP by running the following command:
#make install

(Depending on your system you may require root or administrator privileges.)
This will install the various SIP components.

O que eu fiz foi ir para o diretorio da pasta do programa descompactada pleo terminal:
# cd /home/meuUsuario/Trasferencia/sip-4.18-2

em seguida digitei
# python configure.py

A mensagem exibida foi:
This is SIP 4.18 for Python 2.7.12 on linux2.
The SIP code generator will be installed in /usr/bin.
The sip module will be installed in /usr/lib/python2.7/dist-packages.
The sip.pyi stub file will be installed in /usr/lib/python2.7/dist-packages.
The sip.h header file will be installed in /usr/include/python2.7.
The default directory to install .sip files in is /usr/share/sip.
Creating siplib/sip.h...
Creating siplib/siplib.c...
Creating siplib/siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...

Depois digitei :
#make
e apareceu a seguinte mensagem:
make[1]: Entering directory '/home/aeron/Transferências/sip-4.18-2/sipgen'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/aeron/Transferências/sip-4.18-2/sipgen'
make[1]: Entering directory '/home/aeron/Transferências/sip-4.18-2/siplib'
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o siplib.o siplib.c
siplib.c:20:20: fatal error: Python.h: Ficheiro ou directoria inexistente
compilation terminated.
Makefile:29: recipe for target 'siplib.o' failed
make[1]: *** [siplib.o] Error 1
make[1]: Leaving directory '/home/aeron/Transferências/sip-4.18-2/siplib'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2

Provavelmente o erro tem haver com "This assumes that the Python interpreter is on your path" eu cheguei a tentar digitar o seguinte comando assim que eu entro com o diretorio do meu instalador:
# export PATH=$PATH:/usr/lib/python2.7
mas apresentou o mesmo erro. Provavelmente esse é um erro bem estupido mas começei a mexer no linux essa semana e estou a algumas horas quebrando a cabeça com isso, se alguem puder ajudar serei extremamente grato!



  


2. Re: Problemas na instalação de programas

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 14/07/2016 - 14:07h

lucascm4000 escreveu:


Campeão ... ajuda nóis aí velho ... informe qual programa q vc está tentando instalar e se possível o local q vc fez o download dele pra gente testar tb ... pois tb existe a possibilidade de erro no script




___________________________________________________________________________________________
" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"


3. Re: Problemas na instalação de programas

Lucas Costa Machado
lucascm4000

(usa Outra)

Enviado em 14/07/2016 - 14:11h

O programa utilizado foi o SIP, ele pode ser baixado nesse link http://pyqt.sourceforge.net/Docs/sip4/installation.html#configuring que tambem contem os passos para a sua instalação. Na verdade meu objetivo é instalar o code-saturne mas para isso eu tenho que instalar o PyQt4 que precisa desse programa.


4. Re: Problemas na instalação de programas

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 14/07/2016 - 15:27h

Qual linux vc usa? Nome e versão ?


5. Re: Problemas na instalação de programas

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 14/07/2016 - 16:03h

lucascm4000 escreveu:

O programa utilizado foi o SIP, ele pode ser baixado nesse link http://pyqt.sourceforge.net/Docs/sip4/installation.html#configuring que tambem contem os passos para a sua instalação. Na verdade meu objetivo é instalar o code-saturne mas para isso eu tenho que instalar o PyQt4 que precisa desse programa.


velho ... baixei aqui ... aparentemente deu certo ... veja

mauricio@Phantom:~/Downloads/sip-4.18$ python configure.py
This is SIP 4.18 for Python 2.7.9 on linux2.
The SIP code generator will be installed in /usr/bin.
The sip module will be installed in /usr/lib/python2.7/dist-packages.
The sip.pyi stub file will be installed in /usr/lib/python2.7/dist-packages.
The sip.h header file will be installed in /usr/include/python2.7.
The default directory to install .sip files in is /usr/share/sip.
Creating siplib/sip.h...
Creating siplib/siplib.c...
Creating siplib/siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
mauricio@Phantom:~/Downloads/sip-4.18$




___________________________________________________________________________________________
" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"


6. Re: Problemas na instalação de programas

Lucas Costa Machado
lucascm4000

(usa Outra)

Enviado em 14/07/2016 - 16:09h

eu uso o ubuntu 14.04.

Acontece isso mesmo Mauricio, mas quando voce digita o make que aparece o problema:

http://imgur.com/ZQsEIcf






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts