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