How to fix bug 684865
Hi,
I need to fix bug 684865. To fix it I must compile it to run make -f client.mk from comm-central/. Then I get this error message –
/usr/bin/python2.7 ../../../mozilla/_tests/mozmill/resources/installmozmill.py ../../../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
”””Bootstra…sys.argv[1:])
” /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/virtualenv.py”, line 1965, in <module>
main()
File “virtualenv/virtualenv.py”, line 795, in main
never_download=options.never_download)
File “virtualenv/virtualenv.py”, line 895, in create_environment
search_dirs=search_dirs, never_download=never_download)
File “virtualenv/virtualenv.py”, line 588, in install_setuptools
search_dirs=search_dirs, never_download=never_download)
File “virtualenv/virtualenv.py”, line 562, in _install_req
cwd=cwd)
File “virtualenv/virtualenv.py”, line 863, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /root/tmp/tb/comm-ce…ualenv/bin/python2.7 -c “#!python
”””Bootstra…sys.argv[1:])
” /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/.
Please help me to resolve this.