Compiling webkit

View: New views
8 Messages — Rating Filter:   Alert me  

Compiling webkit

by Alexander Cohen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I've been fiddling with WebKit a bit but for the life of me, i can't  
seem to get it to compile on Mac. I've followed all the instructions  
on webkit.org. Are there any dependencies or tools that might not be  
mentionned on the building webkit pages? I can include the build  
errors but i thought best to just ask first about anything that might  
not be mentionned on the website.

thx

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

Re: Compiling webkit

by Evan Martin-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 12:29 PM, Alexander Cohen <naftaly@...> wrote:
> I've been fiddling with WebKit a bit but for the life of me, i can't seem to
> get it to compile on Mac. I've followed all the instructions on webkit.org.
> Are there any dependencies or tools that might not be mentionned on the
> building webkit pages? I can include the build errors but i thought best to
> just ask first about anything that might not be mentionned on the website.

I built WebKit on a Mac for my first time a couple of weeks ago.  I
followed the instructions and ran into no problems.
_______________________________________________
webkit-dev mailing list
webkit-dev@...
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: Compiling webkit

by Alexander Cohen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 21, 2009, at 3:33 PM, Evan Martin wrote:

> On Wed, Oct 21, 2009 at 12:29 PM, Alexander Cohen <naftaly@...>  
> wrote:
>> I've been fiddling with WebKit a bit but for the life of me, i  
>> can't seem to
>> get it to compile on Mac. I've followed all the instructions on webkit.org
>> .
>> Are there any dependencies or tools that might not be mentionned on  
>> the
>> building webkit pages? I can include the build errors but i thought  
>> best to
>> just ask first about anything that might not be mentionned on the  
>> website.
>
> I built WebKit on a Mac for my first time a couple of weeks ago.  I
> followed the instructions and ran into no problems.

Ok. So here's my process:

1- Download the source snapshot.
2- run update-webkit to update my source tree
3- run build-webkit --debug to build

here's the output:

