LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2016, 08:03 AM   #1
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 708

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
firefox-47.0


I'm running Slackware64-current + GCC-5.4. Firefox-45.2.0esr built fine so decided to build Firefox-47.0. The build stops with -

firefox-47.0/obj/config.cache
js/src> Refreshing /tmp/firefox-47.0/js/src/old-configure with /usr/bin/autoconf213
js/src> autoconf213: error: invalid option `--localdir=/tmp/firefox-47.0/js/src'
js/src> Try `autoconf213 --help' for more information.
js/src> Traceback (most recent call last):
js/src> File "/tmp/firefox-47.0/build/../configure.py", line 123, in <module>
js/src> sys.exit(main(sys.argv[1:]))
js/src> File "/tmp/firefox-47.0/build/../configure.py", line 114, in main
js/src> autoconf_refresh(old_configure)
js/src> File "/tmp/firefox-47.0/build/../configure.py", line 99, in autoconf_refresh
js/src> configure + '.in'], stdout=fh)
js/src> File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call
js/src> raise CalledProcessError(retcode, cmd)
js/src> subprocess.CalledProcessError: Command '[u'sh', u'/usr/bin/autoconf213', u'--localdir=/tmp/firefox-47.0/js/src', u'/tmp/firefox-47.0/js/src/old-configure.in']' returned non-zero exit status 1

*** Fix above errors and then restart with\
"make -f client.mk build"

I've done a lot of searching for the above error but have yet to find a solution. When I first tried to build 47.0 it stopped with the error that it couldn't autoconf213. I created a link in /usr/bin for autoconf213 -> autoconf. That got me one step further to the above error.

Is this error arising because of the GCC version or something else?? Thanks in advance.
 
Old 06-14-2016, 02:29 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,197

Rep: Reputation: 164Reputation: 164
You should better stick with the ESR version.
Use google and read, what is written about the ESR version.
 
1 members found this post helpful.
Old 06-15-2016, 01:43 AM   #3
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 708

Original Poster
Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Your response has no bearing on the question at hand. Nothing is ever accomplished by giving up. Anyone else have any thoughts on the error I am seeing.
 
Old 06-15-2016, 02:22 AM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,197

Rep: Reputation: 164Reputation: 164
Something with the make/configure script is wrong.

invalid option `--localdir=/tmp/firefox-47.0/js/src'
 
Old 06-15-2016, 02:24 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,984
Blog Entries: 16

Rep: Reputation: 3542Reputation: 3542Reputation: 3542Reputation: 3542Reputation: 3542Reputation: 3542Reputation: 3542Reputation: 3542Reputation: 3542Reputation: 3542Reputation: 3542
My guess is that you really do need autoconf-2.13 for this build; a symbolic link might fool the configure script but it doesn't work in make. In Crux, autoconf-2.13 is listed as a build dependency for firefox and there is a separate package that installs it alongside the later autoconf. Debian has a separate package for it too.
From the Mozilla site:
Quote:
Why doesn't Mozilla support autoconf 2.5x?

Simply put, autoconf 2.5x does not offer anything to make the upgrade worth the effort. Autoconf 2.5x is not backwards compatible with autoconf 2.13 and the additional restrictions made by the newer versions of autoconf would require a major rewrite of the Mozilla build system for questionable gain.

Some of the 2.13 features, such as the ability to pass additional arguments to sub-configures, are not available in 2.5x. People have asked repeated about those features on the autoconf mailing list without any favorable response. Rewriting the configures of the sub-projects of Mozilla (NSPR & LDAP) is not an acceptable tradeoff. The sub-projects are also standalone projects and forking an entire codebase because of a build system incompatiblity is silly.

Last edited by hazel; 06-15-2016 at 02:27 AM. Reason: Reference added
 
Old 06-15-2016, 04:03 AM   #6
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third
Posts: 563

Rep: Reputation: Disabled
I know some people enjoy the challenge of compiling software but with firefox I just dl the tar file and unzip it into its own folder in /usr/share. You create a symlink in /usr/bin and that's it.
 
Old 06-15-2016, 11:09 AM   #7
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 708

Original Poster
Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Thank you all for your suggestions/comments. I'll get autoconf-2.13 installed.
 
Old 06-15-2016, 02:54 PM   #8
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third
Posts: 563

Rep: Reputation: Disabled
Quote:
Originally Posted by petelq View Post
I know some people enjoy the challenge of compiling software but with firefox I just dl the tar file and unzip it into its own folder in /usr/share. You create a symlink in /usr/bin and that's it.
I didn't really think that would go down very well!
 
Old 06-16-2016, 03:19 PM   #9
oldpink
LQ Newbie
 
Registered: Feb 2004
Posts: 12

Rep: Reputation: 0
FWIW, I installed Autoconf-2.13 and I still couldn't build this version of Firefox.
On top of that, someone must ask the obvious here: Why exactly is it that Firefox would require an old version of Autoconf, one that's actually dated June 15, 1999?
Am I missing something here, or is there some rational explanation for a sudden change between 46.0 and 47.0 that requires an Autoconf that's over sixteen years old?
The developers over at Mozilla may not have noticed it, but the current version of Autoconf is clear up at 2.69.
On top of that, installing that ancient version of Autoconf still fails for some other incomprehensible reason.
 
Old 06-16-2016, 05:23 PM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,538
Blog Entries: 4

Rep: Reputation: 3430Reputation: 3430Reputation: 3430Reputation: 3430Reputation: 3430Reputation: 3430Reputation: 3430Reputation: 3430Reputation: 3430Reputation: 3430Reputation: 3430
Code:
while (true) { firefox_version++; sleep(1) };
...
 
Old 06-16-2016, 06:29 PM   #11
oldpink
LQ Newbie
 
Registered: Feb 2004
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by sundialsvcs View Post
Code:
while (true) { firefox_version++; sleep(1) };
...
Yes, I get it, but the fact remains that this is the first version of Firefox that I haven't been able to compile myself, a practice that I prefer to get the build optimized using options specific to my CPU.
You've got to admit it's really oddball that 46.0 builds just fine using Autoconf-2.69, then out comes 47.0 that requires Autoconf-2.13, yet still fails to build even then.
 
Old 06-29-2016, 12:25 AM   #12
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 708

Original Poster
Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Well, looks like they got the problem fixed with 47.0.1. Just built it (with PGO enabled) and build went without a hitch.
 
  


Reply

Tags
slackware


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
LXer: Mozilla Brings Instant Messaging to Firefox 41, Tracking Protection to Firefox 42 LXer Syndicated Linux News 0 09-25-2015 05:22 AM
LXer: Firefox 9 Is 30% Faster Than Firefox 8 | Install Firefox 9 On Ubuntu 11.10 and Earlier Release LXer Syndicated Linux News 0 12-30-2011 04:50 PM
LXer: Firefox 8 is 20% Faster than Firefox 5, Install Firefox 8 in Ubuntu via PPA LXer Syndicated Linux News 0 07-21-2011 10:31 PM
LXer: OpenBSD: I swap Firefox 2 for Firefox 3 (and don't melt silicon in the process) LXer Syndicated Linux News 0 04-17-2009 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:47 PM.

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
Open Source Consulting | Domain Registration