[webkit-dev] Building on Linux
Krzysztof Kowalczyk
kkowalczyk at gmail.com
Wed Feb 14 17:43:25 PST 2007
That's a great idea. I was planning to go this way as well, just
didn't get far enough in understanding how those scripts work.
-- kjk
On 2/14/07, Kevin Ollivier <kevino at theolliviers.com> wrote:
> Hi Krzysztof,
>
> This is what I'm doing right now with the wx port (I have a ./build-
> wxwebkit script), and it's working pretty well for me. I'm building
> using make/gcc on Unix and Mac, and using MSVS 2005 on Win. The other
> benefit of a script is that you can integrate all the steps (e.g.
> regenerating the makefiles) into the build process so it 'just works'
> without having to remember to take certain steps each time you build
> or change a particular file.
>
> I'd recommend that for now we just add a script such as this in
> WebKitTools/Scripts, like build-gdk-webkit, so that people can use it
> to easily build the port. I was chatting with the WebKit devs on IRC
> and it sounds like we can just update build-webkit to start the build-
> gdk-webkit script for the GDK build; this approach would allow both
> the gdk and wx ports to work with build-webkit fairly simply.
> Actually, unless someone else wants to take care of this, I could go
> ahead and take care of this myself; I'm going to do it for the wx
> build anyway.
>
> Regards,
>
> Kevin
>
> On Feb 11, 2007, at 9:07 PM, Krzysztof Kowalczyk wrote:
>
> > Current svn gdk build works. Here's a script I use to do a full build:
> >
> > kjk at kjkubu:~/src/webkit-tot$ more ./gdk-rebuild.sh
> > #!/bin/sh
> > pushd .
> > cd WebKitTools/Scripts
> > ./regenerate-makefiles
> > cd ../../JavaScriptCore
> > make clean
> > make
> > cd ../WebCore/Projects/gdk
> > make clean
> > make .DerivedSources
> > make
> > cd ../../../WebKitTools/GdkLauncher
> > make clean
> > make
> > popd
> >
> > To run:
> > kjk at kjkubu:~/src/webkit-tot$ cd WebKitTools/GdkLauncher/
> > kjk at kjkubu:~/src/webkit-tot/WebKitTools/GdkLauncher$ source ENV
> > kjk at kjkubu:~/src/webkit-tot/WebKitTools/GdkLauncher$ ./gdklauncher
> >
> > If you get a lots of compile errors, that probably means missing
> > dependencies. Check that you have icu-dev installed.
> >
> > You have to have the latest Ubuntu 6.10 since that's the only one that
> > has the required cairo version.
> >
> > -- kjk
> >
> > On 2/11/07, Rich Curtis <rich.curtis at gmail.com> wrote:
> >> Thanks Mark,
> >>
> >> Alas, I fear I have have tried everything I can think of. I'm
> >> doing this in
> >> a fresh parallels ubuntu.
> >>
> >>
> >> 1. Installed ubuntu.
> >> 2. Installed gcc
> >> 3. Installed svn
> >> 4. Installed the missing python pieces
> >> 5. Installed the bakefile version linked to in the readme.
> >> 6. Followed the instructions in the readme. I am now getting the gnu
> >> makefiles.
> >>
> >> Still no good. Lots of compile errors trying to make webcore/
> >> projects/gdk.
> >>
> >> Am I missing anything? Is there a *current* tutorial on how to
> >> build webkit
> >> on linux?
> >>
> >> Thanks again,
> >>
> >> RC
> >>
> >> On 2/11/07, Mark Rowe <bdash at webkit.org> wrote:
> >> > Rich,
> >> >
> >> > Please take a look at the wiki page with instructions: <http://
> >> > trac.webkit.org/projects/webkit/wiki/BuildingGdk>.
> >> >
> >> > Kind regards,
> >> >
> >> > Mark Rowe
> >> >
> >> >
> >> > On 12/02/2007, at 6:36 AM, Rich Curtis wrote:
> >> >
> >> > > Hi WebKit Devs,
> >> > > Are there any instructions anywhere on how to build WebKit for
> >> Linux?
> >> > >
> >> > > I'm running ubuntu 6.10.1 and got bakefile installed ok, but
> >> when I
> >> > > run make
> >> > > in any of the project dirs it goes looking for xcodebuild
> >> which I'm
> >> > > pretty
> >> > > sure is a Mac OS X utility. Am I missing some crucial step?
> >> > >
> >> > > I would be happy to post instructions on how to build it if I
> >> could
> >> > > just
> >> > > figure it out myself. Any help would be greatly appreciated!
> >> > >
> >> > > Thanks,
> >> > >
> >> > > RC
> >> > > _______________________________________________
> >> > > webkit-dev mailing list
> >> > > webkit-dev at lists.webkit.org
> >> > > http://lists.webkit.org/mailman/listinfo/webkit-dev
> >> >
> >> >
> >>
> >>
> >> _______________________________________________
> >> webkit-dev mailing list
> >> webkit-dev at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo/webkit-dev
> >>
> >>
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
More information about the webkit-dev
mailing list