[webkit-efl] Getting Build Error for EFL Web Port

SHIVAKUMAR JAGALUR MATT shiva.jm at samsung.com
Wed Apr 9 23:57:25 PDT 2014


Dear   EFL folks,


             I am trying to build efl  for webkit, I am getting below error, do we need to upgrade any OS or particular code base version?.

             OS Version: Ubuntu 12.04 LTS
             GCC Version: 4.8 

            Steps Followed to build are:
            1) Downloaded the code from : git clone git://git.webkit.org/WebKit.git WebKit
            2) Run the ./Tools/Scripts/update-webkit for Updates
            3) Updated the efl libs, ./Tools/Scripts/update-webkitefl-libs
            4) Build the webkit as  ./build-webkit --efl --cmakeargs="-DENABLE_WEBKIT=OFF -DCMAKE_CXX_COMPILER=/usr/bin/gcc"  

Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o
/usr/bin/gcc -march=pentium4 -msse2 -mfpmath=sse -o
CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c
/home/shiva.jm/WebKit-Project/webkit/WebKitBuild/Release/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o] Error 1
make[1]: Leaving directory
`/home/shiva.jm/WebKit-Project/webkit/WebKitBuild/Release/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2


 If I just run ./build-webkit --efl --cmakeargs="-DENABLE_WEBKIT=OFF",  I get below error though I have updated GCC version to 4.8.

Scanning dependencies of target leveldb
[  0%] Building CXX object Source/WebCore/CMakeFiles/leveldb.dir/__/ThirdParty/leveldb/db/builder.cc.o
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [Source/WebCore/CMakeFiles/leveldb.dir/__/ThirdParty/leveldb/db/builder.cc.o] Error 1
make[1]: *** [Source/WebCore/CMakeFiles/leveldb.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Scanning dependencies of target WTF
[  0%] [  0%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o
Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/Atomics.cpp.o
cc1plus: error: unrecognized command line option ‘-std=c++11’
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [Source/WTF/wtf/CMakeFiles/WTF.dir/Atomics.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o] Error 1
make[1]: *** [Source/WTF/wtf/CMakeFiles/WTF.dir/all] Error 2
Scanning dependencies of target ANGLESupport


            Pls share your inputs.


Thanks
Shiva



More information about the webkit-efl mailing list