LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 04-29-2006, 12:48 AM   #16
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66

Quote:
Originally Posted by CrazyC
getswiftfox.com/tr-ath64.htm
Okay... a little disclaimer: not having a 64-bit computer myself, I'm unable to test this, so you're a bit of a guinea pig. Go to a terminal...

Applications > Accessories > Terminal in Ubuntu
KMenu > System > Konsole in Kubuntu

Copy and paste these commands:
Code:
gedit installswiftfox64.sh
for Ubuntu
Code:
kwrite installswiftfox64.sh
for Kubuntu

Copy and paste this code into the new blank document:
Code:
#!/bin/sh
echo "Updating repositories list
"
sudo apt-get update
echo "
Making sure libstdc++5 and the old Firefox are installed
"
sudo apt-get -y install firefox libstdc++5
echo "
Backing up old Firefox preferences
"
cp -R ~/.mozilla ~/.mozilla_backup
echo "
Changing to home directory
"
cd
echo "
Downloading Firefox from the Mozilla site
"
wget -c http://getswiftfox.com/builds/amd64/trunk/swiftfox.en-US.linux-athlon64.tar.bz2
echo "
Unzipping the .tar.gz file
"
sudo tar -C /opt -xvvf swiftfox.en-US.linux-athlon64.tar.bz2
echo "
Removing the unzipped .tar.gz
"
rm swiftfox.en-US.linux-athlon64.tar.bz2
echo "
Linking plugins
"
cd /opt/swiftfox/plugins/
sudo ln -s /usr/lib/mozilla-firefox/plugins/* .
echo "
Linking launcher to new Firefox
"
sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
sudo ln -s /opt/swiftfox/swiftfox /usr/bin/firefox
sudo dpkg-divert --divert /usr/bin/mozilla-firefox.ubuntu --rename /usr/bin/mozilla-firefox
sudo ln -s /opt/swiftfox/swiftfox /usr/bin/mozilla-firefox
echo "
The new Firefox is installed."
Then save and exit. Copy and paste these commands:
Code:
chmod +x installswiftfox64.sh
./installswiftfox64.sh
 
Old 04-30-2006, 10:28 AM   #17
CrazyC
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
There appears to be some problems with the run-mozilla.sh script to begin with.
It's looking for firefox-bin and since the file is actually called swiftfox-bin, it errors on that first.

Oh, let me go back a step.... aysiu, you're code worked wonderfully, but there are problem with the actual swiftfox/firefox package that mozilla released.
And I should also comment that I was being a smart allec when I pointed out the download. I'm not really a newbie and I could have set this up myself, but for the newbies out there it is definitely a good idea and I like what you've been doing to help out.

ok, back to the amd build problems. Since the run script was looking for firefox-bin, I copied swiftfox-bin to firefox-bin. It will then run when executing the link /usr/bin/firefox or calling /opt/swiftfox/swiftfox directly.

Then it sat there hanging looking for updates to extensions that were installed.

Ok, so I cancel that. Now I got a whole bunch of errors about missing pango modules. And the final 2 errors that killed the script are:


Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...
/opt/swiftfox/run-mozilla.sh: line 131: 11803 Aborted "$prog" ${1+"$@"}


I'll do some quick hunting on pango modules. Like I said, I'm not a complete newb, but I'm also not up on everything. I've been running linux for webservers for a few years, but have only gotten into using Kubuntu for my desktop in the past few weeks.
 
Old 04-30-2006, 10:44 AM   #18
CrazyC
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
I believe I solved my problem, but I'm not exactly sure what's causing it. I got the same error, even when I removed all plugins and extensions, so as I said I would, I went hunting and came up with the information about installing 32bit plugins in the 64 bit version of firefox.

To get the install script working above, we'll need to (at least, this is what I needed) rename swiftfox-bin to firefox-bin, then in place of the symlink to /opt/swiftfox/swiftfox, I had to create a shell script like so:

Code:
#!/bin/sh
export GTK_PATH=/usr/lib64/gtk-2.0
export PANGO_RC_FILE=/etc/pango32/pangorc
/opt/swiftfox/swiftfox $@
I even tried creating a pangorc file in the main /etc/pango directory that pointed to the 64 bit modules and aliases, but it didn't work correctly. The only way I could get firefox to load was with the pango32 rc file. Maybe someone with a little more knowledge about this stuff could play a bit, of course an amd64 bit installation would be needed.
 
Old 04-30-2006, 11:22 AM   #19
CrazyC
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
I just noticed something else. The link that I posted for the swiftfox amd64 build is incorrect. The trunk download is swiftfox 3.0.1a. The correct page for the download link should be: http://getswiftfox.com/rel-athlon64.htm

And the direct link to the file would be: http://getswiftfox.com/builds/releas...hlon64.tar.bz2

However, after testing the correct version, it will still only work with the pango32 rc file.
 
Old 04-30-2006, 11:27 AM   #20
CrazyC
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
One more quick bit... after installing the CORRECT version, there is no need to rename swiftfox-bin to firefox-bin. It works correctly as default.
 
Old 04-30-2006, 12:49 PM   #21
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
I'm not sure I got all that. Can you just revise my code and put the newly revised code in a new post?
 
Old 05-01-2006, 07:54 AM   #22
CrazyC
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
I'll have to see what I can do later this evening. As I said previously, I'm not sure that I know why it did what it did or if it even requires the pango settings.
If there is anyone else viewing this thread with an AMD64, you'll have to test out some revisions to see if this works correctly and if it works the same way it did for me.
 
Old 05-01-2006, 05:09 PM   #23
tutwabee
Member
 
Registered: Jan 2004
Location: California
Distribution: Ubuntu 10.04
Posts: 145

Rep: Reputation: 15
I'm going to see if I can get the code working right now.
 
Old 05-01-2006, 05:26 PM   #24
tutwabee
Member
 
Registered: Jan 2004
Location: California
Distribution: Ubuntu 10.04
Posts: 145

Rep: Reputation: 15
I'm getting the same problem CrazyC got. I tried using the shell script to fix it but it didn't work.

Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...
/opt/swiftfox/run-mozilla.sh: line 131: 10679 Aborted "$prog" ${1+"$@"}
 
Old 05-01-2006, 07:31 PM   #25
CrazyC
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by tutwabee
I'm getting the same problem CrazyC got. I tried using the shell script to fix it but it didn't work.

Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...
/opt/swiftfox/run-mozilla.sh: line 131: 10679 Aborted "$prog" ${1+"$@"}
Do you have these packages installed: ia32-libs ia32-libs-gtk linux32

I had previously messed around with the 32 bit version of Firefox 1.5 and those were the apps involved. I also created the pangorc file in /etc/pango32. Per this thread: http://www.ubuntuforums.org/showthre...t=64-bit+flash

Hopefully that sheds some light on a few things. If not, let me know and I will walk you through exactly what to do or I'll just edit the script that aysiu posted originally to install the above packages and create the additional files needed.

I'd really like to know some more about why this is doing what it is and specifically what is needed.
 
Old 05-09-2006, 03:57 PM   #26
LipSkidr
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: None yet
Posts: 9

Rep: Reputation: 0
I tried to do the command for "cd desktop" , but I keep getting this message:

richard@home-96u1az6cer:~$ cd desktop
bash: cd: desktop: No such file or directory
richard@home-96u1az6cer:~$
 
Old 05-09-2006, 05:30 PM   #27
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally Posted by LipSkidr
I tried to do the command for "cd desktop" , but I keep getting this message:

richard@home-96u1az6cer:~$ cd desktop
bash: cd: desktop: No such file or directory
richard@home-96u1az6cer:~$
It's case-sensitive.
Code:
cd ~/Desktop
works.
Code:
cd ~/desktop
doesn't work.
 
Old 05-09-2006, 05:34 PM   #28
LipSkidr
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: None yet
Posts: 9

Rep: Reputation: 0
Thank you, I was just coming to post that the case sensitive was brought to my attention. I will definitely keep that in mind for future install and upgrades
 
Old 05-10-2006, 07:50 PM   #29
CrazyC
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
Hmm, no new info on the 64 bit firefox. I ended up going back to running the 32 bit version because of the plugin problems. Installed and running per the link I posted previously.

If anyone is still interested in installing the 64 bit version and has problems with it, let me know and I'll try to help you through it, but currently I don't feel we've confirmed enough info to make my installation into a auto install script that could mess up other peoples installations.
Not to mention, I'm not really sure how to create a shell script from within a script that's running
 
Old 05-23-2006, 09:21 PM   #30
RedFoxq7
LQ Newbie
 
Registered: Aug 2004
Location: Port Hueneme, CA
Distribution: Kubuntu6.06/6.10, Fedora Core 6, WinXP MCE 2005 (weaning off...slowly but surely)
Posts: 6

Rep: Reputation: 0
Question

i had an issue with my firefox install....i was actually working off of the page linked in aysiu's post above (ubuntu forums) and I was doing so while viewing the page from the "old" kubuntu firefox. everything was going fine...i was even able to boot firefox 1.5 for the first time from the terminal as a test (part of the unbuntu how-to).

that's when everything went downhill.

i closed the how-to, sure of success at that point...attempted to start the new firefox, when I encountered the normal startup error..."Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." Naturally, being quite the n00b, I rebooted. that didnt fix the issue. same popup error message when attempting to start firefox again. on and on...i searched the forums and when everything was said and done, i had tried kill command, top (to find the firefox process), and a variety of other commands to help ID the process running in the background, all to no avail. i searched for a lock file...a parentlock file... processes and the whole bit. after about 4hrs of troubleshooting and searching, my final attempt was a kill all command or something like that...that forced a reboot by way of dead processes from CLI.

so here i am. i attempted a few other remedial searches on the web and some more poking around the script (from aysiu...which i wish I would have found before my adventure began)...and nothing.

I'm thinking that as part of the walk thru, i copied something that said that firefox was alive. in doing that...i have somehow kept my system thinking that firefox is open, but it's not. here's where you come in . any ideas? I would really really appreciate any help on this...it's kill -i-n -m-e : )


tia!
 
  


Reply

Tags
breezy, firefox, ubuntu


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
Breezy Repositories aquaboot Ubuntu 4 03-26-2006 09:16 PM
firefox 1.5 upgrade for breezy Steve Riley Ubuntu 7 01-02-2006 04:53 PM
WMP11v4 and Breezy abbeyroadd Linux - Wireless Networking 33 11-16-2005 07:37 PM
breezy guides boxerboy Ubuntu 2 09-17-2005 04:35 AM
Breezy 5.10 CouchMaster Ubuntu 5 08-29-2005 01:15 PM


All times are GMT -5. The time now is 12:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration