[webkit-dev] error while build webkit for gtk on mac lion

Victor LI rtjava at hotmail.com
Mon Mar 5 00:27:34 PST 2012


I get the code from trunk or webkit.org, and compile for gtk port, and it complained "no C++ compiler  found"
My host platform is MAC lion with Xcode 4 
please help me for this problem, thanks.

the error code as following:


./build-webkit --gtk
Calling autogen.sh in /soft/svn/webkit/WebKitBuild/Release

grep: /soft/svn/webkit/WebKitBuild/Release/GNUmakefile: No such file or directory
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I Source/autotools -I /soft/svn/webkit/WebKitBuild/Dependencies/Root/share/aclocal -I /usr/local/share/aclocal -I /usr/share/aclocal 
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy
glibtoolize: Consider adding `-I Source/autotools' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /opt/local/bin/autoconf --include=Source/autotools --include=/soft/svn/webkit/WebKitBuild/Dependencies/Root/share/aclocal --include=/usr/local/share/aclocal --include=/usr/share/aclocal
autoreconf: running: /opt/local/bin/autoheader --include=Source/autotools --include=/soft/svn/webkit/WebKitBuild/Dependencies/Root/share/aclocal --include=/usr/local/share/aclocal --include=/usr/share/aclocal
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
configure: WARNING: unrecognized options: --disable-download-attribute, --disable-3d-canvas, --disable-3d-rendering, --disable-accelerated-2d-canvas, --enable-client-based-geolocation, --disable-css-filters, --disable-css-grid-layout, --disable-css-shaders, --enable-details, --enable-ftpdir, --disable-input-type-date, --disable-input-type-datetime, --disable-input-type-datetimelocal, --disable-input-type-month, --disable-input-type-time, --disable-input-type-week, --enable-inspector, --enable-netscape-plugin, --disable-orientation-events, --disable-system-malloc, --disable-svg-dom-objc-bindings, --disable-tiled-backing-store, --disable-touch-events, --disable-vibration, --disable-wtfurl
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../../Source/autotools/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for native Win32... no
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for perl... /opt/local/bin/perl
checking for python... /usr/bin/python
checking for bison... /opt/local/bin/bison
checking for mv... /bin/mv
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
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 whether gcc and cc understand -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
configure: error: No C++ compiler found
Calling autogen.sh failed!



Victor LI
rtjava at hotmail.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120305/431c91f0/attachment.html>


More information about the webkit-dev mailing list