Bug 28140 - Webkit will not compile
Summary: Webkit will not compile
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 02:03 PDT by Inappropriate Username
Modified: 2009-08-10 02:07 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Inappropriate Username 2009-08-10 02:03:32 PDT
I'm having problems compiling webkit and come up with this error


checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for native Win32... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking if g++ supports -fvisibility=hidden -fvisibility-inlines-hidden... yes
checking for pkg-config... /usr/bin/pkg-config
checking for perl... /usr/bin/perl
checking for bison... /usr/bin/bison
checking for mv... /bin/mv
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking for flex... /usr/bin/flex
checking for gawk... (cached) gawk
checking for gperf... /usr/local/bin/gperf
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib... yes
checking for libpng12... yes
checking the target windowing system... x11
checking for Hildon UI extensions... no
checking for GLIB... yes
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for glib-mkenums... /usr/bin/glib-mkenums
checking which Unicode backend to use... icu
checking for icu-config... /usr/bin/icu-config
checking for LIBXML... yes
checking for PANGO... yes
checking for ENCHANT... yes
checking for GAIL... yes
checking for CAIRO... yes
checking for GTK... yes
checking for XT... yes
checking whether to do a debug build... no
checking whether to enable optimized builds... yes
checking whether to enable Dashboard support... yes
checking whether to enable support for 3D Transforms... no
checking whether to enable HTML5 Channel Messaging support... yes
checking whether to enable JavaScript debugger/profiler support... yes
checking whether to enable HTML5 offline web applications support... yes
checking whether to enable HTML5 client-side session and persistent storage support... yes
checking whether to enable HTML5 client-side database storage support... yes
checking whether to enable icon database support... yes
checking whether to enable HTML5 ruby support... yes
checking whether to enable HTML5 video support... yes
checking whether to enable XPath support... yes
checking whether to enable XSLT support... yes
checking whether to enable geolocation support... no
checking whether to enable gnomekeyring support... no
checking whether to enable SVG support... yes
checking whether to enable WML support... no
checking whether to enable SharedWorkers support... no
checking whether to enable Web Workers support... yes
checking whether to enable support for SVG animation... yes
checking whether to enable support for filters... no
checking whether to enable support for SVG fonts... yes
checking whether to enable support for SVG foreign objects... yes
checking whether to enable SVG as Image support... yes
checking whether to enable support for SVG use element... yes
checking whether to enable Web Sockets support... no
checking whether to enable code coverage support... no
checking whether to enable optimized memory allocator... yes
checking whether to enable JIT compilation... yes
checking the font backend to use... freetype
checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.27.4) were not met:

Requested 'libsoup-2.4 >= 2.27.4' but version of libsoup is 2.26.3

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSOUP_CFLAGS
and LIBSOUP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

However this is totally incorrect as I have libsoup2.4 installed. Here is the output of locate libsoup