-- begin output --
devbook-2:~ alex$ build-webkit --debug
Use of uninitialized value $defaults in pattern match (m//) at /Users/
alex/Documents/Dev/Code/webkit/WebKitTools/Scripts/webkitdirs.pm line  
785.
Can't exec "qmake": No such file or directory at /Users/alex/Documents/
Dev/Code/webkit/WebKitTools/Scripts/webkitdirs.pm line 1207.
Use of uninitialized value $mkspec in scalar chomp at /Users/alex/
Documents/Dev/Code/webkit/WebKitTools/Scripts/webkitdirs.pm line 1207.
Calling 'qmake -r OUTPUT_DIR=/Users/alex/Documents/Dev/Code/webkit/
WebKitBuild/Debug /Users/alex/Documents/Dev/Code/webkit/WebKit.pro  
CONFIG-=release CONFIG+=debug' in /Users/alex/Documents/Dev/Code/
webkit/WebKitBuild/Debug

Can't exec "qmake": No such file or directory at /Users/alex/Documents/
Dev/Code/webkit/WebKitTools/Scripts/webkitdirs.pm line 1363.
Failed to setup build environment using qmake!
-- end output --

Any idea what's wrong here?

thx

AC


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

Re: Compiling webkit

by Alexander Cohen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm guessing i need QT installed since that installing it fixed the  
problem. I should have seen that. Is there anyway to build WebKit  
without QT or is it a required tool?

thx

AC

On Oct 21, 2009, at 4:00 PM, Alexander Cohen wrote:

>
> On Oct 21, 2009, at 3:33 PM, Evan Martin wrote:
>
>> On Wed, Oct 21, 2009 at 12:29 PM, Alexander Cohen <naftaly@...>  
>> wrote:
>>> I've been fiddling with WebKit a bit but for the life of me, i  
>>> can't seem to
>>> get it to compile on Mac. I've followed all the instructions on webkit.org
>>> .
>>> Are there any dependencies or tools that might not be mentionned  
>>> on the
>>> building webkit pages? I can include the build errors but i  
>>> thought best to
>>> just ask first about anything that might not be mentionned on the  
>>> website.
>>
>> I built WebKit on a Mac for my first time a couple of weeks ago.  I
>> followed the instructions and ran into no problems.
>
> Ok. So here's my process:
>
> 1- Download the source snapshot.
> 2- run update-webkit to update my source tree
> 3- run build-webkit --debug to build
>
> here's the output:
>
> -- begin output --
> devbook-2:~ alex$ build-webkit --debug
> Use of uninitialized value $defaults in pattern match (m//) at /
> Users/alex/Documents/Dev/Code/webkit/WebKitTools/Scripts/
> webkitdirs.pm line 785.
> Can't exec "qmake": No such file or directory at /Users/alex/
> Documents/Dev/Code/webkit/WebKitTools/Scripts/webkitdirs.pm line 1207.
> Use of uninitialized value $mkspec in scalar chomp at /Users/alex/
> Documents/Dev/Code/webkit/WebKitTools/Scripts/webkitdirs.pm line 1207.
> Calling 'qmake -r OUTPUT_DIR=/Users/alex/Documents/Dev/Code/webkit/
> WebKitBuild/Debug /Users/alex/Documents/Dev/Code/webkit/WebKit.pro  
> CONFIG-=release CONFIG+=debug' in /Users/alex/Documents/Dev/Code/
> webkit/WebKitBuild/Debug
>
> Can't exec "qmake": No such file or directory at /Users/alex/
> Documents/Dev/Code/webkit/WebKitTools/Scripts/webkitdirs.pm line 1363.
> Failed to setup build environment using qmake!
> -- end output --
>
> Any idea what's wrong here?
>
> thx
>
> AC
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@...
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

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

Re: Compiling webkit

by Mark Rowe-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 2009-10-21, at 13:06, Alexander Cohen wrote:

I'm guessing i need QT installed since that installing it fixed the problem. I should have seen that. Is there anyway to build WebKit without QT or is it a required tool?

Unset the QTDIR environment variable if you don't want to build for Qt.

- Mark



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

smime.p7s (4K) Download Attachment

Re: Compiling webkit

by Alexander Cohen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 21, 2009, at 4:23 PM, Mark Rowe wrote:


On 2009-10-21, at 13:06, Alexander Cohen wrote:

I'm guessing i need QT installed since that installing it fixed the problem. I should have seen that. Is there anyway to build WebKit without QT or is it a required tool?

Unset the QTDIR environment variable if you don't want to build for Qt.

Excellent, that worked.

thx

AC
< /html>
_______________________________________________
webkit-dev mailing list
webkit-dev@...
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: Compiling webkit

by Buakaw San :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had the same issue building/running on windows, After I restarted my computer one day, debug-safari and build-webkit stopped working for me. I Couldn't figure out for the life of me what was happening. This tip should be on the build wiki page.

On Wed, Oct 21, 2009 at 4:27 PM, Alexander Cohen <naftaly@...> wrote:

On Oct 21, 2009, at 4:23 PM, Mark Rowe wrote:


On 2009-10-21, at 13:06, Alexander Cohen wrote:

I'm guessing i need QT installed since that installing it fixed the problem. I should have seen that. Is there anyway to build WebKit without QT or is it a required tool?

Unset the QTDIR environment variable if you don't want to build for Qt.

Excellent, that worked.

thx

AC
< /html>
_______________________________________________
webkit-dev mailing list
webkit-dev@...
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



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

Re: Compiling webkit

by Darin Adler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 22, 2009, at 7:01 AM, Buakaw San wrote:

> This tip should be on the build wiki page.

Sounds good. Did you know that because it’s a wiki page, anyone can  
edit it? That includes you. Would you be willing to add it?

     -- Darin


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