Mon 15 Mar 2010 03:14:21 PM UTC, comment #5:
Oops, missed the --enable-xpcom in all the text, but drop this option and I bet your build will work. Not to be obnoxious, but we support many configuration options for portability reasons. Different platforms, and Gnash runs on a large pile of them, often require us to tailor the configuration for that platform. That's why Gnash has many config options. Examples are the --i810-lod-bias option, which was to work around a bug in Gentoo's DRI implementation for i810 GPU, where it doesn't release freed memory from the kernel, so it sucks up all your RAM. That option is only needed on i810 based GPUs, and I haven't even seen any for a few years, but they are still out there in embedded devices. (my stereo having a i810)
I've ranted before about Gentoo's build system before (Gnash was originally developed on Gentoo), but just supplying lots of configuration options will not achieve your goal of a working flash player. A default build with no configure options gives you this: NPAPU plugin, GTK and KDE4 guis, AGG renderer, Gstreamer for media handling, jemalloc, avm2. About the only things you'd potentially want that are optional are --enable-cygnal and --enable-=python.
I know all about slow build times, it takes over 6 hours on some of my build farm slaves.
|
Mon 15 Mar 2010 02:50:05 PM UTC, comment #3:
Excuse me, but what's reason for configure options if I can't use them? Reason why I supply all options is it's part of Gentoo package process---all features must be deterministic across different systems (to control compile-time and run-time dependencies).
If you think there are some contradicting options, (1) show me them and (2) configure script should cope with them (e.g. by configuration abort).
If you look carefully on my options you could see there are --enable-xpcom --enable-npapi.
I can try to build gnash with options provided by you, but it's little painful for me since it takes nearly 3 hours on my machine.
If I understand your advise correctly, the --enable-xpcom is not necessary for building netscape plug-in. I will try to disable it.
|
Mon 15 Mar 2010 02:05:38 PM UTC, comment #2:
Ok, you can't just supplied all the options Gnash's configure supports, and expect anything to work. For one thing, the only option you did forget is --enable-xpcom, but you don't really need that ever. it's only used for package building of XPI. You have way too many options to configure, you'll have better luck if you let Gnash's configure "do the right thing", than by over-driving. Me, I'd configure like this:
--disable-dependency-tracking
--enable-python --disable-testsuite
-enable-gui=gtk,sdl
--with-npapi-plugindir=/opt/netscape/plugins
--enable-media=ffmpeg
|
Mon 15 Mar 2010 09:43:20 AM UTC, comment #1:
The same problem against net-libs/xulrunner-1.9.2-r2 from Gentoo.
$ LANG=en_US gnash -V
Gnash 0.8.7
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License. For more information, see the file named COPYING.
Build options 0.8.7
Target:
Renderer: agg - GUI: GTK - Media handler: ffmpeg
Configured with: --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--disable-dependency-tracking --disable-kparts3 --enable-avm2 --disable-cygnal
--disable-cgibins --disable-docbook --disable-ghelp --enable-xpcom
--enable-npapi --disable-kparts4 --disable-lirc --enable-nls --enable-npapi
--enable-python --disable-ssh --enable-ssl --disable-testsuite
--disable-i810-lod-bias --enable-gui=gtk,sdl --enable-extensions=gtk
--with-npapi-plugindir=/opt/netscape/plugins --enable-renderer=agg
--enable-media=ffmpeg --enable-sound=sdl
CXXFLAGS: -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -W
-Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type
-Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden
Version: .:
Built against ffmpeg version: Lavc52.42.0
|