[Webkit-unassigned] [Bug 106693] New: libxml2 is detected by build-webkit but include path is not passed during compilation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 11 13:18:47 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=106693
Summary: libxml2 is detected by build-webkit but include path
is not passed during compilation
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rich.dubielzig at windriver.com
Created an attachment (id=182402)
--> (https://bugs.webkit.org/attachment.cgi?id=182402&action=review)
output of build-webkit --qt
I am attempting to compile WebKit nightly on CentOS 6.3
[rich at localhost WebKit]$ uname -a
Linux localhost.localdomain 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
I have installed the libxml2 and libxml2-devel packages on my system.
My build process is to add information about my qt-5.0 installation to my PATH and QTDIR environment variables, then navigate to the WebKit root directory and execute
./Tools/Scripts/build-webkit --qt
I can see in the configure tests run by the build process that libxml2 is found:
Running configure tests...
...
Checking for libxml2... yes
...
Yet when compilation runs to the point where Source/WebCore/dom/Document.cpp needs to be compiled, the file libxml/parser.h is not found. This is because the flag -I/usr/include/libxml2 is not being included in the g++ call to compile the file.
I noticed that WebKit source is also included as part of the qt-5.0 source distribution. I recompiled qt-5.0 and noticed that libxml2 flag was properly included with -I in that package.
This error also happens when I leave out the --qt flag and run build-webkit with no arguments or with --only-webkit.
I've attached the output of ./Tools/Scripts/build-webkit --qt >& build_debug
--
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