You are not logged in.

#1 2012-10-19 16:07:19

Wake
Member
Registered: 2012-01-12
Posts: 8

[solved] mozilla development - python troubles?

I'm trying to compile mozilla, thinking I'd contribute to the "community" in my retirement. It requires python2 and autoconf-2.13, which I've installed. I've aliased python to /usr/bin/python2, and set the mozilla build to use autoconf-2.13

The mozilla build fails with python errors, so I suspect the python environment is messed up somehow.

Anybody done this recently?

Last edited by Wake (2012-10-22 02:46:32)

Offline

#2 2012-10-19 16:14:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: [solved] mozilla development - python troubles?

I'm not sure I understand: which package are you trying to build - firefox? We already provide a precompiled version and you can use ABS if you want it compiled differently.
Its PKGBUILD and patches is here: https://projects.archlinux.org/svntogit … es/firefox

Last edited by karol (2012-10-19 16:14:46)

Offline

#3 2012-10-21 23:51:35

Wake
Member
Registered: 2012-01-12
Posts: 8

Re: [solved] mozilla development - python troubles?

I've already got the distribution's executable.

I'm thinking about contributing to mozilla.org as a developer, so I  need the source (mercurial clone) and build environment. They give instructions at mozilla, but they don't work on my machine. Probably a python setup or environment problem. Mozilla uses python 2.7, so I've aliased python -> /usr/bin/python2. I've filed a bug report, but I thought I'd see if anybody else had the problem.

I'll check the ABS and see if it is helpful.

Offline

#4 2012-10-22 01:29:37

Wake
Member
Registered: 2012-01-12
Posts: 8

Re: [solved] mozilla development - python troubles?

I've "solved" this problem. It turns out 'alias python=/usr/bin/python2' doesn't work. The wiki suggestion works - that is to 'ln -sf /usr/bin/python2 ~/bin/python'.

Offline

#5 2012-10-22 01:51:14

progandy
Member
Registered: 2012-05-17
Posts: 2,152

Re: [solved] mozilla development - python troubles?

Wake wrote:

I've "solved" this problem. It turns out 'alias python=/usr/bin/python2' doesn't work. The wiki suggestion works - that is to 'ln -sf /usr/bin/python2 ~/bin/python'.

The PKGBUILD contains the code you need to set up a build environment, just take the lines you need and run them manually, e.g. set the PYTHON environment variable.

Offline

Board footer

Powered by FluxBB