LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-28-2019, 06:08 AM   #1
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64
Posts: 243

Rep: Reputation: 21
Firefox-65.0 on Slack64-current


Just noticed that FF-65 was just released and tried to build it. Got the following error -

ERROR: cbindgen version 0.6.6 is too old. At least version 0.6.7 is required.

Found cbindgen in /home/me/.cargo/bin/cbindgen. Not sure if I need a new version of Rust to get the correct version or some other package. Anyone know the answer?? Thanks in advance.
 
Old 01-28-2019, 08:16 AM   #2
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 123

Rep: Reputation: 86
Since rust-1.32.0 is the latest stable version and also the one in -current, it doesn't make sense that it should need upgrading.
I notice that FF-65 isn't available at https://www.mozilla.org/en-US/firefox/all/ (yet). And it's not picked up by ruario's latest-firefox script (yet). What build script do you use?

I found FF-65 on https://ftp.mozilla.org/pub/firefox/...x-65.0.tar.bz2, downloaded and made a quick and dirty install by simply extracting the .bz2 file to a folder of its own. It started and ran OK.
 
1 members found this post helpful.
Old 01-28-2019, 08:49 AM   #3
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64
Posts: 243

Original Poster
Rep: Reputation: 21
Thanks for your response. I got my source from https://archive.mozilla.org/pub/firefox/releases/65.0/. Yes, I had seen that that is the latest rust version but was wondering where one is supposed to obtain/build cbindgen ver. at least 0.6.7. I thought it was built in rust. Perhaps I am wrong.
 
Old 01-28-2019, 09:12 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,792

Rep: Reputation: Disabled
https://www.linuxquestions.org/quest...1/#post5900444

https://github.com/eqrion/cbindgen/releases

you can copy the generated cbindgen binary somewhere in your path.

note that you will need to install also nodejs to build firefox

https://slackbuilds.org/repository/1...opment/nodejs/
 
2 members found this post helpful.
Old 01-28-2019, 09:13 AM   #5
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 123

Rep: Reputation: 86
Might be that cbindgen is indeed a necessary addition when building from source, found this: https://www.linuxquestions.org/quest...ml#post5900444
 
Old 01-28-2019, 12:09 PM   #6
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 301

Rep: Reputation: 279Reputation: 279Reputation: 279
Quote:
Originally Posted by ponce View Post
note that you will need to install also nodejs to build firefox

https://slackbuilds.org/repository/1...opment/nodejs/
I thought you were being facetious, but no: node.js was added as an optional compile-time dependency in August and became a hard dependency a week later. By my count, that makes compilers or interpreters for C, C++, Perl, Python, Rust, and node.js necessary to build Firefox. Looks like node.js is going into -current, then: I don't envy Pat for having to maintain that.

Semi-serious question: by Firefox 70, will there be a programming language that isn't used by the Firefox build process in some way?
 
1 members found this post helpful.
Old 01-28-2019, 01:19 PM   #7
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64
Posts: 243

Original Poster
Rep: Reputation: 21
Ponce you nailed it. Many thanks for your answer. I built and installed cbindgen-0.7.1 and FF-65.0 is building just fine. Thank you again. I have -pgo enabled and it takes about an hour to build FF these days.

Also already had nodejs from Eric as I'm running Plasma5.

Last edited by 3rensho; 01-28-2019 at 01:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack64-current - CTRL-ALT-BACKSPACE doesn't kill X GrapefruiTgirl Slackware 8 08-29-2009 09:32 AM
[SOLVED] Slack64 -current, KDE4, and intermittent DNS outages Crashbox Slackware 9 08-21-2009 07:53 PM
Slack64-current: X questions, Ext4 question GrapefruiTgirl Slackware 8 07-21-2009 09:05 AM
Slack64-Current / NVIDIA Driver / possible bug? slackass Slackware 2 05-21-2009 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration