Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 38

Thread: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

  1. #21
    Join Date
    Aug 2007
    Location
    central NC, USA
    Beans
    26

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    Quote Originally Posted by Buddha443556 View Post
    Any update on this?
    to be honest, i don't know...

    Quote Originally Posted by Buddha443556 View Post
    This ever going to work on Dapper?
    that remains to be seen...

    sadly, i've not had time to revisit the project... R.L. situations have risen their heads which keep me from having been able to get back to this to carry on with my testings

    the most extreme of these R.L. situations is that my mother has landed herself in the hospital with what appears to be pancreatic cancer the current prognosis is 6 to 9 months before termination (of life)

    please, if anyone wishes to give condolences or otherwise express their emotions, take this to PM/email... alternatively, visit her caringbridge site with the password of "marciasmom" (sans quotes)...

    thank you in advance for your consideration and cooperation...
    Wstn1: Kubuntu 8.04.04 LTS - 2.6.24-32 i686 <<*>> Wstn2: Kubuntu 8.04.04 LTS - 2.6.24-32 i686
    Srvr1: Ubuntu 10.04.04 LTS - 2.6.32-41 i686-SMP <<*>> Srvr2: Ubuntu 10.04.04 LTS - 2.6.32-41 i686

  2. #22
    Join Date
    Sep 2006
    Beans
    29
    Distro
    Kubuntu 6.06 Dapper

    Lightbulb Eureka!

    I found something that works.

    How to Run Firefox 3 on Ubuntu Edgy, Feisty or Dapper [LINK]

    It works. Here's the versions of the libraries I used (in the correct order):

    glib-2.18.1
    pixman-0.12.0 (May screws up the environmental varables ... not sure)
    cairo-1.8.0
    pango-1.20.5
    atk-1.22.0
    gtk+-2.12.12 (2.14.3 would not build)

    Pixman and GTK+ gave me some problems.

    Code:
    mkdir -p ~/firefox/src
    export LD_LIBRARY_PATH=~/firefox/lib
    export LDFLAGS=-L${HOME}/firefox/lib
    export CPPFLAGS=-I${HOME}/firefox/include
    export PKG_CONFIG_PATH=${HOME}/firefox/lib/pkgconfig/
    export CFLAGS=-I${HOME}/firefox/include
    cd ~/firefox
    tar xvjf ~/firefox-3.0.3.tar.bz2
    cd ~/firefox/src
    
    cd (package dir)
    ./configure --prefix=$HOME/firefox
    make
    make install
    
    LD_LIBRARY_PATH=~/firefox/lib ~/firefox/firefox/firefox
    Flash worked with no problems, Java may have needed updating. Anyway I wasn't impressed enough to move up to FF3 but now I can at least check it out from time to time.

    Sorry to hear about your mother wkitty42, my own mother died recently after a long hospital stay. Best advice I can give you, 80% of family members with relatives in ICU develop a Post Traumatic Stress Reaction and up to as high as 30% of those will actually develop PTSD or Traumatic Grief so get counseling. PTSD, TG and Severe MD all suck ... yes that's a personal statement from someone that knows.

    UPDATE:

    Adding gtk-qt-engine (version 0.7) helps the look a lot!
    Last edited by Buddha443556; October 6th, 2008 at 11:36 PM.

  3. #23
    Join Date
    Jan 2005
    Location
    Germany
    Beans
    32

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    I've made a few deb-packages for Dapper to make things easier. Just download an offcial FF3 build and install it to /usr/local/firefox. That works system wide with every user.

  4. #24
    Join Date
    Jan 2009
    Beans
    2

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    Great job guys.

    For me, however, it still doesn't work.

    In installed the deb packages (dpkg -i [file].deb), worked like a charm.

    I checked Synaptic and everything was listed there as installed. However, when I installed FireFox to /usr/local/firefox and tried to run it (/usr/local/firefox/firefox), I got the same message as before that I only had GTK+ 2.8 installed and that I needed 2.10 or newer, yet the version that was installed was 2.12 so it should have worked.

    Anyone have any ideas?

  5. #25
    Join Date
    Jan 2005
    Location
    Germany
    Beans
    32

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    I've edited /usr/local/firefox/firefox startup script.

    Code:
    #!/bin/sh
    #
    # ***** BEGIN LICENSE BLOCK *****
    # Version: MPL 1.1/GPL 2.0/LGPL 2.1
    #
    # The contents of this file are subject to the Mozilla Public License Version
    # 1.1 (the "License"); you may not use this file except in compliance with
    # the License. You may obtain a copy of the License at
    # http://www.mozilla.org/MPL/
    #
    # Software distributed under the License is distributed on an "AS IS" basis,
    # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
    # for the specific language governing rights and limitations under the
    # License.
    #
    # The Original Code is mozilla.org Code.
    #
    # The Initial Developer of the Original Code is
    # Netscape Communications Corporation.
    # Portions created by the Initial Developer are Copyright (C) 1998
    # the Initial Developer. All Rights Reserved.
    #
    # Contributor(s):
    #
    # Alternatively, the contents of this file may be used under the terms of
    # either the GNU General Public License Version 2 or later (the "GPL"), or
    # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
    # in which case the provisions of the GPL or the LGPL are applicable instead
    # of those above. If you wish to allow use of your version of this file only
    # under the terms of either the GPL or the LGPL, and not to allow others to
    # use your version of this file under the terms of the MPL, indicate your
    # decision by deleting the provisions above and replace them with the notice
    # and other provisions required by the GPL or the LGPL. If you do not delete
    # the provisions above, a recipient may use your version of this file under
    # the terms of any one of the MPL, the GPL or the LGPL.
    #
    # ***** END LICENSE BLOCK *****
    
    ## $Id: mozilla.in,v 1.16 2007/10/05 07:29:26 reed%reedloden.com Exp $
    ## 
    ## Usage:
    ##
    ## $ mozilla [args]
    ##
    ## This script is meant to run the mozilla-bin binary from either 
    ## mozilla/xpfe/bootstrap or mozilla/dist/bin.
    ##
    ## The script will setup all the environment voodoo needed to make
    ## the mozilla-bin binary to work.
    ##
    export LD_LIBRARY_PATH=/usr/local/ff3compatlibs/lib
    #uncomment for debugging
    #set -x
    Just paste this export LD_LIBRARY_PATH=/usr/local/ff3compatlibs/lib into the file. For me it is in line 51.

  6. #26
    Join Date
    Jan 2009
    Beans
    2

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    Thanks Schugy. Unfortunately it still doesn't work.

    At first I tried creating a Launcher on my desktop with the following:
    LD_LIBRARY_PATH=/usr/local/ff3compatlibs/lib /usr/local/firefox/firefox
    but it didn't work. The error I got was that it couldn't find the file or directory /usr/local/ff3compatlibs/lib even though it's there.

    I then thought the solution might be with the firefox startup script, so I changed the line
    moz_libdir=/usr/local/lib/firefox-3.0.5
    to
    moz_libdir=/usr/local/ff3compatlibs/lib
    Needless to say that didn't work. I got the same message as before that I have the wrong version of GTK+.

    I then tried your suggestion
    export LD_LIBRARY_PATH=/usr/local/ff3compatlibs/lib
    but nothing happened. I didn't get an error message either. Simply nothing happened.

    What I can't understand is that when I got the wrong version error message why does firefox say I have version 2.8? In Synaptic I see only 2.12; there isn't a GTK+2.8 anywhere.

  7. #27
    Join Date
    Jan 2007
    Beans
    2

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    Quote Originally Posted by Schugy View Post
    I've made a few deb-packages for Dapper to make things easier. Just download an offcial FF3 build and install it to /usr/local/firefox. That works system wide with every user.
    Your debs worked great. I installed them in this order glib, pixman, cairo, pango, atk, gtk+, as suggested by http://techieblurbs.blogspot.com/200...untu-edgy.html .

    I also needed to install libxcomposite1.

    Question - is there an easy way to get Flash Player 10 working now with this little FF3 hack?

    Thanks for the debs!!

  8. #28
    Join Date
    Jan 2005
    Location
    Germany
    Beans
    32

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    I'd suggest to type it in xterm first before using a launcher. Maybe it just need the hole thing in "".

    Reinstall the original firefox-script. Note, it will be overwritten on some automatic updates. Just repaste that line into the skript.

    Good luck.

    I will test the flash plyer for you soon but I usually hate and boycott that stupid flash pages.

  9. #29
    Join Date
    Jan 2007
    Beans
    2

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    Quote Originally Posted by Schugy View Post

    I will test the flash plyer for you soon but I usually hate and boycott that stupid flash pages.
    I'm with you on that. The work was for my folks computer. I don't give them a hard time about the flash, I am just happy to see them use something Linux based. Thank goodness for ssh and vnc, as I did the fix(well more like a hack) from 5,000km away.

  10. #30
    Join Date
    Oct 2006
    Beans
    55
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Firefox 3 on Ubuntu 6.06 (Dapper Drake)

    Quote Originally Posted by nanotube View Post
    thanks for trying, wkitty42, 0chienchen.

    ok, next try, try this:

    first, use ubuntuzilla to install ff3, then move your existing firefox profile out of the way, and then

    run this script:
    Code:
    #!/bin/bash
    
    ########
    # add-on script for ubuntuzilla, to make firefox3 run on Ubuntu 6.06 (Dapper).
    # since ff3 requires gtk 2.10, but dapper comes with gtk 2.8, we need to 
    # get gtk 2.10 and supporting libraries, and point firefox to it. 
    
    #libglib
    wget -c --tries=5 --read-timeout=20 --waitretry=10 http://mirror.mcs.anl.gov/pub/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.16.3-1_i386.deb -O /tmp/libglib2.0-0_2.16.3-1_i386.deb
    sudo dpkg-deb -x /tmp/libglib2.0-0_2.16.3-1_i386.deb /opt/libglib
    
    #libatk
    wget -c --tries=5 --read-timeout=20 --waitretry=10 http://mirror.mcs.anl.gov/pub/ubuntu/pool/main/a/atk1.0/libatk1.0-0_1.22.0-0ubuntu1_i386.deb -O /tmp/libatk1.0-0_1.22.0-0ubuntu1_i386.deb
    sudo dpkg-deb -x /tmp/libatk1.0-0_1.22.0-0ubuntu1_i386.deb /opt/libatk
    
    #libpango
    wget -c --tries=5 --read-timeout=20 --waitretry=10 http://mirror.mcs.anl.gov/pub/ubuntu/pool/main/p/pango1.0/libpango1.0-0_1.20.1-1_i386.deb -O /tmp/libpango1.0-0_1.20.1-1_i386.deb
    sudo dpkg-deb -x /tmp/libpango1.0-0_1.20.1-1_i386.deb /opt/libpango
    
    #libcairo
    wget -c --tries=5 --read-timeout=20 --waitretry=10 http://mirror.mcs.anl.gov/pub/ubuntu/pool/main/c/cairo/libcairo2_1.6.0-0ubuntu1_i386.deb -O /tmp/libcairo2_1.6.0-0ubuntu1_i386.deb
    sudo dpkg-deb -x /tmp/libcairo2_1.6.0-0ubuntu1_i386.deb /opt/libcairo
    
    #libgtk
    wget -c --tries=5 --read-timeout=20 --waitretry=10 http://mirror.mcs.anl.gov/pub/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-0_2.12.9-3ubuntu2_i386.deb -O /tmp/libgtk2.0-0_2.12.9-3ubuntu2_i386.deb
    sudo dpkg-deb -x /tmp/libgtk2.0-0_2.12.9-3ubuntu2_i386.deb /opt/libgtk
    
    (
    cat <<'EOF'
    #!/bin/bash
    export LD_LIBRARY_PATH="/opt/libglib/usr/lib:/opt/libatk/usr/lib:/opt/libpango/usr/lib:/opt/libcairo/usr/lib:/opt/libgtk/usr/lib"
    /opt/firefox/firefox $*
    EOF
    ) > /tmp/startfirefox.sh
    sudo mv /tmp/startfirefox.sh /opt/firefox/
    sudo chmod 755 /opt/firefox/startfirefox.sh
    sudo chown root:root /opt/firefox/startfirefox.sh
    
    # and finally, link /usr/bin/firefox to our startfirefox.sh script
    sudo ln -s -f /opt/firefox/startfirefox.sh /usr/bin/firefox
    try starting firefox by using command
    Code:
    /usr/bin/firefox
    if any error messages are printed, please copy them all and post here. (hopefully, it will just work ).

    (by the way - it's certainly possible to restore back to ff2 afterwards... but it might be easier/safer to play with this using a livecd.)

    would appreciate your feedback!

    I tried running your script, and it went fine up until the part where it writes the startfirefox.sh file. The script just seemed to stop after downloading gtk+2.0. Is there a bug in it?

    I tried doing the steps manually, but I get this error message when I try to run firefox:

    member@ubuntu20061223:~$ /usr/bin/firefox
    /opt/firefox/firefox-bin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
    Celeron D 2.53GHz
    1 GB PC-3200 RAM
    120GB IDE hdd
    Ubuntu 11.10 Oneiric Ocelot with Xfce 4.8

Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •