LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-13-2012, 12:32 PM   #1
ferrel
Member
 
Registered: Feb 2007
Location: Pasadena, Texas
Distribution: Slackware 14.0
Posts: 137

Rep: Reputation: 3
Mozilla Firefox on 13.1


My browser is out of date (says so every time I open it). My current version is 3.6.3, which came with 13.1. I downloaded the upgrade, and
it's version 12.0. There seems to be two different numberings systems,
or is there? Just curious. If version 12.0 is correct, do I just unpack
it somewhere and run the script run-mozilla.sh? Or is there some slack
method that I must use?
 
Old 05-13-2012, 02:01 PM   #2
dlachausse
LQ Newbie
 
Registered: May 2012
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled
Version 12.0 is the latest version of Firefox. They've recently changed their version numbering scheme and release schedule to essentially follow/catch up to Google Chrome. I'm assuming you downloaded it from Mozilla's website. If that's the case, yes that should work. You might want to make a bash alias in your .bashrc or something though.

It looks like the latest version of Firefox for Slackware 13.1 officially is 3.6.28, so you would probably have to upgrade to a newer version of Slackware such as 13.37 to get Firefox 12.0 "officially supported".
 
Old 05-13-2012, 03:01 PM   #3
UnixCube
Member
 
Registered: Feb 2012
Location: Texas
Posts: 58

Rep: Reputation: 0
Try to unpack it, and run the script run-mozilla.sh, see if that works.
 
Old 05-13-2012, 04:47 PM   #4
BlackRider
Member
 
Registered: Aug 2011
Posts: 295

Rep: Reputation: 101Reputation: 101
To have Firefox backported to an old version of Slackware, you have two main options.

First, get the latest version from Mozilla (Firefox 12) and install it. They offer precompiled binaries you can just unpack in /opt and launch. There are precompiled binaries even for the 64 bit version, but they are hidden and not easy to find.

Mozilla offers also a long term support version. I think it is based on Firefox 10. You could just install it like above, and it offers the advantage of offering a more stable environment than switching the Firefox version each month.

If at some point the new versions of the browser stop working/compiling, then it's time to switch browser or upgrade your install.
 
Old 05-13-2012, 05:36 PM   #5
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Unpack the Mozilla binary into /opt (as root). Then make a soft link from /opt/firefox/firefox to /usr/local/firefox.
 
1 members found this post helpful.
Old 05-13-2012, 06:13 PM   #6
cfdisk
Member
 
Registered: May 2011
Location: Philadelphia, PA
Distribution: Slackware 13.37
Posts: 89

Rep: Reputation: 16
Quote:
Or is there some slack method that I must use?
Sure

Download Firefox binary from Mozilla site, move it in your home directory and unpack. Make alias:
Code:
alias f='~/firefox/firefox'
Restart, hit "f" in terminal, enjoy the latest Firefox.
 
Old 05-14-2012, 03:05 AM   #7
ferrel
Member
 
Registered: Feb 2007
Location: Pasadena, Texas
Distribution: Slackware 14.0
Posts: 137

Original Poster
Rep: Reputation: 3
Thanks for these replies. I guess I've been remiss in keeping my system updated.
I'm thinking I should update with slackpkg before I try anything. Is this reasonable?
Also, this is
occurring on my desktop computer at my home; my slack 13.1 dvd appears to still be
at my work location (365 miles away). I was looking for the dvd, in case I messed
up with these recommended attempts, so I could recover without internet access. I
don't see a slackbuild pkg for mozilla firefox on the slackbuild repository.

Last edited by ferrel; 05-14-2012 at 03:07 AM.
 
Old 05-14-2012, 05:07 AM   #8
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by ferrel View Post
I don't see a slackbuild pkg for mozilla firefox on the slackbuild repository.
SBo doesn't host SlackBuilds for software that's already part of Slackware. If you're looking for a SlackBuild script that'll build newer versions of Firefox, check the source/ directory for current(-64), although I'm not sure you'll be able to compile newer versions of Firefox on 13.1 without upgrading core libraries (if I remember correctly, they require a newer version of cairo than the one provided by 13.1).
 
Old 05-15-2012, 03:29 AM   #9
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
I upgraded on 13.0 using PV's slackbuild and all I had to do was add in libnotify (available from SBo).
 
Old 05-18-2012, 04:30 PM   #10
jlarsen
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware 14.1
Posts: 80

Rep: Reputation: 15
Quote:
Originally Posted by andrew.46 View Post
I upgraded on 13.0 using PV's slackbuild and all I had to do was add in libnotify (available from SBo).
I'm trying to do the same and it won't compile, even after adding libnotify and yasm. Maybe I'm using the wrong slackbuild (slackware-current/source/xap/mozilla-firefox/)? Is that the same one you used?
Thanks,

Last edited by jlarsen; 05-18-2012 at 04:33 PM. Reason: more detail
 
Old 05-19-2012, 06:41 PM   #11
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Yes it was the build script etc from:

http://slackware.osuosl.org/slackwar...zilla-firefox/

and yasm from patches + libotify from SBo. Seems a little odd that 13.1 is having trouble when it was so straightforward on 13.0, I am typing this post using Firefox 12.0 on Slackware 13.0 .
 
Old 06-06-2012, 07:33 PM   #12
slackDope
LQ Newbie
 
