11 Wt Installation instructions on Unix-like systems
22
3- This page lists the instructions for building and installing Wt 3.0.0.
4- It is organized in 3 sections:
5- * Requirements
6- * Building and installing the library
7- * Trying the examples (or your own Wt application)
3+ This page lists the instructions for building and installing Wt. It is
4+ organized in 3 sections:
5+ * [1] Requirements
6+ * [2] Building and installing the library
7+ * [3] Trying the examples (or your own Wt application)
88
99Requirements
1010
@@ -34,21 +34,35 @@ Requirements
3434
3535 * Compiler: gcc-3.3.4 or higher, or gcc-4.1.x or higher, or other
3636 Ansi C++ compiler that can deal with boost-like C++ code.
37- * [1 ]CMake cross-platform build system:
37+ * [4 ]CMake cross-platform build system:
3838 Preferably CMake 2.6, which comes with a usable script for finding
3939 boost libraries, but CMake 2.4 is still supported using Wt's own
4040 boost find script.
41- * [2 ]C++ boost library (version 1.36 or higher), preferably with
42- thread support enabled . You can verify you have a thread-enabled
41+ * [5 ]C++ boost library (preferably version 1.41 or higher), with or
42+ without thread support. You can verify you have a thread-enabled
4343 boost installation by locating the libboost_thread library. Thread
4444 support is not essential: Wt functionality is not affected except
4545 for exotic things like server push and reentrant event loops. Most
4646 importantly, even without thread support Wt can handle multiple
4747 concurrent sessions.
48- * Optionally, [3]Haru Free PDF Library, which is used to provide
48+ Older versions of boost, up until 1.36 are also supported, but some
49+ features will be disabled that depend on the revised versions of
50+ spirit, namely JSON parsing and improved SQL parsing (for Wt::Dbo).
51+ * Optionally, [6]OpenSSL, which is used to support the HTTPS protocol
52+ in the web client, the HTTPS protocol in the built-in wthttpd
53+ connector, additional cryptographic hash functions in the Auth
54+ library, and WebSockets (which requires a SHA-1 hash
55+ implementation).
56+ * Optionally, [7]Haru Free PDF Library, which is used to provide
4957 support for painting to PDF (WPdfImage).
50- * Optionally, [4 ]GraphicsMagick, for supporting painting to raster
58+ * Optionally, [8 ]GraphicsMagick, for supporting painting to raster
5159 images (PNG, GIF, ...) (WRasterImage).
60+ * Optionally, [9]PostgreSQL, for the PostgreSQL backend for Wt::Dbo
61+ (Dbo::backend::Postgres).
62+ * Optionally, [10]Firebird, for the Firebird backend for Wt::Dbo
63+ (Dbo::backend::Firebird).
64+ * Optionally, [11]Pango, for improved font support in the WPdfImage
65+ and WRasterImage paint devices.
5266
5367 1a Using FastCGI
5468
@@ -57,20 +71,21 @@ Requirements
5771
5872 Given that Apache is still the most popular webserver, below are the
5973 requirements for apache, for other web servers the list is similar:
60- * FCGI library, including C++ bindings (libfcgi++)
61- * Fastcgi or mod_fcgi plugin for Apache .
74+ * [12] FCGI library, including C++ bindings (libfcgi++)
75+ * A suitable plugin for your web server .
6276
6377 1b Using wthttpd
6478
6579 When using the built-in webserver, two more libraries may be installed
6680 to enable optional features (you can also build without them), but
6781 otherwise no extra dependencies are required.
68- * Optionally, libz, for compression over HTTP.
69- * Optionally, openssl, for supporting HTTPS.
82+ * Optionally, zlib (libz), for compression over HTTP.
83+ * Optionally, OpenSSL (libopenssl), for HTTPS and WebSockets (which
84+ requires a SHA-1 hash implementation).
7085
7186 2 Additional and optional requirements for some of the examples
7287
73- * libmysql++-2.x (hangman)
88+ * Qt, for the libwtwithqt interopability layer
7489 __________________________________________________________________
7590
7691Building and installing the Wt library
@@ -170,14 +185,6 @@ Building and installing the Wt library
170185 Location of the wthttpd configuration file (default is
171186 /etc/wt/wthttpd)
172187
173- HTTP_WITH_SSL
174- Compile with support for SSL, for secure HTTP (HTTPS). This
175- requires an OpenSSL library.
176-
177- HTTP_WITH_ZLIB
178- Compile with support for compression over HTTP. This requires
179- the libz library.
180-
181188 To change any entry, use [Enter]. To save and quit, do [c] followed by
182189 [g].
183190
@@ -210,10 +217,10 @@ Trying the examples (or your own Wt application)
210217 the build option EXAMPLES_CONNECTOR (see supra).
211218
212219 Some examples need third-party JavaScript libraries (ExtJS or TinyMCE).
213- * Download ExtJS from [5 ]http://yogurtearl.com/ext-2.0.2.zip, and
220+ * Download ExtJS from [13 ]http://yogurtearl.com/ext-2.0.2.zip, and
214221 install it according to these instructions:
215- [6 ]http://www.webtoolkit.eu/wt/doc/reference/html/group__ext.html
216- * Download TinyMCE from [7 ]http://tinymce.moxiecode.com/ and install
222+ [14 ]http://www.webtoolkit.eu/wt/doc/reference/html/group__ext.html
223+ * Download TinyMCE from [15 ]http://tinymce.moxiecode.com/ and install
217224 its tiny_mce folder into the resources/ folder.
218225
219226 You will notice 404 File not Found errors for ext/ or
@@ -273,7 +280,7 @@ N/foobar/
273280-http-port 8080
274281
275282 This will start a httpd server listening on all local interfaces, on
276- port 8080, and you may browse the example at [8 ]http://127.0.0.1:8080/
283+ port 8080, and you may browse the example at [16 ]http://127.0.0.1:8080/
277284
278285 You will notice 404 File not Found errors for resources/ files if you
279286 are missing the resources files.
@@ -326,11 +333,19 @@ HTTPS server options:
326333
327334References
328335
329- 1. http://www.cmake.org/
330- 2. http://www.boost.org/
331- 3. http://libharu.org/
332- 4. http://www.graphicsmagick.org/
333- 5. http://yogurtearl.com/ext-2.0.2.zip
334- 6. http://www.webtoolkit.eu/wt/doc/reference/html/group__ext.html
335- 7. http://tinymce.moxiecode.com/
336- 8. http://127.0.0.1:8080/
336+ 1. file://localhost/home/koen/project/wt/git/wt/INSTALL.html#requirements
337+ 2. file://localhost/home/koen/project/wt/git/wt/INSTALL.html#build
338+ 3. file://localhost/home/koen/project/wt/git/wt/INSTALL.html#examples
339+ 4. http://www.cmake.org/
340+ 5. http://www.boost.org/
341+ 6. http://www.openssl.org/
342+ 7. http://libharu.org/
343+ 8. http://www.graphicsmagick.org/
344+ 9. http://www.posgresql.org/
345+ 10. http://www.firebirdsql.org/
346+ 11. http://www.pango.org/
347+ 12. http://www.fastcgi.com/
348+ 13. http://yogurtearl.com/ext-2.0.2.zip
349+ 14. http://www.webtoolkit.eu/wt/doc/reference/html/group__ext.html
350+ 15. http://tinymce.moxiecode.com/
351+ 16. http://127.0.0.1:8080/
0 commit comments