Re: [webkit-dev] Errors during Windows Cairo compile

2008-03-05 Thread Brent Fulgham
Richard,

The current error message looks like the generated files are not being
built.  This might be due to missing Cygwin tools.

If you had Cygwin installed before trying to build WebKit, you might have
been tempted to avoid using the Apple Installer (I know I was!).  The
problem is that there are certain tools required that you might not have
installed.

For me, the problem was that I had not installed gperf (the perfect hash
generator), so some of the auto-generated files were not being created.

An annoying problem is that sometimes a build-webkit --clean does not get
rid of everything necessary.  In those cases you will be forced to delete
the WebKitBuild directory.

In your case, the complaints about WebCore/COMPtr.h missing are confusing
because you can probably see it in platform/win/COMPtr.h.  So what gives?

The build is actually looking in WebKitBuild/include/WebCore for COMPtr.h,
so the fact that it is missing indicates that the post-build step that
copies things from WebCore/platform/* to WebKitBuild/include failed.

Scour the build logs and you will find enlightenment!

-Brent

On Wed, Mar 5, 2008 at 11:16 AM, Bailey, Richard [EMAIL PROTECTED]
wrote:

  Yes, my code was out of sync.  I've done update-webkit and rebuilt.



 I now get the following errors suggesting that WebCore did not build?  I
 see no BuildLog.htm for   WebCore.

 JavaScriptCore BuildLog.htm looks fine.



 Also, is there a way to build everything cleanly?  I tried –clean flag
 without success. (it seemed like a noop)



 Thanks for all the help,

 Richard





 Performing Pre-Build Event...

 Compiling...

 DebuggerClient.cpp

 c:\cygwin\webkit\webkit\webkittools\drosera\win\DebuggerClient.h(35) :
 fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such
 file or directory

 DebuggerDocument.cpp

 c:\cygwin\WebKit\WebKit\WebKitTools\Drosera\win\ServerConnection.h(34) :
 fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such
 file or directory

 DebuggerDocumentPlatform.cpp

 c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) :
 fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such
 file or directory

 Drosera.cpp

 c:\cygwin\webkit\webkit\webkittools\drosera\win\Drosera.h(34) : fatal
 error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or
 directory

 ServerConnection.cpp

 c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) :
 fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such
 file or directory

 Generating Code...

 Project : warning PRJ0018 : The following environment variables were not
 found:

 $(PRODUCTION)





 *From:* Brent Fulgham [mailto:[EMAIL PROTECTED]
 *Sent:* Tuesday, March 04, 2008 8:27 PM
 *To:* Bailey, Richard
 *Cc:* webkit-dev@lists.webkit.org; Daniel Zucker

 *Subject:* Re: [webkit-dev] Errors during Windows Cairo compile



 Richard,



 Problem #1:  It looks like your source is out of date.
  platform/win/PlatformScrollBarWin.cpp has been in the SVN archive for a few
 days now.

 Problem #2:  There's something weird about the 'jmorecfg.h' file.  It's
 trying to define some basic Windows types needed for compiling.  It's acting
 like it doesn't recognize your development environment as Windows.



 -Brent







 On Mar 4, 2008, at 5:15 PM, Bailey, Richard wrote:



   I deleted WebKit/Output and WebKit/WebKitBuild and reran build-webkit



 I then search for all the build.htm and sorted in time and backtracked to
 earliest one showing errors.



 Attached is BuildLog from WebCore

 And below are the errors.





 PlatformScrollBarWin.cpp

 c1xx : fatal error C1083: Cannot open source file:
 '..\platform\win\PlatformScrollBarWin.cpp': No such file or directory



 JPEGImageDecoder.cpp

 c:\graphics_formats\jpeg-6b\jmorecfg.h(161) : error C2371: 'INT32' : 
 redefinition; different basic types

 C:\Program Files\Microsoft Platform SDK for Windows Server 2003 
 R2\Include\basetsd.h(62) : see declaration of 'INT32'

 c:\graphics_formats\jpeg-6b\jmorecfg.h(215) : warning C4005: 'FAR' : macro 
 redefinition

 C:\Program Files\Microsoft Platform SDK for Windows Server 2003 
 R2\Include\windef.h(145) : see previous definition of 'FAR'

 c:\graphics_formats\jpeg-6b\jmorecfg.h(227) : error C2371: 'boolean' : 
 redefinition; different basic types

 c:\program files\microsoft platform sdk for windows server 2003 
 r2\include\rpcndr.h(147) : see declaration of 'boolean'

 ..\platform\image-decoders\jpeg\JPEGImageDecoder.cpp(166) : warning C4611: 
 interaction between '_setjmp' and C++ object destruction is non-portable

 PNGImageDecoder.cpp

 ..\platform\image-decoders\png\PNGImageDecoder.cpp(100) : warning C4611: 
 interaction between '_setjmp' and C++ object destruction is non-portable







 *From:* [EMAIL PROTECTED] [
 mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
 ] *On Behalf Of *Bailey, Richard
 *Sent:* Tuesday, March 04, 2008 4:10 PM
 *To:* Brent 

Re: [webkit-dev] Errors during Windows Cairo compile

2008-03-05 Thread Bailey, Richard
Thanks Brent,

I originally followed the install steps on the building/tools.htm page.  By 
Apple Installer are you referring to the cygwin-downloader.zip from webkit.org? 
 I did use that.  Also I verified I have gperf accessible from my cygwin window.

I am missing the WebKitBuild directory.

Also, I may be having a svn problem as I keep finding vcproj files that look 
like they have merge conflicts.

For instance WebCore.vcproj has this line:
File
 .mine

RelativePath=$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\kjs_css.lut.h

Is this a conflict caused on my side or is it coming in from elsewhere?

Richard

From: Brent Fulgham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 12:01 PM
To: Bailey, Richard
Cc: webkit-dev@lists.webkit.org; Daniel Zucker
Subject: Re: [webkit-dev] Errors during Windows Cairo compile

Richard,

The current error message looks like the generated files are not being built.  
This might be due to missing Cygwin tools.

If you had Cygwin installed before trying to build WebKit, you might have been 
tempted to avoid using the Apple Installer (I know I was!).  The problem is 
that there are certain tools required that you might not have installed.

For me, the problem was that I had not installed gperf (the perfect hash 
generator), so some of the auto-generated files were not being created.

An annoying problem is that sometimes a build-webkit --clean does not get rid 
of everything necessary.  In those cases you will be forced to delete the 
WebKitBuild directory.

In your case, the complaints about WebCore/COMPtr.h missing are confusing 
because you can probably see it in platform/win/COMPtr.h.  So what gives?

The build is actually looking in WebKitBuild/include/WebCore for COMPtr.h, so 
the fact that it is missing indicates that the post-build step that copies 
things from WebCore/platform/* to WebKitBuild/include failed.

Scour the build logs and you will find enlightenment!

-Brent
On Wed, Mar 5, 2008 at 11:16 AM, Bailey, Richard [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:

Yes, my code was out of sync.  I've done update-webkit and rebuilt.



I now get the following errors suggesting that WebCore did not build?  I see no 
BuildLog.htm for   WebCore.

JavaScriptCore BuildLog.htm looks fine.



Also, is there a way to build everything cleanly?  I tried -clean flag without 
success. (it seemed like a noop)



Thanks for all the help,

Richard





Performing Pre-Build Event...

Compiling...

DebuggerClient.cpp

c:\cygwin\webkit\webkit\webkittools\drosera\win\DebuggerClient.h(35) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory

DebuggerDocument.cpp

c:\cygwin\WebKit\WebKit\WebKitTools\Drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory

DebuggerDocumentPlatform.cpp

c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory

Drosera.cpp

c:\cygwin\webkit\webkit\webkittools\drosera\win\Drosera.h(34) : fatal error 
C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory

ServerConnection.cpp

c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal 
error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or 
directory

Generating Code...

Project : warning PRJ0018 : The following environment variables were not found:

$(PRODUCTION)





From: Brent Fulgham [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 04, 2008 8:27 PM
To: Bailey, Richard
Cc: webkit-dev@lists.webkit.orgmailto:webkit-dev@lists.webkit.org; Daniel 
Zucker

Subject: Re: [webkit-dev] Errors during Windows Cairo compile



Richard,



Problem #1:  It looks like your source is out of date.  
platform/win/PlatformScrollBarWin.cpp has been in the SVN archive for a few 
days now.

Problem #2:  There's something weird about the 'jmorecfg.h' file.  It's trying 
to define some basic Windows types needed for compiling.  It's acting like it 
doesn't recognize your development environment as Windows.



-Brent







On Mar 4, 2008, at 5:15 PM, Bailey, Richard wrote:



I deleted WebKit/Output and WebKit/WebKitBuild and reran build-webkit



I then search for all the build.htm and sorted in time and backtracked to 
earliest one showing errors.



Attached is BuildLog from WebCore

And below are the errors.





PlatformScrollBarWin.cpp

c1xx : fatal error C1083: Cannot open source file: 
'..\platform\win\PlatformScrollBarWin.cpp': No such file or directory



JPEGImageDecoder.cpp

c:\graphics_formats\jpeg-6b\jmorecfg.h(161) : error C2371: 'INT32' : 
redefinition; different basic types

C:\Program Files\Microsoft Platform SDK for Windows Server 2003 
R2\Include\basetsd.h(62) : 

[webkit-dev] Vista Install of development tools

2008-03-05 Thread Richard Bailey
wrt. the page: http://webkit.org/building/tools.html

After several attempts to get cygwin to install correctly in Vista, I found
I needed to launch setup.exe by right-clicking and choosing Run as
Administrator

After this, the install worked fine.

Is this the apropriate way to report this?

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


[webkit-dev] https pages crashes WebKit(GTK+DFB) on ARM

2008-03-05 Thread Srinivas Rao M Hamse
Hi

I am trying to run WebKit-r30790 build on ARM target. I have disabled server
Peer certification by setting the environment variable
WEBKIT_IGNORE_SSL_ERRORS while running.

with this setup, I am able to open simple https sites like

*https://horizon.opensrs.net*

But webkit crashes when i open sites like

* https://opensrs.net
 https://sourceforge.net*
* https://mail.google.com*

It segfaults after dumping the following log on console:

 # pwd
 /sr/docs/webkit/WebKit-r30790.davinci.directfb/debugbuild/Programs/.libs
 #
 # ./GtkLauncher https://sourceforge.net

 ===|  DirectFB 1.1.1  |===
  (c) 2001-2007  The DirectFB Organization (directfb.org)
  (c) 2000-2004  Convergence (integrated media) GmbH


(*) DirectFB/Core: Single Application Core. (2008-02-26 11:33)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 2945)...
init_ir_loop
Inintializing IR
msp430lib_set_params: success
(*) Direct/Thread: Running 'LiRC Input' (INPUT, 2952)...
(*) DirectFB/Input: LIRC Device 0.2 (directfb.org)
(!) Direct/Modules: Could not open module directory
`/home/srinirao/directfb/lib/directfb-1.1-0-pure/gfxdrivers'!
-- No such file or directory
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Surface: Allocated 720x480 16bit RGB16 buffer at offset 0 and
pitch 1440.
(*) FBDev/Mode: (Post)Setting 720x480 RGB16
(*) FBDev/Mode: Switched to 720x480 (720x480) at 16 bit RGB16 (wanted
RGB16).
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: (Post)Setting 720x480 RGB16
gdkdisplay-directfb.c:122: Getting the return value as 0
(*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 2953)...

(GtkLauncher:2921): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
file '/home/srinirao/gtk/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or
director
y

(GtkLauncher:2921): Gdk-DirectFB-WARNING **:
gdk_display_request_selection_notification Unimplemented function


(GtkLauncher:2921): Gdk-DirectFB-WARNING **: gdk_window_set_keep_above() not
implemented.


(GtkLauncher:2921): Gdk-DirectFB-WARNING **: gdk_window_set_keep_below() not
implemented.

(!) [ 2921:0.000] -- Caught signal 11 (at 0x3000, invalid address) --
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241
in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241
in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [setting window-stack = NULL] *** [default.c:2894 in
wm_close_stack()]
 (!!!)  *** WARNING [setting window-stack = NULL] *** [default.c:2894 in
wm_close_stack()]
 (!!!)  *** WARNING [setting window-stack = NULL] *** [default.c:2894 in
wm_close_stack()]
 (!!!)  *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
Aborted
 #

But curl application on board  with -k option(Does the same thing) for these
URLs, fetches these pages properly. I feel the crash is happening at some
other module.

Has any one faced the similar issue with https pages ?. Please help.

regards,
Srinivas Rao. M


-- 
Srinivas Rao M Hamse http://msrinirao.blogspot.com/
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev