bugGnash - The GNU Flash player - Bugs: bug #20575, klash fails (latest cvs)


bug #20575: klash fails (latest cvs)

Submitted by:  Nick Warne <nickw>
Submitted on:  Tue Jul 24 19:46:15 2007  
Category: buildSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich 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)

Thu Aug 2 15:30:29 2007, comment #11:

Yes, close this - it works fine, and I can see sorting the player/gui out is ongoing work anyway.


Nick Warne <nickw>
Thu Aug 2 14:39:51 2007, comment #10:

We changed policy again. You'll now have multiple executables for multiple guis. 'gnash' will be a shell script, accepting -G, but the konqueror plugin, by default, will invoke kde-gnash directly.

Please test if it everything is ok now, so we close this bug.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon Jul 30 21:43:59 2007, comment #9:

The new issue is that packagers don't want a 'klash' package to bring in 'GTK' dependencies and a 'gnash' package to bring in 'KDE' dependencies.

So until dynamic loading of GUI/renderer plugins is implemented we'll want two separate executables for 'gnash' and 'klash'

This would be an hack, and might result in 'gnash' and 'klash' being actually a copy of each other (in case KDE gui is selected for a normal build). Anyway, it seems we'll need to do this for the upcoming 0.8.1 release.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri Jul 27 18:17:35 2007, comment #8:

OK, I understand now reading the code and your comments here.

Using the $ENV is the way to go:

export KLASH_PLAYER='gnash -G kde'



Nick Warne <nickw>
Fri Jul 27 15:28:11 2007, comment #7:

konqueror plugin only works if the GUI is KDE.
So, using 'gnash -G kde' would do.
'klash' is just a favor to distribution packages, that used
to ship both 'klash' and 'gnash'.
I'm not sure if they will be actually building two separate binaries (still possible) or a single one with both GTK and KDE guis compiled in.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri Jul 27 06:00:12 2007, comment #6:

OK, thinking. If the actually klash binary is really gnash binary, why not just use it instead of messing around with links?


line 166:

- procname += "/klash";
+ procname += "/gnash";

That works fine here.


Nick Warne <nickw>
Thu Jul 26 22:10:56 2007, comment #5:

Yes, anyway it's really easy to get klash back, just make a link to the 'gnash' executable and everything should work fine (assuming you selected KDE in your set of built GUIs).

Someone should be working on making the hard-link at build (or install) time. If not, we'll do it.
We'll surely have that for 0.8.1.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu Jul 26 21:49:57 2007, comment #4:

OK, this thread now contradicts:



Nick Warne <nickw>
Wed Jul 25 13:40:17 2007, comment #3:

I committed a patch that reintroduces the hack used for 0.8.0.
Now both 'klash' and 'gnash' are built. Possibly both being the same code (as the side effect).

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue Jul 24 19:59:21 2007, comment #2:

No, shouldn't be built. It was built using an hack for 0.8.0, and we reverted the hack in head.

We'll likely introduce a similar one before release 0.8.1.
See http://gnashdev.org/wiki/index.php/Release_0.8.1

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue Jul 24 19:50:02 2007, comment #1:

Garbled config line posted here, it is:

./configure --with-qt-incl=/usr/lib/qt/include --with-qt-lib=/usr/lib/qt/lib --enable-gui=KDE --prefix=/usr/local/kdeother --enable-renderer=agg --with-agg-incl=/usr/local/include/agg --with-agg-lib=/usr/local/lib


Nick Warne <nickw>
Tue Jul 24 19:46:15 2007, original submission:

Sorry for the noise guys.

New cvs tonight. configure:

./configure --with-qt-incl=/usr/lib/qt/include --with-qt-lib=/usr/lib/qt/lib --enable-gui=KDE --prefix=/usr/local/kdeoth=agg --with-agg-incl=/usr/local/include/agg --with-agg-lib=/usr/local/lib

Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
POSIX Threads support enabled (default)
DMalloc support disabled (default). Use --enable-dmalloc to enable.
Firefox plugin enabled (default). Use --disable-plugin to disable.
Konqueror plugin enabled (default). Use --disable-klash to disable
Loadable GUI & renderer disabled (default). Use --enable-dynamic-gui to enable.
GNOME help disabled (default). Use --enable-ghelp to enable.
Building Cygnal media server disabled.
Building the Flash debugger is disabled.
Top level for cross compiling support files is:
GUI toolkits supported: KDE
Renderers supported: agg
Media handler: ffmpeg
Using SDL for sound handling

Configured paths for i686-pc-linux-gnu are:
DocBook document processing disabled (default)
XML flags are: -I/usr/include/libxml2
XML libs are: -lxml2 -lz -lpthread -lm
KDE flags are: -I/home/nick/kde3.5.7/include -I/home/nick/kde3.5.7/include/kio
KDE libs are: -L/home/nick/kde3.5.7/lib -lkdeui -lkdecore -lkdeprint
QT flags are: -I/usr/lib/qt/include
QT libs are: -L/usr/lib/qt/lib -lqt-mt
JPEG flags are: default include path
JPEG libs are: -ljpeg
MP3 and video support enabled through ffmpeg
FFMPEG flags are: -I/usr/local/include
FFMPEG libs are: -L/usr/local/lib -lavcodec -lvorbisenc -lvorbis -lm -logg -lavformat -lavutil -ltheora
SDL flags are: -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL
SDL libs are: -Wl,-rpath,/usr/lib -lSDL -lpthread
Plugin will be installed in /home/nick/.firefox/plugins
POSIX Threads flags are: -pthread
POSIX Threads lib is: -lpthread
This version of libCurl doesn't have RTMP support
CURL flags are: default include path
CURL libs are: -lcurl
AGG Pixel format is: all
AGG flags are: -I/usr/local/include/agg
AGG libs are: -L/usr/local/lib -lagg
BOOST flags are: -I/usr/local/include/boost-1_33_1
BOOST libs are: -L/usr/local/lib -lboost_date_time-gcc-mt -lboost_thread-gcc-mt
MING version code is 00030000
MING flags are -I/usr/local/include
MING libs are -L/usr/local/lib -lming
MAKESWF is /usr/local/bin/makeswf
MTASC is /usr/bin/mtasc
MTASC CLASSPATH is /usr/bin/std
SWFMILL is /usr/local/bin/swfmill
Z flags are: default include path
Z libs are: -lz
FreeType flags are: -I/usr/include/freetype2
FreeType libs are: -lfreetype -lz
Fontconfig flags are: -I/usr/X11R6/include
Fontconfig libs are: -L/usr/X11R6/lib -lfontconfig

But when using Konq with flash page, I get 'klash: stopped playing'

gdb reveals:

(gdb) run
Starting program: /home/nick/kde3.5.7/bin/konqueror
/bin/sh: line 1: /usr/local/kdeother/bin/klash: No such file or directory
/bin/sh: line 1: /usr/local/kdeother/bin/klash: No such file or directory

It looks like binary 'klash' isn't built (should it be?).


Nick Warne <nickw>


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

Attach File(s):

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 strk (Posted a comment)
  • -unavailable- added by nickw (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Aug 2 15:34:18 2007strkStatusReady For Test=>Fixed
    Wed Jul 25 13:40:17 2007strkStatusNone=>Ready For Test
      Assigned toNone=>strk
    Tue Jul 24 19:59:21 2007strkCategoryNone=>build
      Severity3 - Normal=>5 - Blocker

    Back to the top

    Powered by Savane 3.1-cleanup1