Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-11 Thread Ariya Hidayat

 At this point, I am at a total loss as I have yet to be able to build
 anything.

Well, you got the error message. At the risk of pointing the obvious, I would 
say just trace the error message to find out where it fails.

   perl
 C:/cygwin/home/Administrator/WebKit/JavaScriptCore/pcre/dftables
 tmp\chartables.c --preprocessor=cl /E
 Error in tempfile() using \tmp\dftables-.in: Parent directory
 (\tmp\) is not a directory at

Something is wrong with your Perl. What if you create the directory C:\tmp 
manually first?

A side note: if you just want to give QtWebKit a try, why don't you use Qt 
4.4? It has WebKit integration already (no need to build it if you use binary 
package). Refer to the following for details:
http://doc.trolltech.com/4.4/qt4-4-intro.html
http://doc.trolltech.com/4.4/qtwebkit.html



Best regards,


-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-11 Thread Frank.Lautenbach
I can assure you I've spent quite a bit of time attempting to debug and
build. Again I'm following the instructions on
http://trac.webkit.org/wiki/BuildingQtOnWindows as instructed by other
responders to my post. 

There is a specific error that occurs prior to the build aborting. The
problem involves rcc.exe.

For example, I get an error like:

c:\Projects\qt-win-opensource-src-4.4.1=bin\rcc.exe: File does not exist
'..\..\..\WebCore\page\inspector\WebKit.qrc'

Note that the file does indeed exist in the correct path. I have search
on the internet for this type of error and have found posts on a couple
forums where people (like me) attempting to build under Windows have
seen this problem. Unfortunately, those posts are never answered.

Again, the reason I am trying to build the source is as part of some
research I am doing to see if WebKit is something we can use in the
development of a thin client for a new product we are developing.

I should also add that the build generates other errors later on in the
file ..\..\..\JavaScriptCore\wft\Assertions.h. It complains of
unexpected characters in certain macros formal parameter list.

I apologize if I appear to be beating a dead horse, but I was hoping if
I could at least build this stuff, I could begin digging into learning
how it works.

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ariya Hidayat
Sent: Thursday, September 11, 2008 3:22 AM
To: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin


 At this point, I am at a total loss as I have yet to be able to build
 anything.

Well, you got the error message. At the risk of pointing the obvious, I
would 
say just trace the error message to find out where it fails.

   perl
 C:/cygwin/home/Administrator/WebKit/JavaScriptCore/pcre/dftables
 tmp\chartables.c --preprocessor=cl /E
 Error in tempfile() using \tmp\dftables-.in: Parent directory
 (\tmp\) is not a directory at

Something is wrong with your Perl. What if you create the directory
C:\tmp 
manually first?

A side note: if you just want to give QtWebKit a try, why don't you use
Qt 
4.4? It has WebKit integration already (no need to build it if you use
binary 
package). Refer to the following for details:
http://doc.trolltech.com/4.4/qt4-4-intro.html
http://doc.trolltech.com/4.4/qtwebkit.html



Best regards,


-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-10 Thread Frank.Lautenbach
Hi Mark,

First of all I tried the Apple build by unsetting the QTDIR environment
variable. It got a little farther but died in various places. However, I
decided to abandon that build and attempt the QT per the instructions at
http://trac.webkit.org/wiki/BuildingQtOnWindows. It also fails, although
differently. The following is the build output. Please not my source
tree in my cygwin directory structure, but I was not building in a
cygwin shell. That's just where the source was from my previous build
attempts using cygwin. Also note the initial The system cannot find the
path specified error is due to a reference to /dev/null in a perl
script within a system call. 

At this point, I am at a total loss as I have yet to be able to build
anything.




The system cannot find the path specified.
Calling 'qmake CONFIG+=qt-port -r
OUTPUT_DIR=C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release
C:/cygwin/home/Administrator/WebKit/WebKit.pro CONFIG+=release
CONFIG-=debug' in
C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release

c:\Projects\qt-win-opensource-src-4.4.1\bin\rcc.exe: File does not exist
'..\..\..\WebCore\page\inspector\WebKit.qrc'
c:\Projects\qt-win-opensource-src-4.4.1\bin\rcc.exe: File does not exist
'..\..\..\WebCore\Resources\WebKitResources.qrc'
c:\Projects\qt-win-opensource-src-4.4.1\bin\rcc.exe: File does not exist
'..\..\..\WebCore\platform\qt\WebCoreResources.qrc'
c:\Projects\qt-win-opensource-src-4.4.1\bin\rcc.exe: File does not exist
'..\..\..\WebCore\page\inspector\WebKit.qrc'
c:\Projects\qt-win-opensource-src-4.4.1\bin\rcc.exe: File does not exist
'..\..\..\WebCore\Resources\WebKitResources.qrc'
c:\Projects\qt-win-opensource-src-4.4.1\bin\rcc.exe: File does not exist
'..\..\..\WebCore\platform\qt\WebCoreResources.qrc'
Reading
C:/cygwin/home/Administrator/WebKit/JavaScriptCore/JavaScriptCore.pro
[C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release//JavaScriptCore
]
Reading C:/cygwin/home/Administrator/WebKit/WebCore/WebCore.pro
[C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release//WebCore]
Reading C:/cygwin/home/Administrator/WebKit/JavaScriptCore/kjs/jsc.pro
[C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release//JavaScriptCore
/kjs]
Reading
C:/cygwin/home/Administrator/WebKit/WebKit/qt/QtLauncher/QtLauncher.pro
[C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release//WebKit/qt/QtLa
uncher]
Reading C:/cygwin/home/Administrator/WebKit/WebKit/qt/tests/tests.pro
[C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release//WebKit/qt/test
s]
 Reading
C:/cygwin/home/Administrator/WebKit/WebKit/qt/tests/qwebframe/qwebframe.
pro
[C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release/WebKit/qt/tests
//qwebframe]
 Reading
C:/cygwin/home/Administrator/WebKit/WebKit/qt/tests/qwebpage/qwebpage.pr
o
[C:/cygwin/home/Administrator/WebKit/WebKitBuild/Release/WebKit/qt/tests
//qwebpage]

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

cd JavaScriptCore\  C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\Bin\nmake.exe -f Makefile

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\Bin\nmake.exe -f Makefile.Release

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

perl
C:/cygwin/home/Administrator/WebKit/JavaScriptCore/pcre/dftables
tmp\chartables.c --preprocessor=cl /E
Error in tempfile() using \tmp\dftables-.in: Parent directory
(\tmp\) is not a directory at
C:/cygwin/home/Administrator/WebKit/JavaScriptCore/pcre/dftables line
245
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\Bin\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

-Original Message-
From: Mark Rowe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2008 4:01 PM
To: Lautenbach Frank SOFTECHNICS
Cc: [EMAIL PROTECTED]; webkit-dev@lists.webkit.org Development
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin


On Sep 9, 2008, at 12:59 PM, [EMAIL PROTECTED] wrote:

 Ok ... but the Windows build requires me to be in cygwin for other
 reasons. I guess I'm basically trying to confirm that as it stands
 today, you cannot build Qt Windows port as specified on webkit.org due
 to cygwin not supporting the required version of qt.

If you want to build the Qt port on Windows, you should follow the  
instructions at http://trac.webkit.org/wiki/BuildingQtOnWindows.  As  
I mentioned previously, the instructions at
http://webkit.org/building/build.html 
  are related to building Apple's Windows port rather than the Qt port.

Kind regards,

Mark Rowe

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http

Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Frank.Lautenbach
Hi Mark,

I'm following the instructions given on the WebKit website to checkout
and build the source:

http://webkit.org/building/checkout.html

http://webkit.org/building/build.html

Note that I am primarily Windows developer (with some Unix/Linux
experience) making a leap to the world of Web/Open Source here, so I'm
not that familiar with Qt, qmake, etc. I was given the task of
researching WebKit and decided to, minimally get the source, build it
and see what I come up with. The WebKit.org site is very inadequate in
regards to a good overview of WebKit, in my humble opinion, so I feel a
bit lost and frustrated at this time.

Frank

-Original Message-
From: Mark Rowe [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 08, 2008 10:08 PM
To: Lautenbach Frank SOFTECHNICS
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin


On Sep 8, 2008, at 12:50 PM, [EMAIL PROTECTED] wrote:

 Hi Everyone,

 I'm new to WebKit, having been given the project of investigating  
 it's use in an upcoming project. I'm having problems getting the  
 source and building it. I'm attempting to build on a Windows  
 platform. I have all the tools specified on webkit.org. I was  
 finally able to checkout all the source, but the site says an update  
 should be done. When I perform the update-webkit command, it fails.  
 There's a long error message like Can't locate HTTP/Date.pm in INC  
 (INC contains: ..) And then I get Died at WebKit/WebKitTools/ 
 Scripts/update-webkit line 71.
 Note, the reason I did the update was because I tried to do the  
 build-webkit after I got the source but it fails. Basically, qmake  
 is not found in the /usr/bin cygnwin path, but in /usr/lib/qt3/bin.  
 After fixing the path, qmake still dies because it gets passed a - 
 r option which it complains as being an invalid option. I then  
 thought maybe the update would help.

 Does anyone have any thoughts?

Which port of WebKit are you trying to build?  The fact that you're  
seeing errors related to qmake suggest that you're trying to build the  
Qt port.  Is that the case?

- Mark

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Frank.Lautenbach
Mark,

I should add that the ultimate goal of my research is to try to
determine if we can use WebKit to build a client running on a Windows CE
device. I was told WebKit would provide a framework or skeleton for a
browser that we could customize to access peripherals on handheld
devices like barcode scanners, portable printers, magstripe readers. We
are currently trying to determine whether to go thin client or thick
client. There are commercial browsers available but they involve
licensing. The thought was that the open source WebKit would allow us to
write our own thin client.

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2008 9:00 AM
To: [EMAIL PROTECTED]
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin

Hi Mark,

I'm following the instructions given on the WebKit website to checkout
and build the source:

http://webkit.org/building/checkout.html

http://webkit.org/building/build.html

Note that I am primarily Windows developer (with some Unix/Linux
experience) making a leap to the world of Web/Open Source here, so I'm
not that familiar with Qt, qmake, etc. I was given the task of
researching WebKit and decided to, minimally get the source, build it
and see what I come up with. The WebKit.org site is very inadequate in
regards to a good overview of WebKit, in my humble opinion, so I feel a
bit lost and frustrated at this time.

Frank

-Original Message-
From: Mark Rowe [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 08, 2008 10:08 PM
To: Lautenbach Frank SOFTECHNICS
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin


On Sep 8, 2008, at 12:50 PM, [EMAIL PROTECTED] wrote:

 Hi Everyone,

 I'm new to WebKit, having been given the project of investigating  
 it's use in an upcoming project. I'm having problems getting the  
 source and building it. I'm attempting to build on a Windows  
 platform. I have all the tools specified on webkit.org. I was  
 finally able to checkout all the source, but the site says an update  
 should be done. When I perform the update-webkit command, it fails.  
 There's a long error message like Can't locate HTTP/Date.pm in INC  
 (INC contains: ..) And then I get Died at WebKit/WebKitTools/ 
 Scripts/update-webkit line 71.
 Note, the reason I did the update was because I tried to do the  
 build-webkit after I got the source but it fails. Basically, qmake  
 is not found in the /usr/bin cygnwin path, but in /usr/lib/qt3/bin.  
 After fixing the path, qmake still dies because it gets passed a - 
 r option which it complains as being an invalid option. I then  
 thought maybe the update would help.

 Does anyone have any thoughts?

Which port of WebKit are you trying to build?  The fact that you're  
seeing errors related to qmake suggest that you're trying to build the  
Qt port.  Is that the case?

- Mark

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Frank.Lautenbach
Aryia,

Thanks for the response. Something is still confusting to me. When I
follow the instructions to get and build WebKit from the main WebKit.org
page, what exactly am I building?

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ariya Hidayat
Sent: Tuesday, September 09, 2008 11:35 AM
To: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin


 I should add that the ultimate goal of my research is to try to
 determine if we can use WebKit to build a client running on a Windows
CE
 device. 

This one might be interesting for you:
http://labs.trolltech.com/blogs/2008/08/27/webkit-on-windows-ce/

 Note that I am primarily Windows developer (with some Unix/Linux
 experience) making a leap to the world of Web/Open Source here, so I'm
 not that familiar with Qt, qmake, etc. I was given the task of
 researching WebKit and decided to, minimally get the source, build it
 and see what I come up with. The WebKit.org site is very inadequate in
 regards to a good overview of WebKit, in my humble opinion, so I feel
a
 bit lost and frustrated at this time.

WebKit is a large (high-profile) project. Even for experienced
developers, it 
might take a while until you manage to understand it. This means, you
must be 
ready to invest some serious time and effort.

Anyway, from the previous error message that you posted, seems you want
to 
build QtWebKit on Cygwin and Qt3. There is no way this is going to be a 
success. Try to find out more about QtWebKit and you will find the
answers.

BTW, hundreds have successfully built QtWebKit on Linux and Windows by 
following these instructions:
http://trac.webkit.org/wiki/BuildingQtOnLinux
http://trac.webkit.org/wiki/BuildingQtOnWindows



-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Darin Adler
On Sep 9, 2008, at 8:44 AM, [EMAIL PROTECTED] wrote:

 Thanks for the response. Something is still confusting to me. When I  
 follow the instructions to get and build WebKit from the main  
 WebKit.org page, what exactly am I building?

WebKit that works with Safari. On Windows, a WebKit that works with  
Safari for Windows.

Other ports include the Qt port and the GTK port.

  -- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Frank.Lautenbach
Apparently that's not what I want then. It is still curious that I can't
seem to build it under cygwin (as per the instructions.) Perhaps this is
due to the fact that after I got the source, the update command doesn't
succeed. It always fails at some point, so maybe the tree is not being
updated completely for a proper build. 

I did download the nightly build the other day and noticed that after
all was said and done, running it simply called Safari.exe (which I had
to install) and passed it a command line parameter pointing to the
downloaded webkit. I take it this is calling Safari and over-riding the
default engine Safari.exe was built with using the one referenced on the
command line. In other words, this allows for customization of
Safari.exe?

Thank you all for you patience with my newbie questions.


-Original Message-
From: Darin Adler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2008 12:05 PM
To: Lautenbach Frank SOFTECHNICS
Cc: [EMAIL PROTECTED]; webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin

On Sep 9, 2008, at 8:44 AM, [EMAIL PROTECTED] wrote:

 Thanks for the response. Something is still confusting to me. When I  
 follow the instructions to get and build WebKit from the main  
 WebKit.org page, what exactly am I building?

WebKit that works with Safari. On Windows, a WebKit that works with  
Safari for Windows.

Other ports include the Qt port and the GTK port.

  -- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Mark Rowe

On Sep 9, 2008, at 11:02 AM, [EMAIL PROTECTED] wrote:

 Apparently that's not what I want then. It is still curious that I  
 can't
 seem to build it under cygwin (as per the instructions.) Perhaps  
 this is
 due to the fact that after I got the source, the update command  
 doesn't
 succeed. It always fails at some point, so maybe the tree is not being
 updated completely for a proper build.

The error mentioned in your initial email indicates that the build- 
webkit script had detected that you were attempting to build the Qt  
Windows port rather than the Apple Windows port.  It failed to build  
the Qt Windows port due to having an older version of Qt installed  
than what WebKit requires to build.  You can force it to build the  
Apple Windows port, which the instructions on webkit.org are aiming to  
build, by unsetting the QTDIR environment variable before running  
build-webkit.

 I did download the nightly build the other day and noticed that after
 all was said and done, running it simply called Safari.exe (which I  
 had
 to install) and passed it a command line parameter pointing to the
 downloaded webkit. I take it this is calling Safari and over-riding  
 the
 default engine Safari.exe was built with using the one referenced on  
 the
 command line. In other words, this allows for customization of
 Safari.exe?

Safari is set up to allow an updated version of WebKit to be used with  
it, yes.  This is for the purpose of testing new WebKit versions and  
is not a supported mechanism for extending Safari.exe.


Kind regards,

Mark Rowe

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Justin Haygood
If you are building for Qt 4, do not use cygwin. Use the Windows native
qmake to build.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2008 3:18 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin

Mark,

That's interesting because on a Windows machine you have to use cygwin,
but cygwin supports qt3 only. I take it from your remark that qt4 is
required. Therefore, it is not possible build for Windows. (By the way,
I don't know how the QTDIR environment variable got set. The cygwin
installation did not set it because I have another machine with cygwin
that doesn't have that environment variable.)

So, you're saying I can force an Apple build, but that does me no good
because I have a Windows machine.

Frank

-Original Message-
From: Mark Rowe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2008 2:43 PM
To: Lautenbach Frank SOFTECHNICS
Cc: [EMAIL PROTECTED]; webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin


On Sep 9, 2008, at 11:02 AM, [EMAIL PROTECTED] wrote:

 Apparently that's not what I want then. It is still curious that I  
 can't
 seem to build it under cygwin (as per the instructions.) Perhaps  
 this is
 due to the fact that after I got the source, the update command  
 doesn't
 succeed. It always fails at some point, so maybe the tree is not being
 updated completely for a proper build.

The error mentioned in your initial email indicates that the build- 
webkit script had detected that you were attempting to build the Qt  
Windows port rather than the Apple Windows port.  It failed to build  
the Qt Windows port due to having an older version of Qt installed  
than what WebKit requires to build.  You can force it to build the  
Apple Windows port, which the instructions on webkit.org are aiming to  
build, by unsetting the QTDIR environment variable before running  
build-webkit.

 I did download the nightly build the other day and noticed that after
 all was said and done, running it simply called Safari.exe (which I  
 had
 to install) and passed it a command line parameter pointing to the
 downloaded webkit. I take it this is calling Safari and over-riding  
 the
 default engine Safari.exe was built with using the one referenced on  
 the
 command line. In other words, this allows for customization of
 Safari.exe?

Safari is set up to allow an updated version of WebKit to be used with  
it, yes.  This is for the purpose of testing new WebKit versions and  
is not a supported mechanism for extending Safari.exe.


Kind regards,

Mark Rowe

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Mark Rowe

On Sep 9, 2008, at 12:17 PM, [EMAIL PROTECTED] wrote:

 So, you're saying I can force an Apple build, but that does me no good
 because I have a Windows machine.

Apple's Windows port runs on Windows, so you're in a good position to  
build it.

- Mark

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-09 Thread Justin Haygood
The Qt4/Windows build does not require Cygwin normally. I don't even have
Cygwin, and I can build the Qt4 WebKit just fine.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2008 3:59 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; webkit-dev@lists.webkit.org
Subject: RE: [webkit-dev] WebKit and Windows/Cygwin

Ok ... but the Windows build requires me to be in cygwin for other
reasons. I guess I'm basically trying to confirm that as it stands
today, you cannot build Qt Windows port as specified on webkit.org due
to cygwin not supporting the required version of qt.


-Original Message-
From: Justin Haygood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2008 3:26 PM
To: Lautenbach Frank SOFTECHNICS; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; webkit-dev@lists.webkit.org
Subject: RE: [webkit-dev] WebKit and Windows/Cygwin

If you are building for Qt 4, do not use cygwin. Use the Windows native
qmake to build.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2008 3:18 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin

Mark,

That's interesting because on a Windows machine you have to use cygwin,
but cygwin supports qt3 only. I take it from your remark that qt4 is
required. Therefore, it is not possible build for Windows. (By the way,
I don't know how the QTDIR environment variable got set. The cygwin
installation did not set it because I have another machine with cygwin
that doesn't have that environment variable.)

So, you're saying I can force an Apple build, but that does me no good
because I have a Windows machine.

Frank

-Original Message-
From: Mark Rowe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2008 2:43 PM
To: Lautenbach Frank SOFTECHNICS
Cc: [EMAIL PROTECTED]; webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WebKit and Windows/Cygwin


On Sep 9, 2008, at 11:02 AM, [EMAIL PROTECTED] wrote:

 Apparently that's not what I want then. It is still curious that I  
 can't
 seem to build it under cygwin (as per the instructions.) Perhaps  
 this is
 due to the fact that after I got the source, the update command  
 doesn't
 succeed. It always fails at some point, so maybe the tree is not being
 updated completely for a proper build.

The error mentioned in your initial email indicates that the build- 
webkit script had detected that you were attempting to build the Qt  
Windows port rather than the Apple Windows port.  It failed to build  
the Qt Windows port due to having an older version of Qt installed  
than what WebKit requires to build.  You can force it to build the  
Apple Windows port, which the instructions on webkit.org are aiming to  
build, by unsetting the QTDIR environment variable before running  
build-webkit.

 I did download the nightly build the other day and noticed that after
 all was said and done, running it simply called Safari.exe (which I  
 had
 to install) and passed it a command line parameter pointing to the
 downloaded webkit. I take it this is calling Safari and over-riding  
 the
 default engine Safari.exe was built with using the one referenced on  
 the
 command line. In other words, this allows for customization of
 Safari.exe?

Safari is set up to allow an updated version of WebKit to be used with  
it, yes.  This is for the purpose of testing new WebKit versions and  
is not a supported mechanism for extending Safari.exe.


Kind regards,

Mark Rowe

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev