#1 Le 25/01/2013, à 18:51
- Tawengimt
Recompilation paquet firefox
Bonjour,
J'essaye (pour le fun) de recompiler le paquet firefox
Etape 1 : installation des prérequis :
apt-get install build-essential fakeroot dpkg-dev devscripts
Etape 2 : Rapatriement des source firefox
apt-get source firefox
Etape 3 : Installation des dépendances liées a firefox
apt-get build-dep firefox
Etape finale : compilation
cd firefox
dpkg-buildpackage -rfakeroot -uc -b
Et là, à un moment donné, ça chie dans le ventilo :
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DXP_UNIX -fPIC -I/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/obj-x86_64-linux-gnu/_virtualenv/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
psutil/_psutil_linux.c:11:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Error processing command. Ignoring because optional. (optional:setup.py:python/psutil:build_ext:--inplace)
updating cache ./config.cache
creating ./config.status
File "./config.status", line 1
SyntaxError: Non-ASCII character '\xc3' in file ./config.status on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
*** Fix above errors and then restart with "/usr/bin/make -f client.mk build"
make[3]: *** [configure] Erreur 1
make[3]: quittant le répertoire « /home/samir/Téléchargements/firefox/firefox-18.0.1+build1 »
make[2]: *** [/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/./obj-x86_64-linux-gnu/Makefile] Erreur 2
make[2]: quittant le répertoire « /home/samir/Téléchargements/firefox/firefox-18.0.1+build1 »
make[1]: *** [build] Erreur 2
make[1]: quittant le répertoire « /home/samir/Téléchargements/firefox/firefox-18.0.1+build1 »
make: *** [debian/stamp-makefile-build] Erreur 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2
Je bloque ici même
Personne pour m'aider ?
Au fait je suis sous ubuntu 12.10 64 bits
Merci
Hors ligne
#2 Le 25/01/2013, à 19:03
- gl38
Re : Recompilation paquet firefox
il y a écrit
fatal error: Python.h: No such file or directory
il faut installer le Python.h qui manque pour que gcc soit content.
Cordialement,
Guy
Hors ligne
#3 Le 25/01/2013, à 19:40
- Tawengimt
Re : Recompilation paquet firefox
Bonsoir,
Merci pour ta réponse rapide
Alors j'ai installé le paquet python-dev
j'ai plus l'erreur sur le python.h sinon même erreur concernant le reste à savoir :
Creating Python virtualenv
New python executable in ./_virtualenv/bin/python2.7
Also creating executable in ./_virtualenv/bin/python
Traceback (most recent call last):
File "<string>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
Traceback (most recent call last):
File "/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/python/virtualenv/virtualenv.py", line 2427, in <module>
main()
File "/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/python/virtualenv/virtualenv.py", line 939, in main
never_download=options.never_download)
File "/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/python/virtualenv/virtualenv.py", line 1040, in create_environment
site_packages=site_packages, clear=clear))
File "/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/python/virtualenv/virtualenv.py", line 1418, in install_python
proc_stdout = os.path.normcase(os.path.abspath(proc_stdout))
File "/usr/lib/python2.7/posixpath.py", line 354, in abspath
cwd = os.getcwdu()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
Populating Python virtualenv
running build_ext
building '_psutil_linux' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DXP_UNIX -fPIC -I/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/obj-x86_64-linux-gnu/_virtualenv/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -DXP_UNIX build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o /home/samir/Téléchargements/firefox/firefox-18.0.1+build1/python/psutil/_psutil_linux.so
building '_psutil_posix' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DXP_UNIX -fPIC -I/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/obj-x86_64-linux-gnu/_virtualenv/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -DXP_UNIX build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o /home/samir/Téléchargements/firefox/firefox-18.0.1+build1/python/psutil/_psutil_posix.so
updating cache ./config.cache
creating ./config.status
File "./config.status", line 1
SyntaxError: Non-ASCII character '\xc3' in file ./config.status on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
*** Fix above errors and then restart with "/usr/bin/make -f client.mk build"
make[3]: *** [configure] Erreur 1
make[3]: quittant le répertoire « /home/samir/Téléchargements/firefox/firefox-18.0.1+build1 »
make[2]: *** [/home/samir/Téléchargements/firefox/firefox-18.0.1+build1/./obj-x86_64-linux-gnu/Makefile] Erreur 2
make[2]: quittant le répertoire « /home/samir/Téléchargements/firefox/firefox-18.0.1+build1 »
make[1]: *** [build] Erreur 2
make[1]: quittant le répertoire « /home/samir/Téléchargements/firefox/firefox-18.0.1+build1 »
make: *** [debian/stamp-makefile-build] Erreur 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2
Hors ligne
#4 Le 26/01/2013, à 10:55
- Tawengimt
Re : Recompilation paquet firefox
Personne pour m'aider ?
Hors ligne