[CentOS] firefox 18
James Pearson
james-p at moving-picture.com
Fri Jan 25 14:03:17 UTC 2013
fred smith wrote:
>
> the build process explicitly checks for python 2.7 or greater, so how
> does 2.6 succeed?
>
> from the mach build tool:
>
> #!/usr/bin/env python
> # This Source Code Form is subject to the terms of the Mozilla Public
> # License, v. 2.0. If a copy of the MPL was not distributed with this
> # file, You can obtain one at http://mozilla.org/MPL/2.0/.
>
> from __future__ import print_function, unicode_literals
>
> import os
> import platform
> import sys
>
> # Ensure we are running Python 2.7+. We put this check here so we generate a
> # user-friendly error message rather than a cryptic stack trace on module
> # import.
> if sys.version_info[0] == 2 and sys.version_info[1] < 7:
> print('Python 2.7 or above is required to run mach.')
> print('You are running', platform.python_version())
> sys.exit(1)
Are you sure that is used?
As a test, I did a fresh install of CentOS 5 i386, installed
epel-release and rpmforge-release from
<http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm>
and
<http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm>
Then did:
yum groupinstall development-tools development-libs
x-software-development gnome-software-development
yum install gcc44 gcc44-c++ python26 yasm-devel
Unpacked the firefox 18.0.1 source code, created the mozconfig file and
ran 'make -f client.mk'
And it built fine ...
James Pearson
More information about the CentOS
mailing list