'WWWorkin/Webkit'에 해당되는 글 6건

  1. 2014.08.22 video test
  2. 2014.03.20 Links 4 tests
  3. 2012.03.26 Webkit - Chromium port - building 1
  4. 2012.02.20 Webkit-efl : Build Errors & Script excution Errors 5
  5. 2012.02.20 [TS] - Error from Gstreamer in Webkit Build 1
  6. 2012.02.16 webkit efl - Build 4
WWWorkin/Webkit2014. 8. 22. 16:49

<div style="text-align:center"> 

  <button onclick="playPause()">Play/Pause</button> 

  <button onclick="makeBig()">Big</button>

  <button onclick="makeSmall()">Small</button>

  <button onclick="makeNormal()">Normal</button>

  <br> 

  <video id="video1" width="420">

    <source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">

    Your browser does not support HTML5 video.

  </video>

</div> 


<script> 

var myVideo = document.getElementById("video1"); 


function playPause() { 

    if (myVideo.paused) 

        myVideo.play(); 

    else 

        myVideo.pause(); 


function makeBig() { 

    myVideo.width = 560; 


function makeSmall() { 

    myVideo.width = 320; 


function makeNormal() { 

    myVideo.width = 420; 

</script> 


<p>Video courtesy of <a href="http://www.bigbuckbunny.org/" target="_blank">Big Buck Bunny</a>.</p>

'WWWorkin > Webkit' 카테고리의 다른 글

Links 4 tests  (0) 2014.03.20
Webkit - Chromium port - building  (1) 2012.03.26
Webkit-efl : Build Errors & Script excution Errors  (5) 2012.02.20
[TS] - Error from Gstreamer in Webkit Build  (1) 2012.02.20
webkit efl - Build  (4) 2012.02.16
Posted by Joe.C
WWWorkin/Webkit2014. 3. 20. 14:31
WWWorkin/Webkit2012. 3. 26. 21:31
http://trac.webkit.org/wiki/Chromium

I'm on Ubuntu 11.04

After getting code.....

1. update-webkit --chromium

Need more libs for updating 

libgtk2.0-dev
libnss3-dev 
libgconf2-dev 
libgcrypt11-dev 
libgnome-keyring-dev 
libdbus-glib-1-dev 
libcups2-dev 

2. build-webkit --chromium

If you get an error....
"alsa_input.h:8:28: fatal error: alsa/asoundlib.h: No such file or directory....."

install 'libasound2-dev'

 
I got SUCCESS to build...........

 
3. new-run-webkit-tests --chromium

I got an error............again..
--------------------------------------------------------------------------- 
Ruby is not installed; can't generate pretty patches.

Unable to find wdiff
    at /usr/bin/wdiff
    Please install using: "sudo apt-get install wdiff"

For complete Linux build requirements, please see:

    http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
Build check failed
--------------------------------------------------------------------------- 
... OK.. Do it.


I got an error............again.. 
---------------------------------------------------------------------------  
Ruby is not installed; can't generate pretty patches.

No httpd found. Cannot run http tests.
System dependencies check failed.
To override, invoke with --nocheck-sys-deps

You are missing /usr/share/fonts/truetype/kochi/kochi-gothic.ttf. Try re-running build/install-build-deps.sh. Also see http://code.google.com/p/chromium/wiki/LayoutTestsLinux
---------------------------------------------------------------------------  
 
OK.....  run 'WebKit/Source/WebKit/chromium/build/install-build-deps.sh'

 

'WWWorkin > Webkit' 카테고리의 다른 글

video test  (0) 2014.08.22
Links 4 tests  (0) 2014.03.20
Webkit-efl : Build Errors & Script excution Errors  (5) 2012.02.20
[TS] - Error from Gstreamer in Webkit Build  (1) 2012.02.20
webkit efl - Build  (4) 2012.02.16
Posted by Joe.C
WWWorkin/Webkit2012. 2. 20. 22:42

I faced so many errors .........HELP ME......
 

############# PC #1 #############

 

case 1. Webkit-r107480 - SCRIPT ERROR
yhwancho@yhwancho-DTop:~/webkit/tar/WebKit-r107480$ ./Tools/Scripts/run-webkit-tests --efl --release --no-launch-safari \
>                                  --results-directory layout-test-results \
>                                  --exit-after-n-failures 5000 --child-processes=N
Traceback (most recent call last):
  File "/home/yhwancho/webkit/tar/WebKit-r107480/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 486, in <module>
    sys.exit(main())
  File "/home/yhwancho/webkit/tar/WebKit-r107480/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 479, in main
    host._initialize_scm()
  File "/home/yhwancho/webkit/tar/WebKit-r107480/Tools/Scripts/webkitpy/common/host.py", line 112, in _initialize_scm
    self._scm = detector.default_scm(patch_directories)
  File "/home/yhwancho/webkit/tar/WebKit-r107480/Tools/Scripts/webkitpy/common/checkout/scm/detection.py", line 60, in default_scm
    raise Exception("FATAL: Failed to determine the SCM system for either %s or %s" % (cwd, script_directory))
Exception: FATAL: Failed to determine the SCM system for either /home/yhwancho/webkit/tar/WebKit-r107480 or /home/yhwancho/webkit/tar/WebKit-r107480/Tools/Scripts/webkitpy/common/checkout/scm

 


case 2. git-source (2012/02/17) - BUILD ERROR
-- Build files have been written to: /home/yhwancho/webkit/WebKit/WebKitBuild/Release
[  0%] [  0%] [  0%] [  0%] Building CXX object Source/JavaScriptCore/wtf/CMakeFiles/wtf_efl.dir/gobject/GOwnPtr.cpp.o
Building CXX object Source/JavaScriptCore/wtf/CMakeFiles/wtf_efl.dir/OSAllocatorPosix.cpp.o
Building CXX object Source/JavaScriptCore/wtf/CMakeFiles/wtf_efl.dir/ThreadIdentifierDataPthreads.cpp.o
Building CXX object Source/JavaScriptCore/wtf/CMakeFiles/wtf_efl.dir/gobject/GRefPtr.cpp.o
In file included from /usr/include/glib-2.0/gio/gioenums.h:30:0,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /home/yhwancho/webkit/WebKit/Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp:24:
/usr/include/glib-2.0/glib-object.h:25:30: fatal error: gobject/gbinding.h: No such file or directory
compilation terminated.
make[2]: *** [Source/JavaScriptCore/wtf/CMakeFiles/wtf_efl.dir/gobject/GOwnPtr.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /home/yhwancho/webkit/WebKit/Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp:24:
/usr/include/glib-2.0/glib/deprecated/gthread.h:126:0: warning: "g_static_mutex_get_mutex" redefined [enabled by default]
/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h:171:0: note: this is the location of the previous definition
/usr/include/glib-2.0/glib/deprecated/gthread.h:127:0: warning: "G_STATIC_MUTEX_INIT" redefined [enabled by default]
/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h:170:0: note: this is the location of the previous definition
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /home/yhwancho/webkit/WebKit/Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp:24:
/usr/include/glib-2.0/glib/gthread.h:51:16: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive]
/usr/include/glib-2.0/glib/gthread.h:58:7: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive]
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /home/yhwancho/webkit/WebKit/Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp:24:
/usr/include/glib-2.0/glib/deprecated/gthread.h:135:3: error: conflicting declaration ‘typedef struct GStaticMutex GStaticMutex’
/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h:159:30: error: ‘GStaticMutex’ has a previous declaration as ‘typedef struct _GStaticMutex GStaticMutex’
make[2]: *** [Source/JavaScriptCore/wtf/CMakeFiles/wtf_efl.dir/gobject/GRefPtr.cpp.o] Error 1
make[1]: *** [Source/JavaScriptCore/wtf/CMakeFiles/wtf_efl.dir/all] Error 2
make: *** [all] Error 2

 

case 3. Webkit-r103666 - BUILD ERROR
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/__/cairo/PixelDumpSupportCairo.cpp.o
Linking C executable ../../Programs/EWebLauncher
../../../Source/JavaScriptCore/wtf/libwtf_efl.so.0.1.0: undefined reference to `ucol_setAttribute_44'
../../../Source/JavaScriptCore/wtf/libwtf_efl.so.0.1.0: undefined reference to `ucol_getLocaleByType_44'
../../../Source/JavaScriptCore/wtf/libwtf_efl.so.0.1.0: undefined reference to `JSC::IdentifierTable::~IdentifierTable()'
../../../Source/JavaScriptCore/wtf/libwtf_efl.so.0.1.0: undefined reference to `ucol_close_44'
../../../Source/JavaScriptCore/wtf/libwtf_efl.so.0.1.0: undefined reference to `ucol_strcoll_44'
../../../Source/JavaScriptCore/wtf/libwtf_efl.so.0.1.0: undefined reference to `ucol_open_44'
../../../Source/JavaScriptCore/wtf/libwtf_efl.so.0.1.0: undefined reference to `ucol_getAttribute_44'
collect2: ld returned 1 exit status
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/DumpHistoryItem.cpp.o
make[2]: *** [Programs/ImageDiff] Error 1
make[1]: *** [Tools/DumpRenderTree/efl/CMakeFiles/Programs/ImageDiff.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/DumpRenderTree.cpp.o
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/DumpRenderTreeChrome.cpp.o
[100%] Built target Programs/EWebLauncher
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/DumpRenderTreeView.cpp.o
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/EventSender.cpp.o
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/FontManagement.cpp.o
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/GCControllerEfl.cpp.o
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/JSStringUtils.cpp.o
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/LayoutTestControllerEfl.cpp.o
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/PixelDumpSupportEfl.cpp.o
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/Programs/DumpRenderTree.dir/WorkQueueItemEfl.cpp.o
Linking CXX executable ../../../Programs/DumpRenderTree
[100%] Built target Programs/DumpRenderTree
make: *** [all] Error 2

 

 

case 4. WebKit-r106759 - SCRIPT ERROR
yhwancho@yhwancho-DTop:~/webkit/tar/WebKit-r106759$ ./Tools/Scripts/run-webkit-tests --efl --release --no-launch-safari \
>                                  --results-directory layout-test-results \
>                                  --exit-after-n-failures 5000 --child-processes=N
Traceback (most recent call last):
  File "/home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 476, in <module>
    sys.exit(main())
  File "/home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 469, in main
    host._initialize_scm()
  File "/home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/common/host.py", line 112, in _initialize_scm
    self._scm = detector.default_scm(patch_directories)
  File "/home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/common/checkout/scm/detection.py", line 60, in default_scm
    raise Exception("FATAL: Failed to determine the SCM system for either %s or %s" % (cwd, script_directory))
Exception: FATAL: Failed to determine the SCM system for either /home/yhwancho/webkit/tar/WebKit-r106759 or /home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/common/checkout/scm


############# PC #2 #############


case 1. WebKit-r108077 - BUILD ERROR
[100%] Building CXX object Tools/DumpRenderTree/efl/CMakeFiles/bin/DumpRenderTree.dir/WorkQueueItemEfl.cpp.o
Linking CXX executable ../../../bin/DumpRenderTree
../../../lib/libwebcore_efl.so.0.1.0: undefined reference to `WebCore::RunLoop::RunLoop()'
../../../lib/libwebcore_efl.so.0.1.0: undefined reference to `WebCore::RunLoop::~RunLoop()'
../../../lib/libwebcore_efl.so.0.1.0: undefined reference to `WebCore::RunLoop::wakeUp()'
collect2: ld returned 1 exit status
make[2]: *** [bin/DumpRenderTree] Error 1
make[1]: *** [Tools/DumpRenderTree/efl/CMakeFiles/bin/DumpRenderTree.dir/all] Error 2
make: *** [all] Error 2

 

 

case 2. WebKit-r107978 - BUILD ERROR
Linking CXX executable ../../../bin/DumpRenderTree
../../../lib/libwebcore_efl.so.0.1.0: undefined reference to `WebCore::RunLoop::RunLoop()'
../../../lib/libwebcore_efl.so.0.1.0: undefined reference to `WebCore::RunLoop::~RunLoop()'
../../../lib/libwebcore_efl.so.0.1.0: undefined reference to `WebCore::RunLoop::wakeUp()'
collect2: ld returned 1 exit status
make[2]: *** [bin/DumpRenderTree] Error 1
make[1]: *** [Tools/DumpRenderTree/efl/CMakeFiles/bin/DumpRenderTree.dir/all] Error 2
make: *** [all] Error 2

 

 

case 3. Webkit - git-source (clone 2012/02/20) - BUILD ERROR
[ 48%] Building CXX object Source/WebCore/CMakeFiles/webcore_efl.dir/page/Geolocation.cpp.o
/home/yhwancho/webkit/git/WebKit/Source/WebCore/page/Geolocation.cpp: In member function ‘void WebCore::Geolocation::reset()’:
/home/yhwancho/webkit/git/WebKit/Source/WebCore/page/Geolocation.cpp:258:33: error: invalid use of incomplete type ‘struct WebCore::ChromeClient’
/home/yhwancho/webkit/git/WebKit/Source/WebCore/page/Chrome.h:38:11: error: forward declaration of ‘struct WebCore::ChromeClient’
/home/yhwancho/webkit/git/WebKit/Source/WebCore/page/Geolocation.cpp: In member function ‘void WebCore::Geolocation::requestPermission()’:
/home/yhwancho/webkit/git/WebKit/Source/WebCore/page/Geolocation.cpp:622:29: error: invalid use of incomplete type ‘struct WebCore::ChromeClient’
/home/yhwancho/webkit/git/WebKit/Source/WebCore/page/Chrome.h:38:11: error: forward declaration of ‘struct WebCore::ChromeClient’
make[2]: *** [Source/WebCore/CMakeFiles/webcore_efl.dir/page/Geolocation.cpp.o] Error 1
make[1]: *** [Source/WebCore/CMakeFiles/webcore_efl.dir/all] Error 2
make: *** [all] Error 2

 

 

case 4. WebKit-r106759 - SCRIPT ERROR
Traceback (most recent call last):
  File "/home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 476, in <module>
    sys.exit(main())
  File "/home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 469, in main
    host._initialize_scm()
  File "/home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/common/host.py", line 112, in _initialize_scm
    self._scm = detector.default_scm(patch_directories)
  File "/home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/common/checkout/scm/detection.py", line 60, in default_scm
    raise Exception("FATAL: Failed to determine the SCM system for either %s or %s" % (cwd, script_directory))
Exception: FATAL: Failed to determine the SCM system for either /home/yhwancho/webkit/tar/WebKit-r106759 or /home/yhwancho/webkit/tar/WebKit-r106759/Tools/Scripts/webkitpy/common/checkout/scm


 

############# PC #3 #############

 

case 1. git-source - DRT ERROR
jungjiklee@jungjiklee-Samsung-DeskTop-System:~/dev/webkit_open/webkit/WebKit$ ./Tools/Scripts/run-webkit-tests --efl LayoutTests/fast/borders/border-fit.html
  fast/borders/border-fit.html -> unexpected DumpRenderTree crash
0 tests ran as expected, 1 didn't:


Regressions: Unexpected DumpRenderTree crashes : (1)
  fast/borders/border-fit.html = CRASH


Traceback (most recent call last):
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 488, in <module>
    sys.exit(main())
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 483, in main
    return run(port, options, args)
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 126, in run
    unexpected_result_count = manager.run(result_summary)
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 945, in run
    self._show_results_html_file(result_summary)
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 1394, in _show_results_html_file
    self._port.show_results_html_file(results_filename)
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/port/efl.py", line 74, in show_results_html_file
    self._run_script("run-launcher", run_launcher_args)
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/layout_tests/port/webkit.py", line 106, in _run_script
    output = self._executive.run_command(run_script_command, cwd=self._config.webkit_base_dir(), decode_output=decode_output, env=env)
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/common/system/executive.py", line 421, in run_command
    (error_handler or self.default_error_handler)(script_error)
  File "/home/jungjiklee/dev/webkit_open/webkit/WebKit/Tools/Scripts/webkitpy/common/system/executive.py", line 338, in default_error_handler
    raise error
webkitpy.common.system.executive.ScriptError: Failed to run "[u'Tools/Scripts/run-launcher', u'--release', u'--efl', u'file:///home/jungjiklee/dev/webkit_open..." exit_code: -11 cwd: /home/jungjiklee/dev/webkit_open/webkit/WebKit

'WWWorkin > Webkit' 카테고리의 다른 글

video test  (0) 2014.08.22
Links 4 tests  (0) 2014.03.20
Webkit - Chromium port - building  (1) 2012.03.26
[TS] - Error from Gstreamer in Webkit Build  (1) 2012.02.20
webkit efl - Build  (4) 2012.02.16
Posted by Joe.C
WWWorkin/Webkit2012. 2. 20. 14:04
GStreamer-Base_LIBRARIES=/usr/lib/libgstbase-0.10.so;/usr/lib/libgstreamer-0.10.so
CMake Error at Source/cmake/LibFindMacros.cmake:74 (message):
  Required library GStreamer-App NOT FOUND.


DO!
sudo apt-get install libgstreamer-plugins-base0.10-dev

'WWWorkin > Webkit' 카테고리의 다른 글

video test  (0) 2014.08.22
Links 4 tests  (0) 2014.03.20
Webkit - Chromium port - building  (1) 2012.03.26
Webkit-efl : Build Errors & Script excution Errors  (5) 2012.02.20
webkit efl - Build  (4) 2012.02.16
Posted by Joe.C
WWWorkin/Webkit2012. 2. 16. 17:58
http://joec.tistory.com/511
http://joec.tistory.com/512
http://joec.tistory.com/513

Ubuntu 10.04에서 오직 webkit-efl을 빌드하기 위해 여기까지 왔다.

위 3 과정을 힘들게 거쳐서.......

이제 webkit을 빌드해 본다...

 Tools/Scripts$_ .......자... 깜빡이는 커서를 보며... 제발.... 이라고 빌어보며...

./build-webkit --efl !!!!

Error.........

 
-- checking for one of the modules 'libsoup-2.4>=2.37.2.1;libsoup2>=2.37.2.1'
CMake Error at Source/cmake/FindLibSoup2.cmake:123 (MESSAGE):
  package libsoup2 not found

괜찮다... 까짓 libsoup... 다시 깔아준다......

http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.37/
 

libsoup 2.37.5.1 을 받았다.

이걸 ./configure 하니까  Glib 버전이 낮단다...

checking for GLIB - version >= 2.31.7... no

뭐..... 그랬군...........................................

http://ftp.gnome.org/pub/GNOME/sources/glib/2.31/
 

2. 31.8 로 받았다.

Glib 빌드.... make... install....

자.. 다시 libsoup 빌드.....

./configure


짠................................... 젠장...

checking for GLIB - version >= 2.31.7... 
*** 'pkg-config --modversion glib-2.0' returned 2.31.8, but GLIB (2.30.0)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: GLIB 2.31.7 or later is required to build libsoup


흠.. pkgconfig 확인...이라...
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LABRARY_PATH
실행...
 

이건 상관없나보다... 계속 안됨... 아우!!!

일단 계속 glib을 깔아도 2.31.8 gkrh 2.31.17의 so가 동시에 있는게 이상함.

~/Downloads/glib-2.31.8$ ls -al /usr/local/lib/ | grep glib
 
drwxr-xr-x  3 root root     4096 2012-02-15 20:55 glib-2.0
-rwxr-xr-x  1 root root      974 2012-02-16 18:41 libglib-2.0.la
lrwxrwxrwx  1 root root       23 2012-02-16 18:41 libglib-2.0.so -> libglib-2.0.so.0.3108.0
lrwxrwxrwx  1 root root       23 2012-02-16 18:41 libglib-2.0.so.0 -> libglib-2.0.so.0.3117.0
-rwxr-xr-x  1 root root  2980735 2012-02-16 18:41 libglib-2.0.so.0.3108.0
-rwxr-xr-x  1 root root  3018552 2012-02-15 20:55 libglib-2.0.so.0.3117.0

그래서.... 강제로  빨간부분을 바꿈....2.31.08을 가리키게.... 아래와 같이

drwxr-xr-x  3 root root     4096 2012-02-15 20:55 glib-2.0
-rwxr-xr-x  1 root root      974 2012-02-16 18:41 libglib-2.0.la
lrwxrwxrwx  1 root root       23 2012-02-16 18:41 libglib-2.0.so -> libglib-2.0.so.0.3108.0
lrwxrwxrwx  1 root root       23 2012-02-16 18:48 libglib-2.0.so.0 -> libglib-2.0.so.0.3108.0
-rwxr-xr-x  1 root root  2980735 2012-02-16 18:41 libglib-2.0.so.0.3108.0
-rwxr-xr-x  1 root root  3018552 2012-02-15 20:55 libglib-2.0.so.0.3117.0

31.17이.. 원래 Ubuntu 11.10 깔 때 있었던 것 같아서... 일단 안지우고 냅둠...

다시 libsoup 빌드 시도...

./configure --prefix=/usr/local

configure: error: libsoup requires glib-networking for TLS support.

If you are building a package, you can pass --disable-tls-check to
allow building libsoup anyway (since glib-networking is not actually
required at compile time), but you should be sure to add a runtime
dependency on it.

일단 그 부분은 통과한 듯.... 근데 glib-networking이 없다고 난리... 쩝...
빌드는 된다지만 runtime에 있어야 된다는 말에 꾹 참고 다시 확인...

 glib-networking 2.31.16 다운로드...

빌드....

checking for GNUTLS... no
configure: error: in `/home/yhwancho/Downloads/glib-networking-2.31.16':
configure: error: "Requested 'gnutls >= 2.11.0' but version of GnuTLS is 2.10.5
You may find new versions of GnuTLS at http://www.gnu.org/software/gnutls/"
See `config.log' for more details
 

 ㅠ.ㅠ 살려줘...

 gnutls-2.12.0 다운로드....

./configure --prefix=/usr/local..... 지친다 이제 ...;;;

checking for libnettle... no
configure: error: 
  ***
  *** Libnettle 2.1 was not found.

ㅋㅋㅋㅋㅋ 또 뭐가 없단다.. ㅋㅋㅋ

이건 synaptic package manager에서 찾아서 설치!

 아.. 근데 이건 local에 설치가 안되는거라서 안되나??;;; 

libnettle4 소스 다운로드 후 local 설치... 

다시 gnutls 도전!!!

configure는 무사히 진행... 빌드.....

 
In file included from pk.c:41:0:
/usr/local/include/nettle/dsa.h:29:17: fatal error: gmp.h: No such file or directory
compilation terminated.
make[4]: *** [pk.lo] Error 1
make[4]: Leaving directory `/home/yhwancho/Downloads/gnutls-2.12.0/lib/nettle'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/yhwancho/Downloads/gnutls-2.12.0/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/yhwancho/Downloads/gnutls-2.12.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yhwancho/Downloads/gnutls-2.12.0'
make: *** [all] Error 2

휴.... gmp-5.0.4 다운로드... .. 빌드.... install...

자.. 다시 gnutls... 빌드...

  CCLD   libgnutls.la
/usr/bin/ld: cannot find -lhogweed
collect2: ld returned 1 exit status
make[4]: *** [libgnutls.la] Error 1
make[4]: Leaving directory `/home/yhwancho/Downloads/gnutls-2.12.0/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/yhwancho/Downloads/gnutls-2.12.0/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/yhwancho/Downloads/gnutls-2.12.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yhwancho/Downloads/gnutls-2.12.0'
make: *** [all] Error 2

이건 또 뭐냐.........
 
이상하다.. gnutls 2.12.14 로 다시 다운로드

configure...

 checking for P11_KIT... configure: error: Package requirements (p11-kit-1 >= 0.2) were not met:
No package 'p11-kit-1' found

OK.. synapstic 가서 설치...

안되네... 아놔... 다시... gnutls 2.12. 8 로 다운로드

그래도 안됨...OTL...

그냥 p11-kit-0.6 다운로드... 빌드... 설치...

다시!!! gnutls !!! 안됨...

libnettle 2.4 다시 다운로드 후 빌드...설치 

다시 gnutls 2.12.14 빌드..!!!! 성공!!!!

후......

그럼 이제  glib-networking 2.31.16 로 돌아와서...

다시 configure.... 아... LD_LIBRARY_PATH 안바꿨네... 다시 local로 바꾸고...

빌드! 설치! 성공!

다시 그럼 이제 libsoup 하러~!! 고고

libsoup 빌드! 

계속..  glib-networking이 없다고 한다... 분명히 make install 했는데...

/usr/local/lib에 없다... ㅠ.ㅠ

에라 모르겠다.. local을 쓰지 말자....

일단 재부팅.... 다시 새로운 마음으로....

일단 local 말고 glib을 /usr/lib에 깐다...

libsoup을 configure 했더니.. 버전이 안맞단다...

LD_LIBRARY_PATH로 /usr/lib 지정해버림.. 

자.. configure 된다... 빌드!! OK
 
install도 OK... -_-; 이게 뭔가요....

자.. 다시 webkit 빌드.....................

 
-- checking for one of the modules 'libsoup-2.4>=2.37.2.1;libsoup2>=2.37.2.1'
-- Using Ecore-X to provide extended support.
-- checking for module 'gstreamer-0.10'
--   package 'gstreamer-0.10' not found

libsoup은 지나갔다..... -_-;;;; gstreamer는 synaptic으로 깔고....

다시... 안됨;;;; 이게 뭐지?;;; 계속 Gstreamer 관련 include하고 lib이 없다고 나옴...

그냥 한 번 너도 configure 머겅~ 두 번 머겅~

아... LD_LIBRARY_PATH는 터미널 마다 걸리네;;;; 아오! 빡쳐!!!

일단 다시 autogen.sh.......... 

 
configure: error: Package requirements (gail-3.0 >= 3.0) were not met:

No package 'gail-3.0' found

자... 그냥 apt-get install....gail-3.0.......

 gail 깔고 gstreamer 아무거나 다 깔아버림....

결국 웹킷 빌드하는데 또 문제가 생김..

그냥 local을 쓰기로 함.... glib하고 libsoup 버전을 낮춰서 최소 조건 버전으로 다시 시도...

성공... 웹킷 빌드 안됨... -_-; checkout한 소스 말고 nightly build 다운받아서 빌드해서 성공함.

이건... Trouble Shooting이 아님;;;; 

'WWWorkin > Webkit' 카테고리의 다른 글

video test  (0) 2014.08.22
Links 4 tests  (0) 2014.03.20
Webkit - Chromium port - building  (1) 2012.03.26
Webkit-efl : Build Errors & Script excution Errors  (5) 2012.02.20
[TS] - Error from Gstreamer in Webkit Build  (1) 2012.02.20
Posted by Joe.C