[Webkit-unassigned] [Bug 126693] New: [GTK] Fails to build if configure is run with its absolute path
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 9 06:46:42 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=126693
Summary: [GTK] Fails to build if configure is run with its
absolute path
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: berto at igalia.com
There's a couple of links from the build dir to the webkit 2 headers
in the source dir that are created like this:
ln -s -f ${shell pwd}/$(WebKit2)/UIProcess/API/gtk $@
ln -s -f ${shell pwd}/$(WebKit2)/WebProcess/InjectedBundle/API/gtk $@
Problem is, that works if $(WebKit2) is a relative path, e.g if we
create the build dir inside the webkit source tree and run ../configure:
ln -s -f /tmp/webkit/build/../Source/WebKit2/WebProcess/InjectedBundle/API/gtk DerivedSources/WebKit2/webkit2extension/include/webkit2
ln -s -f /tmp/webkit/build/../Source/WebKit2/UIProcess/API/gtk DerivedSources/WebKit2/webkit2gtk/include/webkit2
However if we use an absolute path (/tmp/webkit/configure in this
example) we get a broken link:
ln -s -f /tmp/webkit/build//tmp/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/gtk DerivedSources/WebKit2/webkit2extension/include/webkit2
ln -s -f /tmp/webkit/build//tmp/webkit/Source/WebKit2/UIProcess/API/gtk DerivedSources/WebKit2/webkit2gtk/include/webkit2
A quick fix is to replace the makefile recipe with something like this:
ln -s -f ${shell cd $(WebKit2)/UIProcess/API/gtk && pwd} $@
ln -s -f ${shell cd $(WebKit2)/WebProcess/InjectedBundle/API/gtk && pwd} $@
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list