64 bit Flash for Firefox using Swfdec
The problem. Flash doesn't work for 64bit. The solution? Swfdec. Adobe may not have a 64bit plugin yet but why wait for them? After remembering Company posting about it working sometime ago. I decided to give a whirl after my gtk theme stopped working with my 32bit version of firefox. That after I upgraded to 2.0. It was time; now, i'm up and running Flash via my 64bit browser and it all took about 5 minutes. Here is how to get it working using Ubuntu Fiesty.
sudo apt-get install autoconf firefox-dev liboil0.3-dev libavcodec-dev libgstreamer0.10-dev gcc g++ automake
wget http://swfdec.freedesktop.org/download/swfdec/0.4/swfdec-0.4.4.tar.gz
wget http://swfdec.freedesktop.org/download/swfdec-mozilla/0.4/swfdec-mozilla-0.4.4.tar.gz
tar -xvzf swfdec-0.4.5.tar.gz
tar -xvzf swfdec-mozilla.0.4.5.tar.gz
cd swfdec-0.4.5/
sudo ./autogen.sh --prefix=/usr; make -j4; sudo make install
cd swfdec-mozilla-0.4.5/
sudo ./autogen.sh --prefix=/usr; make -j4; sudo make install
If firefox is open close it; restart it. Done.
Updated for: 0.4.5 release
May 19th, 2007 - 11:52
Hello,
I found http://people.kernelcode.com/cwarner/2007/05/16/64-bit-flash-for-firefox-using-swfdec/. It describes a way to get flash working on Firefox 64 bit. Till “sudo ./autogen.sh –prefix=/usr; make -j4; make install” everthing worked out fine. But then I get an error: “./autogen.sh: 3: autoreconf: not found”.
What to do?
Greetz, Peter
May 25th, 2007 - 00:37
Ahh….. something that just about works.
dasgoat@dasgoat-laptop:~$ http://swfdec.freedesktop.org/download/swfdec-mozilla/0.4/swfdec-mozilla-0.4.4.tar.gz tar -xvzf swfdec-mozilla.0.4.4.tar.gz
bash: http://swfdec.freedesktop.org/download/swfdec-mozilla/0.4/swfdec-mozilla-0.4.4.tar.gz: No such file or directory
Could you maybe put some returns in your post so I know where the commnd ends? I’m a noob and just don’t get it all.
May 25th, 2007 - 04:41
it’s wget before the http://blahblah
so it’s wget http://thestuffhere
May 26th, 2007 - 23:58
I get the following message…
./autogen.sh: 3: autoreconf: not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install’. Stop.
after
sudo ./autogen.sh –prefix=/usr; make -j4; make install
What am I doing wrong?
Thanks!
May 27th, 2007 - 18:20
sudo apt-get install autoconf I’ll update the above.
June 20th, 2007 - 00:50
dasgoat@dasgoat-laptop:~$ wget http://swfdec.freedesktop.org/download/swfdec-mozilla/0.4/swfdec-mozilla-0.4.4.tar.gz
–19:45:10– http://swfdec.freedesktop.org/download/swfdec-mozilla/0.4/swfdec-mozilla-0.4.4.tar.gz
=> `swfdec-mozilla-0.4.4.tar.gz.1′
Resolving swfdec.freedesktop.org… 131.252.210.176
Connecting to swfdec.freedesktop.org|131.252.210.176|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 341,293 (333K) [application/x-tar]
100%[======================================================================================>] 341,293 330.10K/s
19:45:11 (329.01 KB/s) – `swfdec-mozilla-0.4.4.tar.gz.1′ saved [341293/341293]
dasgoat@dasgoat-laptop:~$ tar -xvzf swfdec-mozilla.0.4.4.tar.gz
tar: swfdec-mozilla.0.4.4.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
dasgoat@dasgoat-laptop:~$ tar -xvzf swfdec-mozilla.0.4.4.tar.gz.1
tar: swfdec-mozilla.0.4.4.tar.gz.1: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Still missing something. Can I have another hint please?
June 20th, 2007 - 01:04
Ok, I found the last error. A typo in the pasted command some where. entered it manually and it seemed like it worked. Now my problem is:
dasgoat@dasgoat-laptop:~/swfdec-0.4.4$ ls
aclocal.m4 compile configure doc libswfdec Makefile.am player swfdec.spec
AUTHORS config.guess configure.ac gtk-doc.make libswfdec-gtk Makefile.in README swfdec.spec.in
autogen.sh config.h.in COPYING INSTALL ltmain.sh missing swfdec-gtk.pc.in test
ChangeLog config.sub depcomp install-sh m4 NEWS swfdec.pc.in
dasgoat@dasgoat-laptop:~/swfdec-0.4.4$ sudo ./autogen.sh –prefix=/usr; make -j4; make install
Can’t exec “aclocal”: No such file or directory at /usr/bin/autoreconf line 182.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 182.
Can’t exec “automake”: No such file or directory at /usr/bin/autoreconf line 183.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 183.
Can’t exec “aclocal”: No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 290.
autoreconf: failed to run aclocal: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install’. Stop.
can’t exec “aclocal”? Isn’t the file right there in the ls?
June 20th, 2007 - 01:23
sudo apt-get install automake and now that i’m thinking about it sudo apt-get install gcc and sudo apt-get install g++
I’ll update the above
June 20th, 2007 - 01:30
Updated a couple of things above..