X
Πατήστε εδώ για μετάβαση στην έκδοση της ιστοσελίδας για κινητές συσκευές.

Φόρουμ υποστήριξης

Building mozilla from source code on CentOS-8

Δημοσιεύτηκε

Hi,

I am trying to build the latest ESR and ESR31 on CentOS 8. I am trying to run the bootstrapper but it is unable to find some packages for both ESR sources ( i.e. 31 and 68 ). Am I doing something wrong with my assumption of building mozilla from source on CentOS 8 ? Please help!!

Hi, I am trying to build the latest ESR and ESR31 on CentOS 8. I am trying to run the bootstrapper but it is unable to find some packages for both ESR sources ( i.e. 31 and 68 ). Am I doing something wrong with my assumption of building mozilla from source on CentOS 8 ? Please help!!
Παράθεση

Επιπρόσθετες λεπτομέρειες συστήματος

Εφαρμογή

  • Πλατφόρμα χρήστη: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

Περισσότερες πληροφορίες

Dinushi Dhananjani
  • Top 25 Contributor
4 λύσεις 182 απαντήσεις
Δημοσιεύτηκε

First remove any existing version of Firefox from your system sudo yum remove firefox #Redhat based systems sudo dnf remove firefox #Fedora 22+ systems sudo apt-get remove firefox #Debian based systems

unlink or rename the current firefox binary unlink /usr/bin/firefox ## Or rename file mv /usr/bin/firefox /usr/bin/firefox_bak

Download Latest Firefox for Linux cd /usr/local wget http://ftp.mozilla.org/pub/firefox/releases/70.0.1/linux-x86_64/en-US/firefox-70.0.1.tar.bz2

Firefox archive on your system tar xvjf firefox-70.0.1.tar.bz2

Install Firefox on Linux sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox firefox &

First remove any existing version of Firefox from your system sudo yum remove firefox #Redhat based systems sudo dnf remove firefox #Fedora 22+ systems sudo apt-get remove firefox #Debian based systems unlink or rename the current firefox binary unlink /usr/bin/firefox ## Or rename file mv /usr/bin/firefox /usr/bin/firefox_bak Download Latest Firefox for Linux cd /usr/local wget http://ftp.mozilla.org/pub/firefox/releases/70.0.1/linux-x86_64/en-US/firefox-70.0.1.tar.bz2 Firefox archive on your system tar xvjf firefox-70.0.1.tar.bz2 Install Firefox on Linux sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox firefox &
Σάς φάνηκε χρήσιμο; 0
Παράθεση
Δημοσιεύτηκε

Χρήσιμη απάντηση

Hi @Dinushi Dhananjani , Thanks for the quick info, but I am talking about building the Firefox from source on CentOS-8 rather than installing directly using the package manager. My question specifically concerns building ESR-31 on centOS 8, while the bootstrapper of ESR-31 release is leading to package and package groups not found failures.

Hi @Dinushi Dhananjani , Thanks for the quick info, but I am talking about building the Firefox from source on CentOS-8 rather than installing directly using the package manager. My question specifically concerns building ESR-31 on centOS 8, while the bootstrapper of ESR-31 release is leading to package and package groups not found failures.

Τροποποιήθηκε στις από το χρήστη sswien

Σάς φάνηκε χρήσιμο; 1
Παράθεση
Standard8 37 λύσεις 201 απαντήσεις
Δημοσιεύτηκε

ESR 31 is a few years old now, and it is likely that it may not be able to be built with CentOS 8 out of the box - some of the packages will have been updated or changed, and the build requirements may be different to what they were previously.

I'd suggest seeing if there's a CentOS community that have dealt with building and packaging Firefox, they may be able to help.

ESR 31 is a few years old now, and it is likely that it may not be able to be built with CentOS 8 out of the box - some of the packages will have been updated or changed, and the build requirements may be different to what they were previously. I'd suggest seeing if there's a CentOS community that have dealt with building and packaging Firefox, they may be able to help.
Σάς φάνηκε χρήσιμο;
Παράθεση
cor-el
  • Top 10 Contributor
  • Moderator
17569 λύσεις 158915 απαντήσεις
Δημοσιεύτηκε
Maybe try Firefox 45 ESR instead of Firefox 31. *https://www.mozilla.org/en-US/firefox/68.0esr/system-requirements/ *https://www.mozilla.org/en-US/firefox/45.0esr/system-requirements/ *https://www.mozilla.org/en-US/firefox/38.0/system-requirements/ *https://www.mozilla.org/en-US/firefox/31.0/system-requirements/
Σάς φάνηκε χρήσιμο;
Παράθεση
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

@Standard8 and @cor-el , thanks guys for your reply. But for me requirements are strict that I have to build Mozilla ESR 31 on CentOS-8. I will be using the replacement packages and tools to satisfy the need of build tools. But I will be using latest compilers coming with CentOS 8 to build the ESR 31. Any relevant information in that direction will be much appreciated. Thanks !

@Standard8 and @cor-el , thanks guys for your reply. But for me requirements are strict that I have to build Mozilla ESR 31 on CentOS-8. I will be using the replacement packages and tools to satisfy the need of build tools. But I will be using latest compilers coming with CentOS 8 to build the ESR 31. Any relevant information in that direction will be much appreciated. Thanks !
Σάς φάνηκε χρήσιμο;
Παράθεση
Standard8 37 λύσεις 201 απαντήσεις
Δημοσιεύτηκε

Whilst I understand they're what have been given to you. Making that work on latest Linux implies they will be using it for something - which is a really bad idea.

That's an old version of Firefox which will have known security issues and as a result, should not be connected to the internet or you'll be putting the system at risk. If there's something really missing, I would strongly urge debating if the latest Firefox could be modified (or if you could get it included with the latest FF).

If you really want to continue down this route, the only thing I can suggest is looking at some of the build documentation on developer.mozilla.org and going through the history of it - it might give some hints. Though I expect you'll actually need to bring the code up to date.

Whilst I understand they're what have been given to you. Making that work on latest Linux implies they will be using it for something - which is a really bad idea. That's an old version of Firefox which will have known security issues and as a result, should not be connected to the internet or you'll be putting the system at risk. If there's something really missing, I would strongly urge debating if the latest Firefox could be modified (or if you could get it included with the latest FF). If you really want to continue down this route, the only thing I can suggest is looking at some of the build documentation on developer.mozilla.org and going through the history of it - it might give some hints. Though I expect you'll actually need to bring the code up to date.
Σάς φάνηκε χρήσιμο;
Παράθεση
Κάντε μια ερώτηση

Πρέπει να συνδεθείτε στο λογαριασμό σας για να απαντήσετε στις δημοσιεύσεις. Παρακαλούμε ξεκινήστε μια νέα ερώτηση, αν δεν έχετε ήδη λογαριασμό.