Changes between Version 2 and Version 3 of BuildingQtOnLinux


Ignore:
Timestamp:
Apr 18, 2007 8:37:41 AM (17 years ago)
Author:
bdash@webkit.org
Comment:

Add info about some common build errors encountered while trouble-shooting a Qt build problem

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQtOnLinux

    v2 v3  
    3535A very simple test browser is built at WebKit/WebKitBuild/Release/WebKitQt/QtLauncher/QtLauncher.
    3636
     37== Common Build Errors ==
     38
     39=== Missing gperf ===
     40{{{
     41../../../WebCore/html/HTMLDocument.cpp: In member function 'virtual void WebCore::HTMLDocument::determineParseMode(const WebCore::String&)':
     42../../../WebCore/html/HTMLDocument.cpp:389: error: expected initializer before '*' token
     43../../../WebCore/html/HTMLDocument.cpp:390: error: 'doctypeEntry' was not declared in this scope
     44../../../WebCore/html/HTMLDocument.cpp:398: error: 'doctypeEntry' was not declared in this scope
     45../../../WebCore/html/HTMLDocument.cpp:401: error: 'PubIDInfo' has not been declared
     46../../../WebCore/html/HTMLDocument.cpp:405: error: 'PubIDInfo' has not been declared
     47}}}
     48
     49This error is typically caused by not having `gperf` installed.  Install `gperf`, run `touch WebCore/html/DocTypeStrings.gperf` and try building WebKit again.
     50
     51
     52=== Missing SQLite development package ===
     53{{{
     54../../../WebCore/loader/icon/SQLDatabase.cpp:30:21: error: sqlite3.h: No such file or directory
     55../../../WebCore/loader/icon/SQLDatabase.cpp:36: error: "SQLITE_ERROR" was not declared in this scope
     56../../../WebCore/loader/icon/SQLDatabase.cpp:37: error: "SQLITE_DONE" was not declared in this scope
     57../../../WebCore/loader/icon/SQLDatabase.cpp:38: error: "SQLITE_OK" was not declared in this scope
     58../../../WebCore/loader/icon/SQLDatabase.cpp:39: error: "SQLITE_ROW" was not declared in this scope
     59}}}
     60
     61This error is typically caused by not having the development component of `libsqlite3` installed.  Install the development package and try building WebKit again.
     62
     63
     64=== Missing flex ===
     65{{{
     66.../WebKitBuild/Release/lib/libWebKitQt.so: undefined reference to `WebCore::CSSParser::lex()'
     67}}}
     68
     69This error is typically caused by not having `flex` installed.  Install `flex`, run `touch WebCore/css/tokenizer.flex` and try building WebKit again.