← Back to team overview

zeitgeist team mailing list archive

[Bug 709103] Re: Firefox extension doesn't work with FF4

 

I tried building after applying this patch.
First you need to download and install Firefox 4, For ubuntu it is as simple as 
askubuntu.com/questions/6339/how-do-i-install-firefox-4
Install the package firefox and firefox-dev from this PPA

The error I get is

make[3]: Entering directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components'
  CXX    libzeitgeist_xpcom_la-ZeitgeistComponent.lo
ZeitgeistComponent.cpp:23: fatal error: mozilla/ModuleUtils.h: No such file or directory
compilation terminated.

These header files are present in the package firefox-dev

The reason is that the file ModuleUtils.h is present in
/usr/share/firefox-4.0/mozilla/ModuleUtils.h

Now I edit the file ZeitgeistComponent.cpp to
- #include "mozilla/ModuleUtils.h"
+ #include "firefox-4.0/mozilla/ModuleUtils.h"'

and the error I get is

make[3]: Entering directory `/home/manish/code/zeitgeist-dataproviders/firefox-libzg/extension/components'
  CXX    libzeitgeist_xpcom_la-ZeitgeistComponent.lo
In file included from ZeitgeistComponent.cpp:23:
/usr/include/firefox-4.0/mozilla/ModuleUtils.h:42: fatal error: mozilla/Module.h: No such file or directory
compilation terminated.

This header file includes a file named Module.h

#include "mozilla/Module.h" in line 42
This file is contained at 
 /usr/share/firefox-4.0/mozilla/Module.h

I am confused. How to fix this to make the compiler look in some
specific directory

** Changed in: zeitgeist-dataproviders
     Assignee: (unassigned) => Markus Korn (thekorn)

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/709103

Title:
  Firefox extension doesn't work with FF4

Status in Zeitgeist Data-Providers:
  Confirmed

Bug description:
  When installed and up it shows alert box
  "TypeError: Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is undefined"
  and does so every time new window is opened.

  Also previous FF4 betas were affected.


References