Hi, We are trying to build clutter for android and when we try to configure clutter in scratch box with configure flags as below,
./configure --host=arm-linux --enable-static --with-flavour=eglnative --with-gles=1.1 --with-imagebackend=internal --with-x=no CPPFLAGS=-DANDROID we got an error which says: Unable to locate required GLES headers. We have copied EGL and GLES headers and libraries that are provided in Android source to scratchbox's /usr/local/include and /usr/local/lib. Please help us if any body has got the same issue while porting to any Embedded OS or beagle board. checking for a BSD-compatible install... /scratchbox/tools/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /scratchbox/tools/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-linux-strip... arm-linux-strip checking for style of include used by make... GNU checking for arm-linux-gcc... arm-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-gcc accepts -g... yes checking for arm-linux-gcc option to accept ISO C89... none needed checking dependency style of arm-linux-gcc... gcc3 checking whether arm-linux-gcc and cc understand -c and -o together... yes checking build system type... arm-unknown-linux-gnueabi checking host system type... arm-unknown-linux-gnu checking for a sed that does not truncate output... /scratchbox/tools/bin/sed checking for grep that handles long lines and -e... /scratchbox/tools/bin/grep checking for egrep... /scratchbox/tools/bin/grep -E checking for fgrep... /scratchbox/tools/bin/grep -F checking for ld used by arm-linux-gcc... /scratchbox/compilers/arm-linux-cs2008q3-72/arm-none-linux-gnueabi/bin/ld checking if the linker (/scratchbox/compilers/arm-linux-cs2008q3-72/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /scratchbox/compilers/bin/arm-linux-nm -B checking the name lister (/scratchbox/compilers/bin/arm-linux-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /scratchbox/compilers/arm-linux-cs2008q3-72/arm-none-linux-gnueabi/bin/ld option to reload object files... -r checking for arm-linux-objdump... arm-linux-objdump checking how to recognize dependent libraries... pass_all checking for arm-linux-ar... arm-linux-ar checking for arm-linux-strip... (cached) arm-linux-strip checking for arm-linux-ranlib... arm-linux-ranlib checking command to parse /scratchbox/compilers/bin/arm-linux-nm -B output from arm-linux-gcc object... ok checking how to run the C preprocessor... arm-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for arm-linux-gcc option to produce PIC... -fPIC -DPIC checking if arm-linux-gcc PIC flag -fPIC -DPIC works... yes checking if arm-linux-gcc static flag -static works... yes checking if arm-linux-gcc supports -c -o file.o... yes checking if arm-linux-gcc supports -c -o file.o... (cached) yes checking whether the arm-linux-gcc linker (/scratchbox/compilers/arm-linux-cs2008q3-72/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for bash... /scratchbox/tools/bin/bash checking if dolt supports this host... no, falling back to libtool checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for memset... yes checking for memcpy... yes checking for strcasecmp... yes checking for glib-mkenums... /usr/local/bin/glib-mkenums checking for glib-genmarshal... /usr/local/bin/glib-genmarshal checking for arm-linux-pkg-config... no checking for pkg-config... /scratchbox/tools/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for dlopen in -ldl... yes checking GLES/egl.h usability... no checking GLES/egl.h presence... no checking for GLES/egl.h... no configure: error: Unable to locate required GLES headers
