Re: [webkit-dev] Problems building JavaScriptCore/WebKit for Windows desktop

2014-04-09 Thread Brent Fulgham
Hi Eric,

I’m sorry you encountered problems building WebKit. I’ve interleaved some 
responses below.

On Apr 1, 2014, at 4:34 AM, Eric Wing  wrote:

> I am trying to build JavaScriptCore for Windows desktop. (Ultimately,
> I just want a x86_64 .lib and .dll I can link against for Win 7 and 8.
> I would be happy not building it and just downloading the pre-build
> binaries somewhere if that's an option.)

You might want to take a look at dim3 . 
Brian Barnes has been generating JSC builds from time-to-time for use in his 
game engine.

> - The cygwin-downloader instructions about installing from the Local
> Directory doesn't seem to work. When it is time to hit 'Next' in the
> select the packages screen, it seems that the packages are not
> detected. This results in nothing getting installed. My attempts to
> force it to detect and install have failed.

As far as I know, this works. Please file a bug at  
with log output if you are seeing problems.

>   - The python version it picks by default is 2.7.x and Webkit
> complains it needs 2.6.x so I have to force a downgrade.

Yes. This is extremely annoying, but Cygwin has not released a 32-bit Python 
that works.

>   - The curl or ssl package has some kind of bug and either requires a
> downgrade of one of the packages or a change to the
> update-webkit-dependency script to use tlsv1 instead of sslv3

This is a known issue with cURL 7.34.0, which I documented separately. This has 
been fixed by the cURL project, but I have not seen a Cygwin update with the 
fixes.

>   - There is a missing instruction that C:\cygwin\bin must be added to
> the Windows %PATH%, otherwise a bunch of "/usr/bin/which bash"
> commands fail (because it can't find bash)

I’m surprised by this. The CMD files that emit this error message should be 
setup to ignore it. If it cannot find bash, it updates the PATH with the Cygwin 
path. So, I suspect that those messages are simply warnings to you, not actual 
errors that block the build. If they are terminating your build, please file a 
bug and attach logging output.

>   - I get a warning about having svn 1.8.8 when 1.7.10 is the supported 
> one

Yes. I discussed this issue separately.

> - The php instructions to install php don't work. I think a link is broken.

Can you file a bug with the error you are seeing?

> - Running update-webkit causes me problems with Git (it just hangs) so
> I went to the SVN source ball.

I think I ran into this error myself several months ago when I accidentally put 
a git checkout somewhere inside my svn repository. If you continue to see a 
problem with this, please file a bug.

> - update-webkit reports after the SVN 1.8.8 warning with 2 instances
> of "Error (2): The system cannot find the file specified." I don't
> know what it's complaining about. It goes on to tell me I don't have
> the Mozilla Math fonts. (I think those links may be stale.) But
> finally it says "Installed tools are correct for the Webkit build”

The ‘cannot find the file specified’ are checks for installed MathML fonts. You 
need these for testing (and to get good MathML rendering in WinLauncher), but 
they are not needed to build. You can ignore these messages.

> Using the latest version (Monday) with Visual Studio 2013, I think
> there are some new bugs in the code base. The build now expects Core
> Foundation to be available on Windows to build WTF. This was not the
> case before and I think this is a new bug. This propagates down to
> SchedulePair.h which doesn't seem to have any non-Core Foundation
> path. (I expect this will be a problem speaking from my Android work.)

Both the Apple Windows and WinCairo ports use (a form of) CoreFoundation. 
WinCairo uses the ‘OpenCFLite” version of CoreFoundation. You need this support 
library to build WebKit and JSC, as documented on our website.

> One of the prior versions was failing on ruby related stuff or could
> not find files. I'm not fuzzy on the details because I've tried way
> too many things.

I’m sorry you encountered problems, but its very difficult to make suggestions 
without some details. Could you please file bugs about what you’ve encountered?

Good luck!

-Brent
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Problems building JavaScriptCore/WebKit for Windows desktop

2014-04-01 Thread Alex Christensen
There is nowhere to download just JavaScriptCore binaries on Windows, but
I'll send you some off-list if you want.  Depending on what you want to do
with it, you'll probably want to build the WinCairo port because of the
license on Apple's CoreFoundation libraries.  You'll need to install
everything on http://www.webkit.org/building/tools.html and build the
Release_WinCairo configuration in WebKit.sln in Visual Studio 2013 to do
this after running the update-webkit-wincairo-libs script.  Feel free to
contact me directly if you have any more questions.

Alex Christensen


On Tue, Apr 1, 2014 at 5:34 AM, Eric Wing  wrote:

> I am trying to build JavaScriptCore for Windows desktop. (Ultimately,
> I just want a x86_64 .lib and .dll I can link against for Win 7 and 8.
> I would be happy not building it and just downloading the pre-build
> binaries somewhere if that's an option.)
>
> I've followed the instructions on the web page about building Webkit
> and even looked to outside documentation, but I'm having tons of
> problems. I've done multiple fresh installs of Windows 7 and 8.1 with
> different versions of Visual Studio in VMs, but I'm not having any
> luck.
>
> Among my various problems:
> - The cygwin-downloader instructions about installing from the Local
> Directory doesn't seem to work. When it is time to hit 'Next' in the
> select the packages screen, it seems that the packages are not
> detected. This results in nothing getting installed. My attempts to
> force it to detect and install have failed.
> - To workaround, I did the install the "default" way through the
> internet. I manually went down the list selecting packages based on
> the ones cygwin-downloader I see saved on my hard disk.
> - The python version it picks by default is 2.7.x and Webkit
> complains it needs 2.6.x so I have to force a downgrade.
> - The curl or ssl package has some kind of bug and either requires
> a
> downgrade of one of the packages or a change to the
> update-webkit-dependency script to use tlsv1 instead of sslv3
> - There is a missing instruction that C:\cygwin\bin must be added
> to
> the Windows %PATH%, otherwise a bunch of "/usr/bin/which bash"
> commands fail (because it can't find bash)
> - I get a warning about having svn 1.8.8 when 1.7.10 is the
> supported one
> - The php instructions to install php don't work. I think a link is broken.
> - Running update-webkit causes me problems with Git (it just hangs) so
> I went to the SVN source ball.
>
> - update-webkit reports after the SVN 1.8.8 warning with 2 instances
> of "Error (2): The system cannot find the file specified." I don't
> know what it's complaining about. It goes on to tell me I don't have
> the Mozilla Math fonts. (I think those links may be stale.) But
> finally it says "Installed tools are correct for the Webkit build"
>
> - I tried building using the build-jsc and build-webkit scripts and
> also by opening the JavaScriptCore.sln directly in Visual Studio.
>
> I grabbed WebKit in 3 different some what random states. One was from
> around July. One was maybe 4 months ago. And one was from Monday.
>
> Each one seemed to have a different problem and also looked for a
> different Visual Studio version. This is what prompted me to install
> all the different Visual Studio versions, with still no luck.
>
> Using the latest version (Monday) with Visual Studio 2013, I think
> there are some new bugs in the code base. The build now expects Core
> Foundation to be available on Windows to build WTF. This was not the
> case before and I think this is a new bug. This propagates down to
> SchedulePair.h which doesn't seem to have any non-Core Foundation
> path. (I expect this will be a problem speaking from my Android work.)
>
> One of the prior versions was failing on ruby related stuff or could
> not find files. I'm not fuzzy on the details because I've tried way
> too many things.
>
> I would appreciate any advice/help in getting this built or just
> getting a set of release binaries I can take and run. I don't need
> bleeding edge stuff. I just want something that works.
>
> Thanks,
> Eric
> --
> Beginning iPhone Games Development
> http://playcontrol.net/iphonegamebook/
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>



-- 



Alex Christensen

FlexSim Software Products, Inc.

*1577 North Technology Way | Building A | Suite 2300 | Orem, Utah 84097*

*Voice: 801-224-6914 | Fax: 801-224-6984*

*Email:* al...@flexsim.com 

*URL:* www.flexsim.com





This message may contain confidential information, and is intended

only for the use of the individual(s) to whom it is addressed.

___
webki

[webkit-dev] Problems building JavaScriptCore/WebKit for Windows desktop

2014-04-01 Thread Eric Wing
I am trying to build JavaScriptCore for Windows desktop. (Ultimately,
I just want a x86_64 .lib and .dll I can link against for Win 7 and 8.
I would be happy not building it and just downloading the pre-build
binaries somewhere if that's an option.)

I've followed the instructions on the web page about building Webkit
and even looked to outside documentation, but I'm having tons of
problems. I've done multiple fresh installs of Windows 7 and 8.1 with
different versions of Visual Studio in VMs, but I'm not having any
luck.

Among my various problems:
- The cygwin-downloader instructions about installing from the Local
Directory doesn't seem to work. When it is time to hit 'Next' in the
select the packages screen, it seems that the packages are not
detected. This results in nothing getting installed. My attempts to
force it to detect and install have failed.
- To workaround, I did the install the "default" way through the
internet. I manually went down the list selecting packages based on
the ones cygwin-downloader I see saved on my hard disk.
- The python version it picks by default is 2.7.x and Webkit
complains it needs 2.6.x so I have to force a downgrade.
- The curl or ssl package has some kind of bug and either requires a
downgrade of one of the packages or a change to the
update-webkit-dependency script to use tlsv1 instead of sslv3
- There is a missing instruction that C:\cygwin\bin must be added to
the Windows %PATH%, otherwise a bunch of "/usr/bin/which bash"
commands fail (because it can't find bash)
- I get a warning about having svn 1.8.8 when 1.7.10 is the supported 
one
- The php instructions to install php don't work. I think a link is broken.
- Running update-webkit causes me problems with Git (it just hangs) so
I went to the SVN source ball.

- update-webkit reports after the SVN 1.8.8 warning with 2 instances
of "Error (2): The system cannot find the file specified." I don't
know what it's complaining about. It goes on to tell me I don't have
the Mozilla Math fonts. (I think those links may be stale.) But
finally it says "Installed tools are correct for the Webkit build"

- I tried building using the build-jsc and build-webkit scripts and
also by opening the JavaScriptCore.sln directly in Visual Studio.

I grabbed WebKit in 3 different some what random states. One was from
around July. One was maybe 4 months ago. And one was from Monday.

Each one seemed to have a different problem and also looked for a
different Visual Studio version. This is what prompted me to install
all the different Visual Studio versions, with still no luck.

Using the latest version (Monday) with Visual Studio 2013, I think
there are some new bugs in the code base. The build now expects Core
Foundation to be available on Windows to build WTF. This was not the
case before and I think this is a new bug. This propagates down to
SchedulePair.h which doesn't seem to have any non-Core Foundation
path. (I expect this will be a problem speaking from my Android work.)

One of the prior versions was failing on ruby related stuff or could
not find files. I'm not fuzzy on the details because I've tried way
too many things.

I would appreciate any advice/help in getting this built or just
getting a set of release binaries I can take and run. I don't need
bleeding edge stuff. I just want something that works.

Thanks,
Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev