How to fix bug 684865

Asked By 20 points N/A Posted on -
qa-featured

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.
SHARE
Answered By 0 points N/A #109252

How to fix bug 684865

qa-featured

Have you tried renaming the file and then use that new name on all other fields?

Sometimes there is a glitch in the system that it stuck on a particular file name and that only the simple steps can help you out on it.

First copy all the source code with the correct paths to a new file and delete the old file.

Name the file something other than the name of the old file.

Use the new file name in all places where you need its references.

Save it and restart.

Just to help you out more, here is an external link that might contain useful information for you.

Login/Register to Answer

Related Questions