I made some changes to some GTK port-related code, specifically RenderThemeGtk.cpp. Simply running make did not cause it to be recompiled. How do I do incremental builds with proper dependency? The clean build takes forever. Josh
On 2008-07-01, at 13:36, Joshua Chia wrote:
I made some changes to some GTK port-related code, specifically RenderThemeGtk.cpp. Simply running make did not cause it to be recompiled. How do I do incremental builds with proper dependency? The clean build takes forever.
I would expect that re-running build-webkit would do an incremental build. - Mark
The GTK page http://trac.webkit.org/wiki/BuildingGtk says to run autogen.sh and make. There's no mention of build-webkit. Also, when I try to run WebKitTools/Scripts/build-webkit, I get: Unsupported platform, can't determine built library locations. at /usr/local/google/WebKit2/WebKitTools/Scripts/webkitdirs.pm line 369. On Tue, Jul 1, 2008 at 2:29 PM, Mark Rowe <mrowe@apple.com> wrote:
On 2008-07-01, at 13:36, Joshua Chia wrote:
I made some changes to some GTK port-related code, specifically
RenderThemeGtk.cpp. Simply running make did not cause it to be recompiled. How do I do incremental builds with proper dependency? The clean build takes forever.
I would expect that re-running build-webkit would do an incremental build.
- Mark
On 2008-07-01, at 14:57, Joshua Chia wrote:
The GTK page http://trac.webkit.org/wiki/BuildingGtk says to run autogen.sh and make. There's no mention of build-webkit. Also, when I try to run WebKitTools/Scripts/build-webkit, I get:
Try "build-webkit --gtk". - Mark
Hi, could someone tell me what's the name of the main XCode project file for WebKit? Thanks, -Conrad
Conrad, You'll notice that the subject line of your message has nothing to do with the question you asked, and that your email is grouped in with the thread that you replied to. When starting a new thread, please don't hit "Reply" on an existing message. Create a new message instead. And to answer your question, there are three main Xcode project files: JavaScriptCore/JavaScriptCore.xcodeproj, WebCore/WebCore.xcodeproj, and WebKit/WebKit.xcodeproj. - Mark On 2008-07-01, at 15:27, Conrad Taylor wrote:
Hi, could someone tell me what's the name of the main XCode project file for WebKit?
Thanks,
-Conrad
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Am Tue, 01 Jul 2008 15:20:31 -0700 schrieb Mark Rowe <mrowe@apple.com>:
On 2008-07-01, at 14:57, Joshua Chia wrote:
The GTK page http://trac.webkit.org/wiki/BuildingGtk says to run autogen.sh and make. There's no mention of build-webkit. Also, when I try to run WebKitTools/Scripts/build-webkit, I get:
Try "build-webkit --gtk".
- Mark
Actually running ./autogen.sh and make in the root folder is the recommended way of building the gtk port of WebKit. Running make repeatedly normally does what you want, it checks for updated files and incrementally rebuilds the files that need to. Joshua, if you are running into problems, please give us more details about the exact folder, command and error messages. ciao, Christian
On 2008-07-01, at 16:49, Christian Dywan wrote:
Am Tue, 01 Jul 2008 15:20:31 -0700 schrieb Mark Rowe <mrowe@apple.com>:
On 2008-07-01, at 14:57, Joshua Chia wrote:
The GTK page http://trac.webkit.org/wiki/BuildingGtk says to run autogen.sh and make. There's no mention of build-webkit. Also, when I try to run WebKitTools/Scripts/build-webkit, I get:
Try "build-webkit --gtk".
- Mark
Actually running ./autogen.sh and make in the root folder is the recommended way of building the gtk port of WebKit.
This is exactly what "build-webkit --gtk" does, only it doesn't clutter the tree with build gunk. What reason is there for the Gtk port to be different in this build step than all of the other ports? - Mark
That didn't work either: Josh *jchia@jchia-g3:/usr/local/WebKit2/WebKitTools/Scripts$* ./build-webkit --gtk rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a directory Calling configure in /usr/local/WebKit2/WebKitBuild/Release checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: error: source directory already configured; run "make distclean" there first Failed to setup build environment using 'autotools'! *jchia@jchia-g3:/usr/local/WebKit2/WebKitTools/Scripts$* pushd ../.. /usr/local/WebKit2 /usr/local/WebKit2/WebKitTools/Scripts *jchia@jchia-g3:/usr/local/WebKit2$* WebKitTools/Scripts/build-webkit --gtk rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a directory Calling configure in /usr/local/WebKit2/WebKitBuild/Release checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: error: source directory already configured; run "make distclean" there first Failed to setup build environment using 'autotools'! On Tue, Jul 1, 2008 at 3:20 PM, Mark Rowe <mrowe@apple.com> wrote:
On 2008-07-01, at 14:57, Joshua Chia wrote:
The GTK page http://trac.webkit.org/wiki/BuildingGtk says to run autogen.sh and make. There's no mention of build-webkit. Also, when I try to run WebKitTools/Scripts/build-webkit, I get:
Try "build-webkit --gtk".
- Mark
Josh, Perhaps you should find out why this command is failing: rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a directory I'd suggest running "rm -rf WebKitBuild", then trying to build again. Dave On Tue, 7/1/08, Joshua Chia <joshchia@gmail.com> wrote:
That didn't work either:
Josh
*jchia@jchia-g3:/usr/local/WebKit2/WebKitTools/Scripts$* ./build-webkit --gtk rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a directory Calling configure in /usr/local/WebKit2/WebKitBuild/Release
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: error: source directory already configured; run "make distclean" there first Failed to setup build environment using 'autotools'! *jchia@jchia-g3:/usr/local/WebKit2/WebKitTools/Scripts$* pushd ../.. /usr/local/WebKit2 /usr/local/WebKit2/WebKitTools/Scripts *jchia@jchia-g3:/usr/local/WebKit2$* WebKitTools/Scripts/build-webkit --gtk rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a directory Calling configure in /usr/local/WebKit2/WebKitBuild/Release
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: error: source directory already configured; run "make distclean" there first Failed to setup build environment using 'autotools'!
On Tue, Jul 1, 2008 at 3:20 PM, Mark Rowe <mrowe@apple.com> wrote:
On 2008-07-01, at 14:57, Joshua Chia wrote:
The GTK page http://trac.webkit.org/wiki/BuildingGtk
says to run
autogen.sh and make. There's no mention of build-webkit. Also, when I try to run WebKitTools/Scripts/build-webkit, I get:
Try "build-webkit --gtk".
- Mark
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
I wasn't expecting to have to run autogen.sh for incremental builds, so I just ran make at first. It works if I run autogen.sh followed by make, so I have a solution. On Tue, Jul 1, 2008 at 7:30 PM, David Kilzer <ddkilzer@webkit.org> wrote:
Josh,
Perhaps you should find out why this command is failing:
rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a directory
I'd suggest running "rm -rf WebKitBuild", then trying to build again.
Dave
On Tue, 7/1/08, Joshua Chia <joshchia@gmail.com> wrote:
That didn't work either:
Josh
*jchia@jchia-g3:/usr/local/WebKit2/WebKitTools/Scripts$* ./build-webkit --gtk rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a directory Calling configure in /usr/local/WebKit2/WebKitBuild/Release
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: error: source directory already configured; run "make distclean" there first Failed to setup build environment using 'autotools'! *jchia@jchia-g3:/usr/local/WebKit2/WebKitTools/Scripts$* pushd ../.. /usr/local/WebKit2 /usr/local/WebKit2/WebKitTools/Scripts *jchia@jchia-g3:/usr/local/WebKit2$* WebKitTools/Scripts/build-webkit --gtk rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a directory Calling configure in /usr/local/WebKit2/WebKitBuild/Release
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: error: source directory already configured; run "make distclean" there first Failed to setup build environment using 'autotools'!
On Tue, Jul 1, 2008 at 3:20 PM, Mark Rowe <mrowe@apple.com> wrote:
On 2008-07-01, at 14:57, Joshua Chia wrote:
The GTK page http://trac.webkit.org/wiki/BuildingGtk
says to run
autogen.sh and make. There's no mention of build-webkit. Also, when I try to run WebKitTools/Scripts/build-webkit, I get:
Try "build-webkit --gtk".
- Mark
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
On Tue, 2008-07-01 at 13:36 -0700, Joshua Chia wrote:
I made some changes to some GTK port-related code, specifically RenderThemeGtk.cpp. Simply running make did not cause it to be recompiled. How do I do incremental builds with proper dependency? The clean build takes forever.
Running 'make' alone should do the job. Notice that you have to run that command in the top-level directory of the project, you cannot run it at WebKit/gtk/ and subdirectories. See you, -- Gustavo Noronha Silva <gns@gnome.org> GNOME contributor: http://www.gnome.org/
participants (6)
-
Christian Dywan
-
Conrad Taylor
-
David Kilzer
-
Gustavo Noronha Silva
-
Joshua Chia
-
Mark Rowe