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
I tried building after applying this patch. com/questions/ 6339/how- do-i-install- firefox- 4
First you need to download and install Firefox 4, For ubuntu it is as simple as
askubuntu.
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' xpcom_la- ZeitgeistCompon ent.lo ent.cpp: 23: fatal error: mozilla/ ModuleUtils. h: No such file or directory
CXX libzeitgeist_
ZeitgeistCompon
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 ZeitgeistCompon ent.cpp to ModuleUtils. h" 4.0/mozilla/ ModuleUtils. h"'
- #include "mozilla/
+ #include "firefox-
and the error I get is
make[3]: Entering directory `/home/ manish/ code/zeitgeist- dataproviders/ firefox- libzg/extension /components' xpcom_la- ZeitgeistCompon ent.lo ent.cpp: 23: firefox- 4.0/mozilla/ ModuleUtils. h:42: fatal error: mozilla/Module.h: No such file or directory
CXX libzeitgeist_
In file included from ZeitgeistCompon
/usr/include/
compilation terminated.
This header file includes a file named Module.h
#include "mozilla/Module.h" in line 42 firefox- 4.0/mozilla/ Module. h
This file is contained at
/usr/share/
I am confused. How to fix this to make the compiler look in some specific directory