Hello.
I tried to compile Gecko but I get the following error:

Unified_cpp_embedding_embedlite1.o
In file included from 
/path/to/Source/mozembed/gecko-dev/embedding/embedlite/embedprocess/EmbedLiteAppProcessChild.cpp:7:0,
                 from 
/path/to/Source/mozembed/gecko-dev/obj-x86_64-unknown-linux-gnu/embedding/embedlite/Unified_cpp_embedding_embedlite0.cpp:47:
../../dist/system_wrappers/gtk/gtk.h:3.26: fatal error: gtk/gtk.h: no such file 
or directory
#include_next <gtk/gtk.h>

[...]

In the directory 
/path/to/Source/mozembed/gecko-dev/obj-x86_64-unknown-linux-gnu/embedding/embedlite
The following command failed to execute properly:
c++ -o Unified_cpp_embedding_embedlite0.o -c -I../../dist/stl_wrappers 
-I../../dist/system_wrappers -include 
/path/to/Source/mozembed/gecko-dev/config/gcc_hidden.h 
-DGRE_BUILDID="20150420082926" -DEMBED_LITE_INTERNAL -DOS_TARGET="Linux" 
-DMOZ_WIDGET_TOOLKIT="gtk2" -DTARGET_OS_ABI="Linux_x86_64-gcc3" -DOS_POSIX=1 
-DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL 
-DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT 
-I/path/to/Source/mozembed/gecko-dev/embedding/embedlite -I. 
-I/path/to/Source/mozembed/gecko-dev/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders
 -I/path/to/Source/mozembed/gecko-dev/dom/base 
-I/path/to/Source/mozembed/gecko-dev/dom/ipc 
-I/path/to/Source/mozembed/gecko-dev/gfx/layers 
-I/path/to/Source/mozembed/gecko-dev/gfx/layers/apz/util 
-I/path/to/Source/mozembed/gecko-dev/js/xpconnect/src 
-I/path/to/Source/mozembed/gecko-dev/layout/base 
-I/path/to/Source/mozembed/gecko-dev/widget 
-I/path/to/Source/mozembed/gecko-dev/xpcom/base -I
 /path/to/Source/mozembed/gecko-dev/xpcom/build 
-I/path/to/Source/mozembed/gecko-dev/xpcom/threads 
-I/path/to/Source/mozembed/gecko-dev/embedding/embedlite/embedhelpers 
-I/path/to/Source/mozembed/gecko-dev/embedding/embedlite/embedprocess 
-I/path/to/Source/mozembed/gecko-dev/embedding/embedlite/embedshared 
-I/path/to/Source/mozembed/gecko-dev/embedding/embedlite/embedthread 
-I/path/to/Source/mozembed/gecko-dev/embedding/embedlite/modules 
-I/path/to/Source/mozembed/gecko-dev/embedding/embedlite/utils 
-I/path/to/Source/mozembed/gecko-dev/ipc/chromium/src 
-I/path/to/Source/mozembed/gecko-dev/ipc/glue -I../../dist/include 
-I/path/to/Source/mozembed/gecko-dev/obj-x86_64-unknown-linux-gnu/dist/include/nspr
 
-I/path/to/Source/mozembed/gecko-dev/obj-x86_64-unknown-linux-gnu/dist/include/nss
 -fPIC -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF 
.deps/Unified_cpp_embedding_embedlite0.o.pp -Wall -Wempty-body 
-Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-of
 fsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti 
-fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED 
-g -freorder-blocks -Os -fomit-frame-pointer 
/path/to/Source/mozembed/gecko-dev/obj-x86_64-unknown-linux-gnu/embedding/embedlite/Unified_cpp_embedding_embedlite0.cpp
/path/to/Source/mozembed/gecko-dev/config/rules.mk:930: the rule for target 
"Unified_cpp_embedding_embedlite0.o" failed

I have these files on my computer:

/usr/include/gtk-2.0/gtk/gtk.h
/usr/include/gtk-3.0/gtk/gtk.h

So, I believe it should work.
I don't know if pkg-config is used to compile Gecko.

I tried on both Arch Linux and Linux Mint Debian Edition and I get the
same error.

What can I do to compile Gecko?

Thanks for your help.

_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to