Archive for novembre 2011

Error while compiling Thunderbird. What’s wrong?

In order to fix bug 684865, I wanted to compile Thunderbird myself. When running

make -f

from comm-central/, everything works fine till I get this error message:

/usr/bin/python2.7 ../../../mozilla/_tests/mozmill/resources/ ../../../mozilla/_tests/mozmill/../mozmill-virtualenv
Python: 2.7.1 (r271:86832, Sep  5 2011, 15:04:00)
[GCC 4.5.2]
New python executable in /root/tmp/tb/comm-central/obj-i686-pc-linux-gnu/mozilla/_tests/mozmill-virtualenv/bin/python2.7
Also creating executable in /root/tmp/tb/comm-central/obj-i686-pc-linux-gnu/mozilla/_tests/mozmill-virtualenv/bin/python
Installing setuptools….
Complete output from command /root/tmp/tb/comm-ce…ualenv/bin/python2.7 -c "#!python

" /root/tmp/tb/comm-ce…ols-0.6c11-py2.7.egg:
error: invalid Python installation: unable to open /root/tmp/tb/comm-central/obj-i686-pc-linux-gnu/mozilla/_tests/mozmill-virtualenv/include/multiarch-i386-linux/python2.7/pyconfig.h (No such file or directory)
…Installing setuptools…done.
Traceback (most recent call last):
File "virtualenv/", line 1965, in <module>
File "virtualenv/", line 795, in main
File "virtualenv/", line 895, in create_environment
search_dirs=search_dirs, never_download=never_download)
File "virtualenv/", line 588, in install_setuptools
search_dirs=search_dirs, never_download=never_download)
File "virtualenv/", line 562, in _install_req
File "virtualenv/", line 863, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /root/tmp/tb/comm-ce…ualenv/bin/python2.7 -c "#!python

" /root/tmp/tb/comm-ce…ols-0.6c11-py2.7.egg failed with error code 1
Failure to install virtualenv
make[5]: *** [mozmill-virtualenv] Erreur 1
make[5] : on quitte le répertoire « /root/tmp/tb/comm-central/obj-i686-pc-linux-gnu/mail/test/mozmill »
make[4]: *** [libs] Erreur 2
make[4] : on quitte le répertoire « /root/tmp/tb/comm-central/obj-i686-pc-linux-gnu/mail »
make[3]: *** [libs_tier_app] Erreur 2
make[3] : on quitte le répertoire « /root/tmp/tb/comm-central/obj-i686-pc-linux-gnu »
make[2]: *** [tier_app] Erreur 2
make[2] : on quitte le répertoire « /root/tmp/tb/comm-central/obj-i686-pc-linux-gnu »
make[1]: *** [default] Erreur 2
make[1] : on quitte le répertoire « /root/tmp/tb/comm-central/obj-i686-pc-linux-gnu »
make: *** [build] Erreur 2

The problem is that the script looks for pyconfig.h in mozmill-virtualenv/include/multiarch-i386-linux/python2.7/, but the right path is mozmill-virtualenv/include/python2.7/, i.e. without multiarch-i386-linux/. Anyone knows how to fix this problem?


Bugzilla page on Google+

I just created an "official" Bugzilla page on Google+: Feel free to look at it from time to time to get the latest news about the Bugzilla development.

Catégories:Bugzilla, Mozilla

Recevez les nouvelles publications par mail.