| | 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 | |
| | 49 | This 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 | |
| | 61 | This 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 | |
| | 69 | This error is typically caused by not having `flex` installed. Install `flex`, run `touch WebCore/css/tokenizer.flex` and try building WebKit again. |