[webkit-gtk] Problem building WebKitGTK to use custom copy of libsoup

S Boucher stbya at yahoo.com
Mon Sep 19 12:48:43 PDT 2011


This is an indirect answer, or more like a suggestion...

libsoup is pkg-config friendly.  So, build libsoup and install it to a private location.

Then set your PKG_CONFIG_PATH variable to point to your private location.  Then configure will work out everything else for you.

e.g.:
export PKG_CONFIG_PATH=<private_install_dir>/lib/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}
./configure ....


You shouldn't need to mess around with LIBSOUP_CFLAGS and such.




>________________________________
>From: Andrew Wood <a.j.w at me.com>
>To: webkit-gtk at lists.webkit.org
>Sent: Monday, September 19, 2011 2:05:40 PM
>Subject: [webkit-gtk] Problem building WebKitGTK to use custom copy of libsoup
>
>Im trying to build WebKitGTK+ 1.4 to use a local copy of libsoup rather than the one provided by the OS.
>
>Ive built libsoup 2.35.5 in /~/Desktop/webkiosk/libs/lgpl/libsoup-bin which contains the following subdirectories:
>
>include/
>           libsoup-2.4/libsoup/<.h files>
>           libsoup-gnome-2.4
>
>lib/<libraries>
>
>When I build WebKitGTK I use the following configure command:
>
>./configure LIBSOUP_CFLAGS=/home/andrew/Desktop/webkiosk/libs/lgpl/libsoup-bin/include/libsoup-2.4/ LIBSOUP_LIBS=/home/andrew/Desktop/webkiosk/libs/lgpl/libsoup-bin/lib/ --prefix=/home/andrew/Desktop/webkiosk/libs/lgpl/webkit-gtk-bin
>
>but when I then run make I get the following error:
>
>make[1]: Entering directory `/home/andrew/Desktop/webkiosk/libs/lgpl/webkit-1.4.3'
>  CXX    Source/WebCore/accessibility/gtk/libwebkitgtk_1_0_la-AccessibilityObjectAtk.lo
>g++: /home/andrew/Desktop/webkiosk/libs/lgpl/libsoup-bin/include/libsoup-2.4/: linker input file unused because linking not done
>  CXX    Source/WebCore/accessibility/gtk/libwebkitgtk_1_0_la-AccessibilityObjectWrapperAtk.lo
>In file included from ./Source/WebCore/loader/cache/CachedResource.h:31,
>                 from ./Source/WebCore/loader/cache/CachedResourceHandle.h:29,
>                 from ./Source/WebCore/dom/Clipboard.h:27,
>                 from ./Source/WebCore/dom/Event.h:27,
>                 from ./Source/WebCore/loader/NavigationAction.h:32,
>                 from ./Source/WebCore/loader/PolicyCallback.h:34,
>                 from ./Source/WebCore/loader/PolicyChecker.h:35,
>                 from ./Source/WebCore/loader/FrameLoader.h:39,
>                 from ./Source/WebCore/page/Frame.h:36,
>                 from Source/WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:48:
>./Source/WebCore/platform/network/soup/ResourceResponse.h:31:26: error: libsoup/soup.h: No such file or directory
>
>
>Any ideas why it cant see the libsoup .h files?
>
>
>_______________________________________________
>webkit-gtk mailing list
>webkit-gtk at lists.webkit.org
>http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20110919/318cd301/attachment.html>


More information about the webkit-gtk mailing list