Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Flash Movies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
oconnor663
n00b
n00b


Joined: 28 May 2007
Posts: 35

PostPosted: Sat Jun 16, 2007 9:54 am    Post subject: Flash Movies Reply with quote

I would like to get Flash working in Firefox on my Powerbook (ppc). Here is my understanding of the situation for my hardware:

1) The proprietary Flash player is not supported for ppc Linux.

2) Gnash works for ppc, but the Portage ebuild does not support a browser plugin.

3) Compiling Gnash "by hand" (configure + make + make install) should provide a browser plugin. However, the make stage fails for me with the following error:

../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::do_lock()'
../server/.libs/libgnashserver.so: undefined reference to `boost::thread::~thread()'
../server/.libs/libgnashserver.so: undefined reference to `boost::thread::operator==(boost::thread const&) const'
../server/.libs/libgnashserver.so: undefined reference to `boost::thread::join()'
../server/.libs/libgnashserver.so: undefined reference to `boost::detail::condition_impl::notify_all()'
../server/.libs/libgnashserver.so: undefined reference to `boost::detail::condition_impl::~condition_impl()'
../server/.libs/libgnashserver.so: undefined reference to `boost::detail::condition_impl::do_wait(pthread_mutex_t*)'
../server/.libs/libgnashserver.so: undefined reference to `boost::thread::thread(boost::function0<void, std::allocator<boost::function_base> > const&)'
../server/.libs/libgnashserver.so: undefined reference to `boost::detail::condition_impl::condition_impl()'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::do_unlock(boost::mutex::cv_state&)'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::do_lock(boost::mutex::cv_state&)'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::mutex()'
../server/.libs/libgnashserver.so: undefined reference to `boost::thread::thread()'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::do_unlock()'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::~mutex()'
collect2: ld returned 1 exit status
make[2]: *** [gparser] Error 1
make[2]: Leaving directory `/home/jj/gnash-0.8.0/utilities'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jj/gnash-0.8.0'
make: *** [all] Error 2

If I'm wrong about #1 or #2 or if I've missed something then this is a whole lot easier than I realize, and I'd greatly appreciate it if someone could point me in the right direction. Otherwise, has anyone else encountered that error before?
Back to top
View user's profile Send private message
01mf02
Veteran
Veteran


Joined: 21 Nov 2004
Posts: 1070
Location: Innsbruck, Austria

PostPosted: Sat Jun 16, 2007 10:07 am    Post subject: Reply with quote

Doesn't gnash build a browser plugin if you compile it with USE="nsplugin" emerge gnash?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Jun 16, 2007 10:32 am    Post subject: Reply with quote

Moved from Multimedia to Gentoo on PPC.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sat Jun 16, 2007 11:32 am    Post subject: Reply with quote

#1 is correct.

#2 is somewhat correct. gnash, last I have heard, makes heavy use of openGL, if you have
a nvidia card things will be slow at best. The nsplugin has indeed, as pointed by someone else,
been added to gnash.
[After checking gnash can be build with either OpenGL or cairo, of course cairo may or may not use
openGL]

#3 note this part from the ebuild and compare with your install of boost:
Code:
        if has_version '<dev-libs/boost-1.34' && ! built_with_use dev-libs/boost threads; then
                eerror "dev-libst/boost has to be built with the 'threads' USE flag"
                die "dev-libs/boost not built with threads"

If you compiled boost without the thread use flag you probably didn't get any of the symbols
that are said to be undefined by your build. I bet they are all thread related.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jun 16, 2007 1:47 pm    Post subject: Reply with quote

as a side note, flash movies (.flv files, not .swf) can be played by mplayer too.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
el_Salmon
Guru
Guru


Joined: 15 Dec 2003
Posts: 339
Location: Around 2.4GHz

PostPosted: Sat Jun 16, 2007 8:10 pm    Post subject: Reply with quote

Try swfdec and swfdec ebuilds from Sunrise overlay. Swfdec works better than Gnash with youtube videos and it's more stable.
Back to top
View user's profile Send private message
oconnor663
n00b
n00b


Joined: 28 May 2007
Posts: 35

PostPosted: Sun Jun 17, 2007 1:32 pm    Post subject: Reply with quote

libswf etc. seem to be broken on ppc. (At least, they display the `-ppc' keyword.)
Back to top
View user's profile Send private message
el_Salmon
Guru
Guru


Joined: 15 Dec 2003
Posts: 339
Location: Around 2.4GHz

PostPosted: Sun Jun 17, 2007 2:14 pm    Post subject: Reply with quote

oconnor663 wrote:
libswf etc. seem to be broken on ppc. (At least, they display the `-ppc' keyword.)

It's not libswf ebuild from Portage. They are swfdec and swfdec-mozilla ebuilds from the Sunrise overlay. If you don't know how to install an overlay, look at Gentoo Wiki
Back to top
View user's profile Send private message
mabhobs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2006
Posts: 83

PostPosted: Thu Jun 21, 2007 12:10 pm    Post subject: Reply with quote

oconnor663, I tried gnash and I wasn't too convinced about the results. It installed fine for me though, but I could only watch flash adds but no flash movies from you tube for example. I managed to install gnash with gstreamer support.


I now use vlc for watching movies as described by stmiller here: https://forums.gentoo.org/viewtopic-t-523884-highlight-vlc+flash+ppc.html

This works better for me and I am not annoyed by slow flash advertisement anymore. The only drawback is that I haven't found a vlc firefox plugin that works properly, so I am downloading the videos and watching them from my hard drive.
Back to top
View user's profile Send private message
stmiller
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2006
Posts: 119

PostPosted: Thu Jul 12, 2007 3:01 am    Post subject: Reply with quote

Replying to a slightly old thread, but Gnash 0.8.0 seems to work well for me when compiling with AGG as the renderer instead of the default (opengl?).
There was a note about AGG possibly being a better option for PowerPC users on the Gnash dev list somewhere.

I compiled Gnash 0.8.0 like this:

Code:
./configure --enable-renderer=Agg --enable-media=GST


Using AGG v2.5.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Thu Jul 12, 2007 4:44 am    Post subject: Reply with quote

I have installed the hot cvs version myself on my system some time after this thread
started. It did go OK but klash (the konqueror plugin) was broken so I had to set
USE="-kde" for it. I didn't try agg as I didn't really want to emerge it as well.
I cannot say I have tested it extensively.
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Mon Jul 16, 2007 1:01 am    Post subject: Reply with quote

wich use flags should i use to emerge gnash...because it's so slow on my computer(x86 sorry)
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon Jul 16, 2007 9:32 am    Post subject: Reply with quote

GNUtoo wrote:
wich use flags should i use to emerge gnash...because it's so slow on my computer(x86 sorry)

Well, I am not sure it is very fast right now. However it may depend on your hardware and
whether you have openGL hardware acceleration. You may try to use agg (don't forget to disable kde - it
just build a kde plugin and it doesn't seem to build properly anyway). Without more details on your
hardware we cannot really make a call.
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Mon Jul 16, 2007 11:11 pm    Post subject: Reply with quote

thanks a lot it works fast now!!!
here my uses flags:
Code:
[ebuild   R   ] net-www/gnash-0.8.0  USE="agg ffmpeg gstreamer nsplugin xml -kde -mad" VIDEO_CARDS="-i810" 0 kB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum