[Webkit-unassigned] [Bug 18996] New: Build of WebKit Qt fails on Linux due to .pri file problem.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 11 05:21:46 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=18996
Summary: Build of WebKit Qt fails on Linux due to .pri file
problem.
Product: WebKit
Version: 526+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cmsigler at gmail.com
Building WebKit Qt on Linux i386, Gentoo, gentoo-sources-2.6.24-r7, gcc version
4.1.2 (Gentoo 4.1.2 p1.0.2), qt-4.3.3:
Building via command `WebKit/WebKitTools/Scripts/build-webkit --qt' fails to
link libQtWebKit.so.4.3.3 due to multiply defining the array
kjs_pcre_default_tables from source file
WebKit/JavaScriptCore/pcre/chartables.c.
The problem is that WebKit/JavaScriptCore/pcre/pcre_tables.cpp now has as its
last statement '#include "chartables.c",' but
WebKit/JavaScriptCore/pcre/pcre.pri adds this generator at the end:
# GENERATOR: "chartables.c": compile and execute the chartables generator (and
add it to sources)
DFTABLES = $$PWD/dftables
ctgen.input = DFTABLES
ctgen.output = $$GENERATED_SOURCES_DIR/chartables.c
ctgen.commands = perl $$DFTABLES ${QMAKE_FILE_OUT}
ctgen.CONFIG += target_predeps no_link
ctgen.variable_out = GENERATED_SOURCES
ctgen.dependency_type = TYPE_C
ctgen.clean = ${QMAKE_FILE_OUT}
${QMAKE_VAR_GENERATED_SOURCES_DIR}${QMAKE_FILE_BASE}
addExtraCompiler(ctgen)
Patch for WebKit/JavaScriptCore/pcre/pcre.pri:
================================================
--- WebKit/JavaScriptCore/pcre/pcre.pri.orig 2008-04-24 18:00:00.000000000
-0400
+++ WebKit/JavaScriptCore/pcre/pcre.pri 2008-05-10 08:59:39.000000000 -0400
@@ -21,14 +21,3 @@
return(true)
}
}
-
-# GENERATOR: "chartables.c": compile and execute the chartables generator (and
add it to sources)
-DFTABLES = $$PWD/dftables
-ctgen.input = DFTABLES
-ctgen.output = $$GENERATED_SOURCES_DIR/chartables.c
-ctgen.commands = perl $$DFTABLES ${QMAKE_FILE_OUT}
-ctgen.CONFIG += target_predeps no_link
-ctgen.variable_out = GENERATED_SOURCES
-ctgen.dependency_type = TYPE_C
-ctgen.clean = ${QMAKE_FILE_OUT}
${QMAKE_VAR_GENERATED_SOURCES_DIR}${QMAKE_FILE_BASE}
-addExtraCompiler(ctgen)
================================================
HTH.
Clemmitt Sigler
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list