bugGnash - The GNU Flash player - Bugs: bug #15666, Fails in install of plugin

 
 

bug #15666: Fails in install of plugin

Submitted by:  FReEDoM <freedom76>
Submitted on:  Wed 08 Feb 2006 09:40:32 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 13 Feb 2006 06:06:15 PM UTC, comment #5:

Your new patch works for me, so I'm checking it in.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Sun 12 Feb 2006 05:06:52 PM UTC, comment #4:

hum, really sorry, that didn't work as expected...

here is a new patch :

- FIREFOX_PLUGINS=`echo ${FIREFOX_LIBS} | sed -e 's:-L::'`/plugins
+ FIREFOX_PLUGINS=`echo ${FIREFOX_LIBS} | sed -e 's:-L\(@<:@^ @:>@\) .$:\1:'`/plugins

This should be the same for mozilla

FReEDoM <freedom76>
Sun 12 Feb 2006 02:00:12 PM UTC, comment #3:

Wtih a fresh cvs, i have the same problem.
In gnash/plugin/Makefile, ther is

FIREFOX_PLUGINS = -L/usr/lib/mozilla-firefox -Wl,-rpath,/usr/lib/mozilla-firefox
instead of
FIREFOX_PLUGINS = /usr/lib/mozilla-firefox/plugins

This is because, this path is computed with the return of 'firefox-config --libs'

Maybe, in gnash/macros/firefox.m4, you could replace this line :
FIREFOX_PLUGINS=`echo $FIREFOX_LIBS | sed -e 's:-L::'`/plugins
with this one :
FIREFOX_PLUGINS=${firefox_prefix}/plugins

It's Ok for me with this patch.

FReEDoM <freedom76>
Thu 09 Feb 2006 08:03:03 PM UTC, comment #2:

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-libxml-includes=/usr/include/libxml2 --with-x --enable-mp3 --enable-dom --enable-xmlreader --enable-http --enable-plugin --enable-dmalloc --enable-jpeg --enable-png --enable-mp3 --enable-ogg --enable-pthreads --build=i686-pc-linux-gnu

All of these options are the default, btw, except --enable-xmlreader, which can't be mixed with --enable-dom. I'll fix configure so both can be specified. When you ran configure, it should have printed out the paths if should have found. There have also been some changes to the plugin Makefile.am, can you please see if this works better for you using a fresh CVS ?

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Wed 08 Feb 2006 10:00:34 PM UTC, comment #1:

The destination file should be prefix by the destination directory. (DESTDIR). So you can install in a sandbox.

FReEDoM <freedom76>
Wed 08 Feb 2006 09:40:32 PM UTC, original submission:

with configure :
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-libxml-includes=/usr/include/libxml2 --with-x --enable-mp3 --enable-dom --enable-xmlreader --enable-http --enable-plugin --enable-dmalloc --enable-jpeg --enable-png --enable-mp3 --enable-ogg --enable-pthreads --build=i686-pc-linux-gnu

NB: firefox-config in PATH

When I do make install, it fails :

make[3]: Entering directory `/var/tmp/portage/gnash-0.7_alpha20060129-r0/work/gnash/plugin'
make[3]: Nothing to be done for `install-exec-am'.
cp .libs/libgnash.so /usr/lib/mozilla-firefox -Wl,-rpath,/usr/lib/mozilla-firefox/plugins/libgnash.so
cp: invalid option -- W

NB:
$ firefox-config --libs
-L/usr/lib/mozilla-firefox -Wl,-rpath,/usr/lib/mozilla-firefox
$
Maybe the bugs comes from my firefox installation...

FReEDoM <freedom76>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #1990:  firefox_plugin.patch added by freedom76 (522B - text/x-diff)
file #1989:  firefox_plugin.patch added by freedom76 (478B - text/x-diff - patch of firefox.m4 for FIREFOX_PLUGIN variable)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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
Mon 13 Feb 2006 06:06:15 PM UTCrsavoyeStatusWorks For Me=>Fixed
  Open/ClosedOpen=>Closed
Sun 12 Feb 2006 05:06:52 PM UTCfreedom76Attached File-=>Added firefox_plugin.patch, #3396
Sun 12 Feb 2006 02:00:12 PM UTCfreedom76Attached File-=>Added firefox_plugin.patch, #3395
Thu 09 Feb 2006 08:03:03 PM UTCrsavoyeStatusNone=>Works For Me
  Assigned toNone=>rsavoye

Back to the top


Powered by Savane 3.1-cleanup1