[webkit-dev] Webkit build failed, qmake doesn't know -r option?

Kiswono Prayogo kiswono at gmail.com
Tue Apr 22 06:17:40 PDT 2008


Hello, can anybody help me to solve this error? thanks in advance..

i've check out webkit's svn,
i'm using visual studio 2008 express edition,
installed all needed component/SDKs as seen in the tutorial,
and try to build webkit, but i got thiss error message:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

N:\Documents and Settings\Administrator>cygwin

angels at - ~
$ cd /cygdrive/f/Kiz/Projects/

angels at - /cygdrive/f/Kiz/Projects
$ WebKit/WebKitTools/Scripts/build-webkit
Subroutine main::tmpfile redefined at /usr/lib/perl5/5.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8/cygwin/POSIX.pm line 19
Subroutine main::tmpnam redefined at /usr/lib/perl5/5.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8/cygwin/POSIX.pm line 19
Checking mod-date of WebKitSupportLibrary.zip...
Current WebKitSupportLibrary is up to date
Calling 'qmake CONFIG+=qt-port -r
OUTPUT_DIR=/cygdrive/f/Kiz/Projects/WebKit/WebKitBuild/Release
/cygdrive/f/Kiz/Projects/WebKit/WebKit.pro CONFIG+=release
CONFIG-=debug' in /cygdrive/f/Kiz/Pr
ojects/WebKit/WebKitBuild/Release

***Unknown option -r
Usage: qmake [mode] [options] [files]

  QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
       -project       Put qmake into project file generation mode
                      In this mode qmake interprets files as files to
                      be built,
                      defaults to *.c; *.ui; *.y; *.l; *.ts; *.h;
*.hpp; *.hh; *.H; *.hxx; *.cpp; *.cc; *.cxx; *.C
       -makefile      Put qmake into makefile generation mode (default)
                      In this mode qmake interprets files as project files to
                      be processed, if skipped qmake will try to find a project
                      file in your current working directory

Warnings Options:
       -Wnone         Turn off all warnings
       -Wall          Turn on all warnings
       -Wparser       Turn on parser warnings
       -Wlogic        Turn on logic warnings

Options:
        * You can place any variable assignment in options and it will be     *
        * processed as if it was in [files]. These assignments will be parsed *
        * before [files].                                                     *
       -o file        Write output to file
       -unix          Run in unix mode
       -win32         Run in win32 mode
       -macx          Run in Mac OS X mode
       -d             Increase debug level
       -t templ       Overrides TEMPLATE as templ
       -tp prefix     Overrides TEMPLATE so that prefix is prefixed
into the value
       -help          This help
       -v             Version information
       -after         All variable assignments after this will be
                      parsed after [files]
       -cache file    Use file as cache           [makefile mode only]
       -spec spec     Use spec as QMAKESPEC       [makefile mode only]
       -nocache       Don't use a cache file      [makefile mode only]
       -nodepend      Don't generate dependencies [makefile mode only]
       -nomoc         Don't generate moc targets  [makefile mode only]
       -nopwd         Don't look for files in pwd [ project mode only]
       -norecursive   Don't do a recursive search [ project mode only]
Failed to setup build environment using qmake!

--

Kiswono P.
GB


More information about the webkit-dev mailing list