[webkit-efl] Building error ..

Deepak Mittal deepak.deepakmittal at gmail.com
Tue Jan 21 21:30:35 PST 2014


Hi,

I have upgraded the gcc version to 4.7 as earlier my gcc is 4.6.

I am trying to build latest build for EFL, But I am getting following error:


--------------------------------------------------------------------------------------------------

deepak.m at deepakm-ubuntu:~/slp/webkitefl/WebKit$ gcc --version
gcc (Ubuntu/Linaro 4.7.2-0ubuntu3) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
deepak.m at deepakm-ubuntu:~/slp/webkitefl/WebKit$
./Tools/Scripts/build-webkit --efl --debug
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52
(MESSAGE):
  The C compiler "/usr/bin/gcc" is not able to compile a simple test
program.
  It fails with the following output:
   Change Dir:
/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/__cmake_systeminformation/CMakeFiles/CMakeTmp

  Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
  /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
  CMakeFiles/cmTryCompileExec.dir/build
  make[1]: Entering directory

`/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/__cmake_systeminformation/CMakeFiles/CMakeTmp'

  /usr/bin/cmake -E cmake_progress_report

/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/__cmake_systeminformation/CMakeFiles/CMakeTmp/CMakeFiles
  1
  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
  /usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c

/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/__cmake_systeminformation/CMakeFiles/CMakeTmp/testCCompiler.c

  gcc: error trying to exec 'cc1': execvp: No such file or directory
  make[1]: Leaving directory

`/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/__cmake_systeminformation/CMakeFiles/CMakeTmp'

  make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o] Error 1
  make: *** [cmTryCompileExec/fast] Error 2


  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:16 (PROJECT)

Error: --system-information failed on internal CMake!
Not searching for unused variables given on the command line.
-- The C compiler identification is unknown
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52
(MESSAGE):
  The C compiler "/usr/bin/gcc" is not able to compile a simple test
program.
  It fails with the following output:
   Change Dir:
/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/CMakeFiles/CMakeTmp

  Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
  /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
  CMakeFiles/cmTryCompileExec.dir/build
  make[1]: Entering directory

`/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/CMakeFiles/CMakeTmp'

  /usr/bin/cmake -E cmake_progress_report

/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/CMakeFiles/CMakeTmp/CMakeFiles
  1
  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
  /usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c

/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/CMakeFiles/CMakeTmp/testCCompiler.c

  gcc: error trying to exec 'cc1': execvp: No such file or directory
  make[1]: Leaving directory

`/home/deepak.m/slp/webkitefl/WebKit/WebKitBuild/Debug/CMakeFiles/CMakeTmp'

  make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o] Error 1
  make: *** [cmTryCompileExec/fast] Error 2


  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)

-- Configuring incomplete, errors occurred!
-----------------------------------------------------------------------------------------------------------------
Please let me know If I am missing somthing ...




Regards
Deepak Mittal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-efl/attachments/20140122/f1f03859/attachment.html>


More information about the webkit-efl mailing list