bugGnash - The GNU Flash player - Bugs: bug #20637, no gui, no libgnashgui-cvs.so

 
 

bug #20637: no gui, no libgnashgui-cvs.so

Submitted by:  Brian <ubuntubrian>
Submitted on:  Tue 31 Jul 2007 02:36:00 AM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 01 Aug 2007 10:18:58 PM UTC, comment #16:

It's alive!
Sandro your suggestion worked! I had tried agg before with gstreamer without success but this works and i have real youtube from Firefox! I tried another site without video but had sound until it just stopped.
the url if anyone wants to try. http://www.livescience.com/php/video/player.php?video_id=grizzly_river_quest
thanks for all the support. I learned a lot!

Brian <ubuntubrian>
Wed 01 Aug 2007 01:24:25 PM UTC, comment #15:

Please try using the AGG renderer:

./configure --enable-renderer=agg ...

and let us know if things get better.

And don't forget to update your CVS copy as things are changing fast.

Sandro Santilli <strk>
Project Member
Wed 01 Aug 2007 12:52:44 PM UTC, comment #14:

Sorry about the flv thing-I was getting delirious after 6 hours of trying to get a good build! Thanks for the patience!
I tried several movies in the testsuite and only 1 ran well, carcrash.swf. the others only partly played, very choppy but only a frame every 20 seconds or so.
The plugin does not work at all even though it's in mozilla/plugins and in the browser in "about:plugins"

Brian <ubuntubrian>
Wed 01 Aug 2007 04:33:10 AM UTC, comment #13:

testsuite/movies.all has a few testcases for you to try.
Also, consider using AGG instead of OpenGL if you have any rendering problem.

Sandro Santilli <strk>
Project Member
Wed 01 Aug 2007 04:06:19 AM UTC, comment #12:

Gnash is a flash player, not an FLV player.
Please run 'make check' and if it fails come back :)

Sandro Santilli <strk>
Project Member
Wed 01 Aug 2007 03:03:10 AM UTC, comment #11:

I spoke too soon. I tried this .swf movie and the gui opened and I got a partial frame but it won't play:

~/gnash$ gui/gnash 'http://www.poodwaddle.com/worldclock.swf'

Brian <ubuntubrian>
Wed 01 Aug 2007 02:57:36 AM UTC, comment #10:

I downloaded the latest cvs on a hope that it might work. I used gst and I have the gstreamer plugin for ffmpeg installed.
I have libgnashplugin.so in ~/.mozilla/plugins
I have libgnashgui-cvs.so in /usr/local/lib
I have /usr/loca/lib in in my ld.so.conf file
I ran sudo ldconfig

I have no gnash player in Firefox-blank screen, no controls, nada

stand alone attempt:
~/gnash$ gui/gnash "/home/brianokeefe/Desktop/sharing__jetset_live__miro__harry_potter_place.flv"
Could not load movie '/home/brianokeefe/Desktop/sharing__jetset_live__miro__harry_potter_place.flv'

I have made no progress whatsoever but I thank everyone for trying to help.

Brian <ubuntubrian>
Wed 01 Aug 2007 12:33:43 AM UTC, comment #9:

As of a checkin made a few hours ago, the build of gui is entirely different. You might also want to try building with Gstreamer instead of ffmpeg, and installing the package of the ffmpeg to gstreamer plugin.

Rob Savoye <rsavoye>
Project Administrator
Wed 01 Aug 2007 12:19:28 AM UTC, comment #8:

I think I give up....
thanks for all the help anyway. I'll just download the videos and watch them with mplayer.

Brian <ubuntubrian>
Tue 31 Jul 2007 09:35:43 PM UTC, comment #7:

http://readlist.com/lists/mplayerhq.hu/ffmpeg-user/0/4277.html

Uninstall previous shared versions of the ffmpeg libraries...

I guess you should try that, then rebuild ffmpeg again et al.

Nick

Nick Warne <nickw>
Tue 31 Jul 2007 05:49:26 PM UTC, comment #6:

thanks Sandr. Here's my Makefile.am followed by the error. I get the same error after running autogen.sh and configure, make, make check.

