[webkit-dev] Webkit Build Error on Windows (Urgent)

Adam Treat treat at kde.org
Wed Jul 22 06:05:54 PDT 2009


This thread is not appropriate for webkit-dev.  There is a new mailing list - 
webkit-help - which has been setup for threads of this nature.  Please use the 
other mailing list and keep webkit-dev focused on webkit development.

http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Cheers,
Adam

On Wednesday 22 July 2009 07:45:52 am mjbh wrote:
> Hi
>
> Thanx Niilesh.  "Cannot find file: \usr\bin\WebKit\WebKit.pro" Error
> occurred due to qmake not able
> understand the cygwin style path. I have modified webkitdir.pm to generate
> windows style path.
> then I got the below message.
>
> bash-3.2$ WebKitTools/Scripts/build-webkit --cairo-win32 --debug
> unix DIR: '/usr/bin/WebKit'
> WIN DIR: 'D:\cygwin\bin\WebKit'
> Qmakebin Value: 'qmake'
> buildArgs Value: '-r
> OUTPUT_DIR=D:\cygwin\bin\WebKit\WebKitBuild/Debug_Cairo D:\
> cygwin\bin\WebKit\WebKit.pro CONFIG-=release CONFIG+=debug'
> Calling 'qmake -r OUTPUT_DIR=D:\cygwin\bin\WebKit\WebKitBuild/Debug_Cairo
> D:\cyg
> win\bin\WebKit\WebKit.pro CONFIG-=release CONFIG+=debug' in
> D:\cygwin\bin\WebKit
> \WebKitBuild/Debug_Cairo
>
> Reading D:/cygwin/bin/WebKit/WebCore/WebCore.pro
> [D:/cygwin/bin/WebKit/WebKitBui
> ld/Debug_Cairo//WebCore]
> c:\Qt\4.4.3\bin\rcc.exe: File does not exist
> '..\..\..\WebCore\inspector\front-e
> nd\WebKit.qrc'
> c:\Qt\4.4.3\bin\rcc.exe: File does not exist '..\..\..\WebCore\WebCore.qrc'
> c:\Qt\4.4.3\bin\rcc.exe: File does not exist
> '..\..\..\WebCore\inspector\front-e
> nd\WebKit.qrc'
> c:\Qt\4.4.3\bin\rcc.exe: File does not exist '..\..\..\WebCore\WebCore.qrc'
> Reading D:/cygwin/bin/WebKit/JavaScriptCore/jsc.pro
> [D:/cygwin/bin/WebKit/WebKit
> Build/Debug_Cairo//JavaScriptCore]
> Reading D:/cygwin/bin/WebKit/WebKit/qt/QtLauncher/QtLauncher.pro
> [D:/cygwin/bin/
> WebKit/WebKitBuild/Debug_Cairo//WebKit/qt/QtLauncher]
> Reading D:/cygwin/bin/WebKit/WebKit/qt/tests/tests.pro
> [D:/cygwin/bin/WebKit/Web
> KitBuild/Debug_Cairo//WebKit/qt/tests]
>  Reading D:/cygwin/bin/WebKit/WebKit/qt/tests/qwebframe/qwebframe.pro
> [D:/cygwin
> /bin/WebKit/WebKitBuild/Debug_Cairo/WebKit/qt/tests//qwebframe]
>  Reading D:/cygwin/bin/WebKit/WebKit/qt/tests/qwebpage/qwebpage.pro
> [D:/cygwin/b
> in/WebKit/WebKitBuild/Debug_Cairo/WebKit/qt/tests//qwebpage]
>  Reading D:/cygwin/bin/WebKit/WebKit/qt/tests/qwebelement/qwebelement.pro
> [D:/cy
> gwin/bin/WebKit/WebKitBuild/Debug_Cairo/WebKit/qt/tests//qwebelement]
>  Reading
> D:/cygwin/bin/WebKit/WebKit/qt/tests/qwebhistoryinterface/qwebhistoryin
> terface.pro
> [D:/cygwin/bin/WebKit/WebKitBuild/Debug_Cairo/WebKit/qt/tests//qwebh
> istoryinterface]
>  Reading D:/cygwin/bin/WebKit/WebKit/qt/tests/qwebview/qwebview.pro
> [D:/cygwin/b
> in/WebKit/WebKitBuild/Debug_Cairo/WebKit/qt/tests//qwebview]
>  Reading D:/cygwin/bin/WebKit/WebKit/qt/tests/qwebhistory/qwebhistory.pro
> [D:/cy
> gwin/bin/WebKit/WebKitBuild/Debug_Cairo/WebKit/qt/tests//qwebhistory]
>  Reading
> D:/cygwin/bin/WebKit/WebKit/qt/tests/benchmarks/painting/tst_painting.p
> ro
> [D:/cygwin/bin/WebKit/WebKitBuild/Debug_Cairo/WebKit/qt/tests//benchmarks/p
>ai nting]
>  Reading
> D:/cygwin/bin/WebKit/WebKit/qt/tests/benchmarks/loading/tst_loading.pro
>
> [D:/cygwin/bin/WebKit/WebKitBuild/Debug_Cairo/WebKit/qt/tests//benchmarks/l
>oadi ng]
>
> ===========================================================
>  WebKit is now built. To run QtLauncher with this newly-built
>  code, use the "WebKitTools/Scripts/run-launcher" script.
>
>  NOTE: WebKit has been built with SVG support enabled.
>  QtLauncher will have SVG viewing capabilities.
>  Your build supports the following (optional) SVG features:
>   * Basic SVG animation.
>   * SVG as image.
>   * SVG fonts.
>   * SVG foreign object.
>   * SVG <use> support.
> ===========================================================
>
> but I when invoke the run-launcher, I am getting the below error:
>
> bash-3.2$ WebKitTools/Scripts/run-launcher
> Starting webkit launcher, running against the built WebKit in
> D:/cygwin/bin/WebK
> it/WebKitBuild/Release/lib...
> Can't exec "D:/cygwin/bin/WebKit/WebKitBuild/Release/bin/QtLauncher": No
> such fi
> le or directory at WebKitTools/Scripts/run-launcher line 68.
> Died at WebKitTools/Scripts/run-launcher line 68.
> bash-3.2$
>
> If I tried to build through the Qt command prompt using nmake, I am getting
> the below Error:
> ( I am using Qt 4.4.3 )
>
> D:\cygwin\bin\WebKit\WebKitBuild\Debug_Cairo\WebCore>nmake -f
> Makefile.Debug
>
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>         perl D:/cygwin/bin/WebKit/JavaScriptCore/pcre/dftables
> generated\debug\c
> hartables.c --preprocessor="cl /E"
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for
> 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> cl : Command line warning D9002 : ignoring unknown option
> '/tmp/dftables-FjM3m7_
> 1.in'
> cl : Command line error D8003 : missing source filename
> Use of uninitialized value $pcre_internal{"tables_length"} in printf at
> D:/cygwi
> n/bin/WebKit/JavaScriptCore/pcre/dftables line 83.
> Use of uninitialized value $pcre_internal{"lcc_offset"} in numeric ne (!=)
> at D:
> /cygwin/bin/WebKit/JavaScriptCore/pcre/dftables line 90.
> Use of uninitialized value $pcre_internal{"fcc_offset"} in numeric ne (!=)
> at D:
> /cygwin/bin/WebKit/JavaScriptCore/pcre/dftables line 108.
> fcc_offset != 128 at D:/cygwin/bin/WebKit/JavaScriptCore/pcre/dftables line
> 109.
>
> NMAKE : fatal error U1077: 'D:\cygwin\bin\perl.EXE' : return code '0x2'
> Stop.
>
> please advice me to come out from the issue.
> can you give the steps to compile the Webkit source Code.
> Thanx in Advance.
>
> Regards,
> Jaffar.
>
> Nilesh Patil-2 wrote:
> > Hi
> >
> >>From errors you are getting , seems that you cygwin is not
> >
> > installed/configured correctly. You need to have required dependancies
> > in cygwin shell.
> >
> > Thanks & Regards
> > Niilesh
> >
> > On Wed, Jul 22, 2009 at 2:05 PM, mjbh<mails2jaffar at hotmail.com> wrote:
> >> Hi,
> >>  I have tried to build Webkit using cygwin. I have followed the
> >> documentation and post details in the forum.
> >> 1. Installed the cygwin.
> >> 2. Installed QuickTime SDK
> >> 3. Checkout the latest webkit code from trunk (in cgywin)
> >> 4. set the ENV variable WEBKITLIBRARIESDIR & WEBKITOUTPUTDIR
> >> 5. Ran : WebKitTools/Scripts/update-webkit (succeed)
> >> 6. When try execute the WebKitTools/Scripts/update-webkit-support-libs
> >> and
> >> WebKitTools/Scripts/update-webkit-auxiliary-libs, I am getting the
> >> following
> >> Errors.
> >>
> >> bash-3.2$ WebKitTools/Scripts/update-webkit-support-libs
> >> Subroutine main::tmpnam redefined at
> >> /usr/bin/WebKit/WebKitTools/Scripts/webkitd
> >> irs.pm line 33
> >> Subroutine main::tmpfile redefined at
> >> /usr/bin/WebKit/WebKitTools/Scripts/webkit
> >> dirs.pm line 33
> >> Checking mod-date of WebKitSupportLibrary.zip...
> >> checkdir:  cannot create extraction directory: /tmp/webkitlibsJu7vqBh
> >> Couldn't unzip WebKitSupportLibrary.zip. at
> >> WebKitTools/Scripts/update-webkit-su
> >> pport-libs line 79.
> >> bash-3.2$ WebKitTools/Scripts/update-webkit-auxiliary-libs
> >> Subroutine main::tmpnam redefined at
> >> /usr/bin/WebKit/WebKitTools/Scripts/webkitd
> >> irs.pm line 33
> >> Subroutine main::tmpfile redefined at
> >> /usr/bin/WebKit/WebKitTools/Scripts/webkit
> >> dirs.pm line 33
> >> Checking Last-Modified date of WebKitAuxiliaryLibrary.zip...
> >> Downloading WebKitAuxiliaryLibrary.zip...
> >>
> >>  % Total    % Received % Xferd  Average Speed   Time    Time     Time
> >> Current
> >>                                 Dload  Upload   Total   Spent    Left
> >> Speed
> >> 100 1077k  100 1077k    0     0   100k      0  0:00:10  0:00:10 --:--:--
> >> 152k
> >> checkdir:  cannot create extraction directory: /tmp/webkitlibsz0P39i2
> >> Couldn't unzip WebKitAuxiliaryLibrary.zip. at
> >> WebKitTools/Scripts/update-webkit-
> >> auxiliary-libs line 82.
> >> bash-3.2$
> >>
> >> 7. When try execute "WebKit/WebKitTools/Scripts/build-webkit
> >> --cairo-win32
> >> --debug"
> >> I am getting the following different errors for each time.
> >>
> >> bash-3.2$ pwd
> >> /usr/bin/WebKit
> >> bash-3.2$ WebKitTools/Scripts/build-webkit --cairo-win32 --debug
> >> Calling 'qmake -r
> >> OUTPUT_DIR=D:\cygwin\bin\WebKit\WebKitBuild/Debug_Cairo /usr/b
> >> in/WebKit/WebKit.pro CONFIG-=release CONFIG+=debug' in
> >> D:\cygwin\bin\WebKit\WebK
> >> itBuild/Debug_Cairo
> >>
> >> Cannot find file: \usr\bin\WebKit\WebKit.pro.
> >> Failed to setup build environment using qmake!
> >> bash-3.2$ WebKitTools/Scripts/build-webkit --cairo-win32 --debug
> >> ERROR: flex missing but required to build WebKit.
> >> bash-3.2$
> >>
> >> I have followed the instruction from the below links:
> >>
> >> "http://webkit.org/building/tools.html
> >> http://webkit.org/building/checkout.html
> >> http://webkit.org/building/build.html
> >> http://www.nabble.com/My-Windows-build-notes-td19964559.html
> >> http://climbing-the-hill.blogspot.com/2009/05/compiling-webkit-on-window
> >>s.html"
> >>
> >> I have done lot of efforts, but none of them proceeded the successfully.
> >> could anybody please help me to come out from this issue.
> >>
> >> Regards,
> >> Jaffar
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Webkit-Build-Error-on-Windows-%28Urgent%29-tp24602
> >>132p24602132.html Sent from the Webkit mailing list archive at
> >> Nabble.com.
> >>
> >> _______________________________________________
> >> webkit-dev mailing list
> >> webkit-dev at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



More information about the webkit-dev mailing list