Registered: Nov 2007
Location: Ontario, Canada
Distribution: Slack 13.1-64 bit
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by ottavio View Post
Unpack the Mozilla binary into /opt (as root). Then make a soft link from /opt/firefox/firefox to /usr/local/firefox.
I tried that (downloading 64 bit en US file from Mozzila FTP, unpacking in /opt), but I was unsuccessful. When firefox launched, it was still using Firefox 3.6.22. I also tried making a soft link for firefox12:

ln -s /opt/firefox12/firefox /usr/bin/firefox12 (as root)

and then as user entering firefox12 in terminal, but still it launched firefox 3.6.22.

So then I tried to run the ./run-mozilla.sh as root. This command returned "cannot execute", despite the file being listed as executable with ls -l...

any ideas or suggestions?
 
Old 06-07-2012, 09:15 AM   #13
jlarsen
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware 14.1
Posts: 80

Rep: Reputation: 15
Maybe somewhere in the firefox binary it points to firefox, which is being found in your PATH.
Code:
 #whereis firefox
firefox: /usr/bin/firefox /usr/X11R6/bin/firefox /usr/bin/X11/firefox /usr/X11/bin/firefox
Just a guess. You could try using pgkgtool to remove the old version of firefox and see what happens. You should still have Konqueror if you need to get back to the forums.

Last edited by jlarsen; 06-07-2012 at 09:26 AM. Reason: left out a word
 
Old 06-07-2012, 09:18 AM   #14
jlarsen
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware 14.1
Posts: 80

Rep: Reputation: 15
I never was able to build it on 13.0. I get the following:
Code:
line.a ../libjs_static.a
../../../dist/bin/libnspr4.so: undefined reference to `__dlclose'
../../../dist/bin/libnspr4.so: undefined reference to `__dlsym'
../../../dist/bin/libnspr4.so: undefined reference to `__dlerror'
../../../dist/bin/libnspr4.so: undefined reference to `__dlopen'
collect2: ld returned 1 exit status
make[4]: *** [js] Error 1
make[4]: Leaving directory `/tmp/mozilla-release/js/src/shell'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/tmp/mozilla-release/js/src'
make[2]: *** [libs_tier_js] Error 2
make[2]: Leaving directory `/tmp/mozilla-release'
make[1]: *** [tier_js] Error 2
make[1]: Leaving directory `/tmp/mozilla-release'
make: *** [default] Error 2
Now that I look at config.log, there are a lot of errors there. This seems a little familiar. I had a problem like this once before and it was due to a file in the kernel source that was removed when compiling the kernel. Can't remember what it was though.........maybe that's not even the problem. Here is some of the output from config.log in case anybody with more knowledge is feeling nice and wants to help

Code:
int main() {
dnet_ntoa()
; return 0; }
configure:5569: checking for gethostbyname
configure:5597: gcc -o conftest -O   conftest.c  1>&5
configure:5667: checking for connect
configure:5695: gcc -o conftest -O   conftest.c  1>&5
configure:5759: checking for remove
configure:5787: gcc -o conftest -O   conftest.c  1>&5
configure:5851: checking for shmat
configure:5879: gcc -o conftest -O   conftest.c  1>&5
configure:5952: checking for IceConnectionNumber in -lICE
configure:5971: gcc -o conftest -O   conftest.c -lICE   1>&5
configure:6371: gcc -c   conftest.c 1>&5
configure: In function 'main':
configure:6367: error: '__thumb2__' undeclared (first use in this function)
configure:6367: error: (Each undeclared identifier is reported only once
configure:6367: error: for each function it appears in.)
configure: failed program was:
#line 6364 "configure"
#include "confdefs.h"

int main() {
return sizeof(__thumb2__);
; return 0; }
configure:6545: checking that static assertion macros used in autoconf tests work
configure:6566: gcc -c -O  conftest.c 1>&5
configure:6583: gcc -c -O  conftest.c 1>&5
configure: In function 'main':
configure:6584: error: size of array 'static_assert_line_6583' is negative
configure: failed program was:
#line 6576 "configure"
#include "confdefs.h"
and further down I noticed this(there are many other errors, but this looked interesting):
Code:
int main() {
dlopen()
; return 0; }
configure:10221: gcc -o conftest -O -fno-strict-aliasing   conftest.c -ldl   1>&5
/tmp/ccoVidIE.o: In function `main':
conftest.c:(.text+0x12): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for
/usr/lib/gcc/i486-slackware-linux/4.3.3/../../../libdl.a(dlopen.o): In function `dlopen':
(.text+0x1b): undefined reference to `__dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10210 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */

Last edited by jlarsen; 06-07-2012 at 11:47 AM. Reason: more info
 
Old 06-07-2012, 10:27 AM   #15
Luna_Moonfang
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
thank you
 
  


Reply



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 Thunderbird to Find New Home as Mozilla Foundation Focuses on Mozilla Firefox LXer Syndicated Linux News 0 07-27-2007 09:16 AM
LXer: Mozilla Firefox 1.5.0.9 and Mozilla Thunderbird 1.5.0.9 Released LXer Syndicated Linux News 0 12-25-2006 01:24 AM
LXer: Mozilla Corporation Signs Mozilla Firefox Distribution Deal with RealNetworks LXer Syndicated Linux News 0 08-03-2006 03:21 PM
LXer: Mozilla Firefox and Mozilla Thunderbird 1.5.0.5 Community Test Day LXer Syndicated Linux News 0 07-14-2006 08:54 AM
Mozilla flaws could allow attacks, data access into Firefox & Mozilla web browsers! t3gah Linux - Security 6 04-09-2006 04:00 AM

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

All times are GMT -5. The time now is 07:44 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