WebKit Build Process on Linux--GtkLauncher


1.check out source

2.install flex bison gperf libtool libicu-dev

3../WebKit/WebKitTools/Scripts/build-webkit --gtk --debug

4. error
Warning: not running gtk-docize.
configure.ac:14: installing `autotools/config.guess'
configure.ac:14: installing `autotools/config.sub'
automake: cannot open < gtk-doc.make: No such file or directory
Failed to setup build environment using 'autotools'!

5. sudo apt-get install gtk-doc-tools libjpeg62-dev libxml2-dev libenchant-dev libsqlite3-dev libxslt1-dev libgstreamer-plugins-base0.10-dev

6.wget http://download.gnome.org/sources/libsoup/2.25/libsoup-2.25.91.tar.gz & build & install without-gnom

7. ./WebKit/WebKitTools/Scripts/build-webkit --gtk --debug

Here comes part of the output:

Calling configure in /home/zheqiduo/WebKit/WebKitBuild/Release

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
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 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 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 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 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 for a BSD-compatible install... /usr/bin/install -c
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 ANSI C header files... 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 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) mawk
checking for gperf... /usr/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 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... no
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 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 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 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... yes
checking for FREETYPE... yes
checking for SQLITE3... yes
checking for LIBXSLT... yes
checking for GSTREAMER... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... /usr/bin/gtkdoc-check
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating WebKit/gtk/webkit-1.0.pc
config.status: creating WebKit/gtk/webkit/webkitversion.h
config.status: creating WebKit/gtk/docs/GNUmakefile
config.status: creating WebKit/gtk/docs/version.xml
config.status: creating autotoolsconfig.h
config.status: executing depfiles commands
config.status: executing libtool commands

WebKit was configured with the following options:

Build configuration:
Enable debugging (slow)                                  : no
Enable GCC build optimization                            : yes
Code coverage support                                    : no
Unicode backend                                          : icu
Font backend                                             : freetype
Optimized memory allocator                               : yes
Features:
3D Transforms                                            : no
JIT compilation                                          : yes
Dashboard support                                        : yes
Filters support                                          : no
Geolocation support                                      : no
GNOME Keyring support                                    : no
JavaScript debugger/profiler support                     : yes
HTML5 offline web applications support                   : yes
HTML5 channel messaging support                          : no
HTML5 client-side session and persistent storage support : yes
HTML5 client-side database storage support               : yes
HTML5 video element support                              : yes
Icon database support                                    : yes
SVG support                                              : yes
SVG animation support                                    : yes
SVG fonts support                                        : yes
SVG foreign object support                               : yes
SVG as image support                                     : yes
SVG use element support                                  : yes
WML support                                              : no
Web Workers support                                      : yes
XPATH support                                            : yes
XSLT support                                             : yes
GTK+ configuration:
GDK target                                               : x11
Hildon UI extensions                                     : no

相关内容