## Process this fill with automake to generate Makefile.in
#
# Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

#

AUTOMAKE_OPTIONS = dejagnu

AM_CPPFLAGS = -I.. \
-I$(srcdir) \
-I$(top_srcdir)/testsuite \
-I$(top_srcdir)/libbase \
-I$(top_srcdir)/libgeometry \
-I$(top_srcdir)/server \
-I$(top_srcdir)/server/parser \
-I$(top_srcdir)/server/vm \
$(FFMPEG_CFLAGS) \
$(BOOST_CFLAGS) \
$(NULL)

check_PROGRAMS = \
MatrixTest \
PointTest \
EdgeTest \
PropertyListTest \
GetterSetterTest \
as_prop_flagsTest \
DisplayListTest \
$(NULL)

CLEANFILES = \
testrun.sum \
testrun.log \
gnash-dbg.log \
site.exp.bak \
gnash-dbg.log \
$(NULL)

GNASH_LIBS = \
$(top_builddir)/server/libgnashserver.la \
$(top_builddir)/libbase/libgnashbase.la \
$(top_builddir)/libamf/libgnashamf.la \
$(NULL)
$(FFMPEG_LIBS)

if USE_FFMPEG_ENGINE
GNASH_LIBS += $(FFMPEG_LIBS)
endif

MatrixTest_SOURCES = MatrixTest.cpp
MatrixTest_LDADD = \
$(GNASH_LIBS) \
$(NULL)

PointTest_SOURCES = PointTest.cpp
PointTest_LDADD = \
$(GNASH_LIBS) \
$(NULL)

EdgeTest_SOURCES = EdgeTest.cpp
EdgeTest_LDADD = \
$(GNASH_LIBS) \
$(NULL)

PropertyListTest_SOURCES = PropertyListTest.cpp
PropertyListTest_LDADD = \
$(GNASH_LIBS) \
$(NULL)

GetterSetterTest_SOURCES = GetterSetterTest.cpp
GetterSetterTest_LDADD = \
$(GNASH_LIBS) \
$(NULL)

as_prop_flagsTest_SOURCES = as_prop_flagsTest.cpp
as_prop_flagsTest_LDADD = \
$(GNASH_LIBS) \
$(NULL)

DisplayListTest_SOURCES = DisplayListTest.cpp
DisplayListTest_LDADD = \
$(GNASH_LIBS) \
$(NULL)

TEST_DRIVERS = ../simple.exp
TEST_CASES = \
$(check_PROGRAMS) \
$(NULL)

check-DEJAGNU: site-update $(TEST_CASES)
@runtest=$(RUNTEST); \
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
$$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); \
else \
echo "WARNING: could not find \`runtest'" 1>&2; \
for i in "$(TEST_CASES)"; do \
$(SHELL) $$i; \
done; \
fi

site-update: site.exp
@rm -fr site.exp.bak
@cp site.exp site.exp.bak
@sed -e '/testcases/d' site.exp.bak > site.exp
@echo "# This is a list of the pre-compiled testcases" >> site.exp
@echo "set testcases \"$(TEST_CASES)\"" >> site.exp

the error:

