[webkit-dev] Thank you very much! I edited configure.ac and...

David Kilzer ddkilzer at webkit.org
Tue Feb 17 07:32:28 PST 2009


Hi Hai,

I'm glad I was able to help you get past this particular build error, but I've never built the Gtk+ or Qt builds of WebKit before, so I can't help you any further.  Please continue using the webkit-dev mailing list or the #webkit IRC channel on irc.freenode.net for additional questions.

Also, I would file a bug on <https://bugs.webkit.org/> about the issue with identifying the supported version of libsoup in configure.ac.  It seems to me that there may need to be multiple checks for the correct version of the libsoup package based on your Linux distribution (or *NIX platform) due to the inconsistent package names for this library.

Dave




________________________________
From: nguyen hai <deuxliquid at yahoo.com>
To: David Kilzer <ddkilzer at webkit.org>
Sent: Monday, February 16, 2009 7:01:24 PM
Subject: Thank you very much! I edited configure.ac and...


Hi Dave,
I opened confugure.ac, I saw some scripts as below:

Script_1:
 # optional modules
LIBCURL_REQUIRED_VERSION=7.15
LIBSOUP_REQUIRED_VERSION=2.23
LIBXSLT_REQUIRED_VERSION=1.1.7
SQLITE_REQUIRED_VERSION=3.0
GSTREAMER_REQUIRED_VERSION=0.10

and Script_2

if test "$with_http_backend" = "soup"; then
   PKG_CHECK_MODULES([LIBSOUP],
                     [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])
   AC_SUBST([LIBSOUP_CFLAGS])
   AC_SUBST([LIBSOUP_LIBS])
fi

firstly, I changed "libsoup-2.4" in Script_2 to "libsoup" but I got an error that meant that  it could not find libsoup.
Then, I changed LIBSOUP_REQUIRED_VERSION to 2.4 (that means LIBSOUP_REQUIRED_VERSION =2.4) . Then I typed autogen.sh, what great, it run well.

At this moment, I am running "make". It maybe take 3 hours for making.
I don't know if I did right or wrong. 
If you don't mind , I suppose that "make" shell will success. What will I do for the next? I mean that How many next steps to have a web browser. I am really very new to webkit and web browser. 
thank you again
Hai
--- Thứ 3, 17/02/09, David Kilzer <ddkilzer at webkit.org> đã viết:

Từ: David Kilzer <ddkilzer at webkit.org>
Chủ đề: Re: [webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.23) were not met:
Đến: deuxliquid at yahoo.com
Cc: webkit-dev at lists.webkit.org
Ngày: Thứ Ba, 17 tháng 2, 2009, 0:28


Sorry, I was reading that libsoup-2.23 was older than libsoup-2.4.  It looks like configure.ac is not comparing the versions correctly.  Try making this change (changing "libsoup-2.4" to just "libsoup" in configure.ac) and rerunning autogen.sh:

diff --git a/configure.ac b/configure.ac
index 6ac6f8b..75d986f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -637,7 +637,7 @@ fi
 
 if test "$with_http_backend" = "soup"; then
    PKG_CHECK_MODULES([LIBSOUP],
-                     [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])
+                     [libsoup >= $LIBSOUP_REQUIRED_VERSION])
    AC_SUBST([LIBSOUP_CFLAGS])
    AC_SUBST([LIBSOUP_LIBS])
 fi

Note that $LIBSOUP_REQUIRED_VERSION is set to 2.23 anyway.

Dave




________________________________
From: nguyen hai <deuxliquid at yahoo.com>
To: David Kilzer <ddkilzer at webkit.org>
Sent: Monday, February 16, 2009 7:05:40 AM
Subject: Re: [webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.23) were not met:


Hi David,
Thank you much for your help.
I tried to install libsoup-2.4 but not avaible.
I run on Fedora. I tyed as following:

yum search libsoup-2.4  (first I looked for libsoup-2.4)
yum install libsoup-2.4  

but I got a message:

not matched
nothing to do

Once I installed libsoup-2.4.1, the same error appeared : hecking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.23) were not met

It seems that "autogen.sh" want exactly libsoup-2.4 ( not 2.4.2 or other).
But I can't find libsoup-2.4.
I spent much time for this. It sounds bad.
Hai 

  

--- Thứ 2, 16/02/09, David Kilzer <ddkilzer at webkit.org> đã viết:

> Từ: David Kilzer <ddkilzer at webkit.org>
> Chủ đề: Re: [webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.23) were not met:
> Đến: deuxliquid at yahoo.com
> Cc: webkit-dev at lists.webkit.org
> Ngày: Thứ Hai, 16 tháng 2, 2009, 20:43
> The autogen.sh script wants libsoup-2.4 OR NEWER. 
> libsoup-2.4.1 satisfies that requirement, so try installing
> that version.
> 
> Dave
> 
> 
> 
> 
> ________________________________
> From: nguyen hai <deuxliquid at yahoo.com>
> To: webkit-dev at lists.webkit.org
> Sent: Monday, February 16, 2009 1:17:54 AM
> Subject: [webkit-dev] checking for LIBSOUP... configure:
> error: Package requirements (libsoup-2.4 >= 2.23) were
> not met:
> 
> 
> Hi all,
> I typed ./autogen.sh but I got this message:
> 
> checking for LIBSOUP... configure: error: Package
> requirements (libsoup-2.4 >= 2.23) were not met:
> 
> No package 'libsoup-2.4' found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable
> if you
> installed software in a non-standard prefix.
> 
> When I looked for libsoup-2.4 , there were only
> libsoup-2.4.1.
> 
> Can someone help me?
> thanks
> Hai
>  
> ________________________________
> Thị trường chứng khoán Việt Nam hot tới mức
> nào? Khám phá tại Yahoo! Hỏi & Đáp


      Đặt ngay địa chỉ email mới!
Lấy ngay địa chỉ email bạn từng muốn có trước khi có người khác nhanh tay hơn!
http://mail.promotions.yahoo.com/newdomains/vn/
 
________________________________
 Bạn luôn muốn kết nối với nhiều bạn bè hơn trên blog và trang web cá nhân?
Tạo Pingbox mới nhất ngay hôm nay!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090217/7ceeadee/attachment.html>


More information about the webkit-dev mailing list