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

Andrew Wood a.j.w at me.com
Mon Sep 19 11:05:40 PDT 2011


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?




More information about the webkit-gtk mailing list