/usr/include/libsoup-2.4
/usr/include/libsoup-gnome-2.4
/usr/include/libsoup-2.4/libsoup
/usr/include/libsoup-2.4/libsoup/soup-address.h
/usr/include/libsoup-2.4/libsoup/soup-auth-domain-basic.h
/usr/include/libsoup-2.4/libsoup/soup-auth-domain-digest.h
/usr/include/libsoup-2.4/libsoup/soup-auth-domain.h
/usr/include/libsoup-2.4/libsoup/soup-auth.h
/usr/include/libsoup-2.4/libsoup/soup-cookie-jar-text.h
/usr/include/libsoup-2.4/libsoup/soup-cookie-jar.h
/usr/include/libsoup-2.4/libsoup/soup-cookie.h
/usr/include/libsoup-2.4/libsoup/soup-date.h
/usr/include/libsoup-2.4/libsoup/soup-enum-types.h
/usr/include/libsoup-2.4/libsoup/soup-form.h
/usr/include/libsoup-2.4/libsoup/soup-headers.h
/usr/include/libsoup-2.4/libsoup/soup-logger.h
/usr/include/libsoup-2.4/libsoup/soup-message-body.h
/usr/include/libsoup-2.4/libsoup/soup-message-headers.h
/usr/include/libsoup-2.4/libsoup/soup-message.h
/usr/include/libsoup-2.4/libsoup/soup-method.h
/usr/include/libsoup-2.4/libsoup/soup-misc.h
/usr/include/libsoup-2.4/libsoup/soup-multipart.h
/usr/include/libsoup-2.4/libsoup/soup-portability.h
/usr/include/libsoup-2.4/libsoup/soup-proxy-resolver.h
/usr/include/libsoup-2.4/libsoup/soup-proxy-uri-resolver.h
/usr/include/libsoup-2.4/libsoup/soup-server.h
/usr/include/libsoup-2.4/libsoup/soup-session-async.h
/usr/include/libsoup-2.4/libsoup/soup-session-feature.h
/usr/include/libsoup-2.4/libsoup/soup-session-sync.h
/usr/include/libsoup-2.4/libsoup/soup-session.h
/usr/include/libsoup-2.4/libsoup/soup-socket.h
/usr/include/libsoup-2.4/libsoup/soup-status.h
/usr/include/libsoup-2.4/libsoup/soup-types.h
/usr/include/libsoup-2.4/libsoup/soup-uri.h
/usr/include/libsoup-2.4/libsoup/soup-value-utils.h
/usr/include/libsoup-2.4/libsoup/soup-xmlrpc.h
/usr/include/libsoup-2.4/libsoup/soup.h
/usr/include/libsoup-gnome-2.4/libsoup
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome.h
/usr/lib/libsoup-2.4.so
/usr/lib/libsoup-2.4.so.1
/usr/lib/libsoup-2.4.so.1.2.0
/usr/lib/libsoup-gnome-2.4.so
/usr/lib/libsoup-gnome-2.4.so.1
/usr/lib/libsoup-gnome-2.4.so.1.2.0
/usr/lib/pkgconfig/libsoup-2.4.pc
/usr/lib/pkgconfig/libsoup-gnome-2.4.pc
/usr/share/gtk-doc/html/libsoup-2.4
/usr/share/gtk-doc/html/libsoup-2.4/SoupAddress.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupAuth.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupAuthDomain.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupAuthDomainBasic.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupAuthDomainDigest.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupCookieJar.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupCookieJarSqlite.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupCookieJarText.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupLogger.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupMessage.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupProxyResolver.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupServer.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupSession.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupSessionAsync.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupSessionFeature.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupSessionSync.html
/usr/share/gtk-doc/html/libsoup-2.4/SoupSocket.html
/usr/share/gtk-doc/html/libsoup-2.4/ch01.html
/usr/share/gtk-doc/html/libsoup-2.4/ch02.html
/usr/share/gtk-doc/html/libsoup-2.4/ch03.html
/usr/share/gtk-doc/html/libsoup-2.4/ch04.html
/usr/share/gtk-doc/html/libsoup-2.4/ch05.html
/usr/share/gtk-doc/html/libsoup-2.4/home.png
/usr/share/gtk-doc/html/libsoup-2.4/index.html
/usr/share/gtk-doc/html/libsoup-2.4/index.sgml
/usr/share/gtk-doc/html/libsoup-2.4/ix01.html
/usr/share/gtk-doc/html/libsoup-2.4/left.png
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-2.4.devhelp
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-2.4.devhelp2
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-GValue-Support.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-HTML-Form-Support.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-Soup-Miscellaneous-Utilities.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupCookie.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupMessageBody.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupMessageHeaders.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupMultipart.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupURI.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-XMLRPC-Support.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-soup-gnome-features.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-soup-method.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-24-soup-status.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-build-howto.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-client-howto.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-porting-2.2-2.4.html
/usr/share/gtk-doc/html/libsoup-2.4/libsoup-server-howto.html
/usr/share/gtk-doc/html/libsoup-2.4/right.png
/usr/share/gtk-doc/html/libsoup-2.4/style.css
/usr/share/gtk-doc/html/libsoup-2.4/up.png
/var/lib/pacman/local/libsoup-2.26.3-1
/var/lib/pacman/sync/extra/libsoup-2.26.3-1

As you can clearly see I have libsoup 2.4 installed and the problem occurs because of two empty directories that I can't seem to sudo delete in my distro. There are really two ways you can fix the problem that I can see. 

1. You can start the search alphabetically thourgh the directories so it will arrive at libsoup 2.4 first. 

2. The configure script can keep searching  after it finds libsoup 2.26 to see if I have a later version of libsoup installed. I hope you take this bug seriously and thank you for your time. somedude
Comment 1 Mark Rowe (bdash) 2009-08-10 02:07:23 PDT
Closing as INVALID due to this being a support request rather than a bug report.

Bugzilla is not an appropriate place to ask for build help.  You should use the webkit-help mailing list for that purpose.  I would also suggest reading the error message that is presented to you:

> Requested 'libsoup-2.4 >= 2.27.4' but version of libsoup is 2.26.3

You have libsoup-2.4 version 2.26.3.  WebKit requires version 2.27.4 or newer.