make[3]: Entering directory `/home/brianokeefe/gnash/testsuite/server'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I. -I../../testsuite -I../../libbase -I../../libgeometry -I../../server -I../../server/parser -I../../server/vm -I/usr/local/include -I/usr/local/include -I/usr/include -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT MatrixTest.o -MD -MP -MF ".deps/MatrixTest.Tpo" -c -o MatrixTest.o MatrixTest.cpp; \
then mv -f ".deps/MatrixTest.Tpo" ".deps/MatrixTest.Po"; else rm -f ".deps/MatrixTest.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wl,--as-needed -o MatrixTest MatrixTest.o ../../server/libgnashserver.la ../../libbase/libgnashbase.la ../../libamf/libgnashamf.la -lrt -lm
mkdir .libs
g++ -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wl,--as-needed -o .libs/MatrixTest MatrixTest.o ../../server/.libs/libgnashserver.so -L/usr/lib -L/usr/local/lib /home/brianokeefe/gnash/libamf/.libs/libgnashamf.so /home/brianokeefe/gnash/libgeometry/.libs/libgnashgeo.so /usr/lib/libxml2.so /usr/lib/libfreetype.so -lfontconfig ../../libbase/.libs/libgnashbase.so ../../libamf/.libs/libgnashamf.so /home/brianokeefe/gnash/libbase/.libs/libgnashbase.so /usr/lib/libjpeg.so /usr/lib/libcurl.so -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv /usr/lib/libidn.so -lssl -lcrypto -lGL -lGLU /usr/lib/libltdl.so -lboost_date_time -lboost_thread -lpthread -ldts -lavformat -lavcodec -lz /usr/lib/liba52.so /usr/lib/libmp3lame.so -lxvidcore -lfaac -lfaad -ldl -lX11 -lXext /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so -lavutil /usr/lib/libtheora.so /usr/lib/libogg.so -lgsm -ldc1394_control -lrt -lm
../../server/.libs/libgnashserver.so: undefined reference to `avcodec_decode_audio2'
collect2: ld returned 1 exit status
make[3]: *** [MatrixTest] Error 1
make[3]: Leaving directory `/home/brianokeefe/gnash/testsuite/server'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/brianokeefe/gnash/testsuite/server'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/brianokeefe/gnash/testsuite'
make: *** [check-recursive] Error 1

Brian <ubuntubrian>
Tue 31 Jul 2007 02:07:31 PM UTC, comment #5:

Try adding $(FFMPEG_LIBS) to the GNASH_LIBS variable in testsuite/server/Makefile.am, the re-run ./autogen.sh

Sandro Santilli <strk>
Project Member
Tue 31 Jul 2007 04:00:02 AM UTC, comment #4:

thanks for the help!
I ran make check on a new build:
../../server/.libs/libgnashserver.so: undefined reference to `avcodec_decode_audio2'
collect2: ld returned 1 exit status
make[3]: *** [MatrixTest] Error 1
make[3]: Leaving directory `/home/brianokeefe/gnash/testsuite/server'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/brianokeefe/gnash/testsuite/server'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/brianokeefe/gnash/testsuite'
make: *** [check-recursive] Error 1

The error I got many builds ago and a bug that I thought had been fixed.
Here's my dumpconfig:
~/gnash$ make dumpconfig

Building in directories: libbase libgeometry libamf server backend utilities gui testsuite po extensions
Some directories may be excluded from the build
Linux ubuntu 2.6.15-28-powerpc #1 Thu May 10 09:50:21 UTC 2007 ppc GNU/Linux
g++ -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --disable-werror --enable-checking=release powerpc-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
CXXFLAGS: -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type

Image decoding support...
JPEG_CFLAGS is
JPEG_LIBS is -ljpeg
PNG_CFLAGS is
PNG_LIBS is
Audio decoding support...
FFMPEG_CFLAGS is -I/usr/local/include -I/usr/local/include
FFMPEG_LIBS is -L/usr/local/lib -lavcodec -lz -la52 -lgsm -lmp3lame -lxvidcore -lfaac -lfaad -ldl -lX11 -lXext -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -L/usr/local/lib -lavformat -lavcodec -lz -la52 -lgsm -lmp3lame -lxvidcore -lfaac -lfaad -ldl -lX11 -lXext -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -L/usr/local/lib -lavutil -ltheora -logg -lgsm -ldc1394_control
OGG_CFLAGS is
OGG_LIBS is
GUI Toolkit decoding support...
SDL_CFLAGS is -I/usr/include/SDL
SDL_LIBS is -lSDL
X11_CFLAGS is
X11_LIBS is
Support libraries...
INCLTDL
LIBLTDL -lltdl
GLIB_CFLAGS is
GLIB_LIBS is
Z_CFLAGS is
Z_LIBS is -lz
LIBXML_CFLAGS is -I/usr/include/libxml2
LIBXML_LIBS is -lxml2 -lz -lm
FREETYPE2_CFLAGS is -I/usr/include/freetype2
FREETYPE2_LIBS is -lfreetype -lz
FONTCONFIG_CFLAGS is
FONTCONFIG_LIBS is -lfontconfig
PTHREAD_CFLAGS is -pthread
PTHREAD_LIBS is -lpthread
CURL_CFLAGS is
CURL_LIBS is -L/usr/lib -lcurl
BOOST_CFLAGS is -I/usr/include
BOOST_LIBS is -lboost_date_time -lboost_thread
Graphics support...
CAIRO_CFLAGS is
CAIRO_LIBS is
GLEXT_CFLAGS is
GLEXT_LIBS is
OPENGL_CFLAGS is
OPENGL_LIBS is -lGL -lGLU
A blank value for CFLAGS means the header is installed in the
default system header location. All the LIBS should have a
legit value

Configurable options are:
Media handler: ffmpeg
Renderer engine: ogl
Supported GUI: ( default gtk )

Brian <ubuntubrian>
Tue 31 Jul 2007 02:59:30 AM UTC, comment #3:

Generally, after 'make' you should run 'make check'.
If 'make check' fails, file a bug report.
'make check' runs gnash in a way that it doesn't imply installation problems.
That same way is when you run gui/gnash from the top-level build tree (the directory from which you run 'make').

Sandro Santilli <strk>
Project Member
Tue 31 Jul 2007 02:55:05 AM UTC, comment #2:

I apologize.I am not sure what the problem is so I wasn't sure what to post.
I don't understand the last reference to running from the build tree-sorry.

Brian <ubuntubrian>
Tue 31 Jul 2007 02:43:02 AM UTC, comment #1:

Please one problem one bug item.
For the .mozilla/plugin it should be fixed already.
For the libgnashgui-cvs.so I think rob is working on it right now, the problem is likely that the libgnashgui is not meant for installation but rather as a convenience lib.
Try to run gnash from the build tree to verify it works there
(gui/gnash ...)

Sandro Santilli <strk>
Project Member
Tue 31 Jul 2007 02:36:00 AM UTC, original submission:

I got gnash to build and libgnashgui-cvs.so was installed into /usr/local/lib.
I edited /etc/ld.so.conf to include /usr/local/lib and ran ldconfig as root. Gnash wouldn't play stand alone or as a plugin. No plugin showed up in Firefox about:plugins.

I read on another bug here that Firefox looks for the plugin in ~/.mozilla/plugins so I rebuilt with: ./configure --enable-renderer=opengl --enable-media=ffmpeg --disable-klash --enable-ghelp --enable-gui=gtk --with-plugindir=/home/brianokeefe/.mozilla/plugins

In stand alone I get:
error while loading shared libraries: libgnashgui-cvs.so: cannot open shared object file: No such file or directory

the same error I got before and there is no libgnashgui-cvs.so in the flagged directory. In /home/brianokeefe/.mozilla/plugins are:
~/.mozilla/plugins$ ls
libgnashplugin.so libjavaplugin_oji.so nphelix.so nphelix.xpt

and in:
/usr/local/lib/gnash/plugins$ ls
libgnashgtk_ogl.a libgnashgtk_ogl-cvs.so libgnashgtk_ogl.la libgnashgtk_ogl.so

and in:
/usr/local/lib
libgnashamf.a
libgnashamf-cvs.so
libgnashamf.la
libgnashamf.so
libgnashbackend.a
libgnashbackend-cvs.so
libgnashbackend.la
libgnashbackend.so
libgnashbase.a
libgnashbase-cvs.so
libgnashbase.la
libgnashbase.so
libgnashgeo.a
libgnashgeo-cvs.so
libgnashgeo.la
libgnashgeo.so
libgnashplayer.a
libgnashplayer-cvs.so
libgnashplayer.la
libgnashplayer.so
libgnashserver.a
libgnashserver-cvs.so
libgnashserver.la
libgnashserver.so

I can rebuild without gui=gtk and see if libgnashgui-cvs.so shows up in ~/.mozilla/plugins

Any better ideas?

Brian <ubuntubrian>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rsavoye (Posted a comment)
  • -unavailable- added by nickw (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by ubuntubrian (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Aug 2007 10:28:48 PM UTCstrkStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 31 Jul 2007 02:43:02 AM UTCstrkCategorygui=>build

    Back to the top


    Powered by Savane 3.1-cleanup1