[webkit-efl] Building error ..

Gyuyoung Kim gyuyoung.kim at webkit.org
Tue Jan 21 22:13:20 PST 2014


Hi Deepak,

When I see the error log, it looks you are using Tizen WebKit efl source,
right ?
If so, you may not build it by using " ./Tools/Scripts/build-webkit --efl
--debug"

Gyuyoung.



On Wed, Jan 22, 2014 at 3:09 PM, Deepak Mittal <
deepak.deepakmittal at gmail.com> wrote:

> I have done the following :
>
>
> $ gcc-4.7 --version
> gcc-4.7 (Ubuntu/Linaro 4.7.2-22ubuntu4) 4.7.2
> [...]
>
> $ gcc-4.6 --version
> gcc-4.6 (Ubuntu/Linaro 4.6.3-15ubuntu3) 4.6.3
> [...]
>
> I have installed 4.7.2 gcc as :
>
>
>
> sudo apt-get install gccgo-4.7
>
> Then I have changed symbolic link..
>
> The easiest way make gcc-4.7 the default gcc is to move the symlink of
> /usr/bin/gcc:
>
> sudo rm /usr/bin/gcc
> sudo ln -s /usr/bin/gcc-4.7 /usr/bin/gcc
>
>
>
> After this if I do
>
> 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.
>
>
>
> plz let me know your opinion..
>
>
>
> On Wed, Jan 22, 2014 at 11:08 AM, Gyuyoung Kim <gyuyoung.kim at webkit.org>wrote:
>
>> Hi,
>>
>> Though I have used gcc 4.7.3 version, I don't have similar problem so
>> far. It looks problem occurs when upgrading gcc ver.
>>
>> Gyuyoung.
>>
>>
>> On Wed, Jan 22, 2014 at 2:30 PM, Deepak Mittal <
>> deepak.deepakmittal at gmail.com> wrote:
>>
>>> 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
>>>
>>> _______________________________________________
>>> webkit-efl mailing list
>>> webkit-efl at lists.webkit.org
>>> https://lists.webkit.org/mailman/listinfo/webkit-efl
>>>
>>>
>>
>
>
> --
>
> Regards
> Deepak Mittal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-efl/attachments/20140122/ea5e79fa/attachment-0001.html>


More information about the webkit-efl mailing list