Python error while compiling Firefox 32.0.3 under Slackware64 14.1
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Python error while compiling Firefox 32.0.3 under Slackware64 14.1
Hi, I am trying to upgrade Firefox using this instead of something simpler like ruario's SlackBuild because I want to try to see how it improves HTML5 support.
I am using all SlackBuilds unmodified from here and all of them went fine, except Firefox.
I've started it with:
Code:
LANG=C MOZLOCALIZE=pt-BR sh mozilla-firefox.SlackBuild 2>error.log
error.log:
Code:
chmod: cannot operate on dangling symlink './media/webrtc/trunk/webrtc/tools/e2e_quality/audio/perf'
client.mk:214: /tmp/mozilla-release/obj/.mozconfig.mk: No such file or directory
Traceback (most recent call last):
File "/tmp/mozilla-release/python/mozbuild/mozbuild/virtualenv.py", line 473, in <module>
manager.ensure()
File "/tmp/mozilla-release/python/mozbuild/mozbuild/virtualenv.py", line 128, in ensure
return self.build()
File "/tmp/mozilla-release/python/mozbuild/mozbuild/virtualenv.py", line 371, in build
self.create()
File "/tmp/mozilla-release/python/mozbuild/mozbuild/virtualenv.py", line 147, in create
raise Exception('Error creating virtualenv.')
Exception: Error creating virtualenv.
make[2]: *** [configure] Error 1
make[1]: *** [/tmp/mozilla-release/obj/Makefile] Error 2
make: *** [build] Error 2
I don't have it installed and the build works fine.
These two errors don't cause any problems with the build:
Code:
chmod: cannot operate on dangling symlink './media/webrtc/trunk/webrtc/tools/e2e_quality/audio/perf'
client.mk:214: /tmp/mozilla-release/obj/.mozconfig.mk: No such file or directory
If that's the case then your OpenSSL doesn't have SSL 2.0 support. Please take a look at my SSL 2.0 thread and pay particular
attention to the caveat utilitor halfway down. Your issue might be that you didn't re-build Python and possibly M2Crypto.
Try again after re-building those two packages against your OpenSSL.
If that's the case then your OpenSSL doesn't have SSL 2.0 support. Please take a look at my SSL 2.0 thread and pay particular
attention to the caveat utilitor halfway down. Your issue might be that you didn't re-build Python and possibly M2Crypto.
Try again after re-building those two packages against your OpenSSL.
--mancha
I was aware of that thread, I just didn't take time to rebuild all it was posted there. I only rebuilt neon, so far. I thought python was going to be much harder because I've misread you at this: "If you want to use it with LibreSSL you'll have to patch Python so it doesn't use RAND_egd." I probably missed the "LibreSSL" part. I am going to rebuild them and see if everything works correctly now.
And before creating this thread I thought it could have been related to OpenSSL but I wasn't sure.
Ok, I am confused now. I am still not sure if I got everything correclty: am I supposed to rebuilt Python and M2Crypto with unmodified SlackBuilds? Because I just tried that and I got the exact same error messages. The logs are equal.
Ok, I am confused now. I am still not sure if I got everything correclty: am I supposed to rebuilt Python and M2Crypto with unmodified SlackBuilds? Because I just tried that and I got the exact same error messages. The logs are equal.
What happens when you try the following:
Code:
$ python
Python 2.7.5
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
pedro@slack [~] $ python
Python 2.7.5 (default, Sep 27 2014, 22:40:36)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/ssl.py", line 60, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: No module named _ssl
>>>
I had downloaded your new version but I think I messed up something while extracting the files/moving the directories around.
Just for curiosity I've ran diff against both directories (the one in my SlackBuilds folder, which I used to compile OpenSSL and the openssl-20140916.tar.bz2 extracted folder under /home/pedro/Downloads)
Code:
pedro@slack [~] $ ls -l SlackBuilds/openssl/
total 4364
-rw-r--r-- 1 pedro users 1758 Ago 8 2012 certwatch.gz
-rw-r--r-- 1 pedro users 281 Jun 13 2007 doinst.sh-openssl-solibs.gz
-rw-r--r-- 1 pedro users 501 Jul 12 2012 doinst.sh-openssl.gz
-rw-r--r-- 1 pedro users 4422117 Set 16 05:06 openssl-1.0.1i.tar.gz
-rw-r--r-- 1 pedro users 473 Set 16 05:06 openssl-1.0.1i.tar.gz.asc
-rwxr-xr-x 1 pedro users 7699 Set 16 23:30 openssl.SlackBuild*
-rw-r--r-- 1 pedro users 509 Jun 5 16:14 openssl.optsx86.diff.gz
-rw-r--r-- 1 pedro users 303 Jul 3 2012 openssl.soname.diff.gz
drwxr-xr-x 2 pedro users 4096 Set 16 15:28 openssl0/
-rw-r--r-- 1 pedro users 1019 Abr 6 2002 slack-desc.openssl
-rw-r--r-- 1 pedro users 1090 Jul 3 2012 slack-desc.openssl-solibs
Code:
pedro@slack [~] $ ls -l ~/Downloads/openssl
total 4364
-rw-r--r-- 1 pedro users 1758 Ago 8 2012 certwatch.gz
-rw-r--r-- 1 pedro users 281 Jun 13 2007 doinst.sh-openssl-solibs.gz
-rw-r--r-- 1 pedro users 501 Jul 12 2012 doinst.sh-openssl.gz
-rw-r--r-- 1 pedro users 4422117 Set 16 05:06 openssl-1.0.1i.tar.gz
-rw-r--r-- 1 pedro users 473 Set 16 05:06 openssl-1.0.1i.tar.gz.asc
-rw-r--r-- 1 pedro users 7699 Set 16 15:56 openssl.SlackBuild
-rw-r--r-- 1 pedro users 509 Jun 5 16:14 openssl.optsx86.diff.gz
-rw-r--r-- 1 pedro users 303 Jul 3 2012 openssl.soname.diff.gz
drwxr-xr-x 2 pedro users 4096 Set 16 15:28 openssl0/
-rw-r--r-- 1 pedro users 1019 Abr 6 2002 slack-desc.openssl
-rw-r--r-- 1 pedro users 1090 Jul 3 2012 slack-desc.openssl-solibs
I get 477. But it doesn't really matter, because if the gstreamer base package is present on the system almost all tests regarding HTML5 video and audio automatically go green. Firefox can't distinguish which codecs are present and which are not. Unless you really want to play a file and it doesn't work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.