Skip to content

Commit c2393f6

Browse files
author
Koen Deforche
committed
update minimum boost requirements
1 parent bacced4 commit c2393f6

File tree

3 files changed

+30
-27
lines changed

3 files changed

+30
-27
lines changed

INSTALL

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Requirements
3737
* Compiler: gcc-3.3.4 or higher, or gcc-4.1.x or higher, or other
3838
Ansi C++ compiler that can deal with boost-like C++ code.
3939
* CMake cross-platform build system (www.cmake.org): cmake-2.4.
40-
* C++ boost library (version 1.34.1 or higher), preferably with
41-
thread support enabled. You can verify you have a thread-enabled
42-
boost installation by locating the libboost_thread library. Thread
40+
* C++ boost library (version 1.35 or higher), preferably with thread
41+
support enabled. You can verify you have a thread-enabled boost
42+
installation by locating the libboost_thread library. Thread
4343
support is not essential: Wt functionality is not affected except
4444
for exotic things like server push. Most importantly, even without
4545
thread support Wt can handle multiple concurrent sessions.
@@ -118,11 +118,11 @@ Building and installing the Wt library
118118

119119
BOOST_COMPILER
120120
The boost compiler signature. For a library
121-
libboost_regex-gcc41-mt-1_34_1.so, this is 'gcc41'
121+
libboost_regex-gcc41-mt-1_37.so, this is 'gcc41'
122122

123123
BOOST_VERSION
124124
The boost compiler signature. For a library
125-
libboost_regex-gcc41-mt-1_34_1.so, this is '1_34_1'
125+
libboost_regex-gcc41-mt-1_37.so, this is '1_37'
126126

127127
BOOST_DIR
128128
The boost installation directory. This is the directory where
@@ -263,16 +263,24 @@ Trying the examples (or your own Wt application)
263263

264264
These are all the command-line options that are available:
265265
General options:
266-
-h [ --help ] produce help message
267-
-t [ --threads ] arg (=10) number of threads
268-
--docroot arg document root for static files
269-
--errroot arg root for error pages
270-
--no-compression do not compress dynamic text/html and text/plain
271-
responses
272-
--deploy-path arg (=/) location for deployment
273-
--session-id-prefix arg prefix for session-id's (overrides wt_config.xml
274-
setting)
275-
-p [ --pid-file ] arg path to pid file (may be empty)
266+
-h [ --help ] produce help message
267+
-t [ --threads ] arg (=10) number of threads
268+
--servername arg (=vierwerf) servername (IP address or DNS name)
269+
--docroot arg document root for static files
270+
--errroot arg root for error pages
271+
--accesslog arg access log file (defaults to stdout)
272+
--no-compression do not compress dynamic text/html and text/plain
273+
responses
274+
--deploy-path arg (=/) location for deployment
275+
--session-id-prefix arg prefix for session-id's (overrides wt_config.xml
276+
setting)
277+
-p [ --pid-file ] arg path to pid file (optional)
278+
-c [ --config ] arg location of wt_config.xml. If unspecified,
279+
WT_CONFIG_XML is searched in the environment, if
280+
it does not exist then the compiled-in default
281+
(/etc/wt/wt_config.xml) is tried. If the default
282+
does not exist, we revert to default values for
283+
all parameters.
276284

277285
HTTP server options:
278286
--http-address arg IPv4 (e.g. 0.0.0.0) or IPv6 Address (e.g. 0::0)
@@ -290,5 +298,5 @@ HTTPS server options:
290298

291299
References
292300

293-
1. file://localhost/home/koen/project/wt/cvs/wt/INSTALL.win32.html
301+
1. file://localhost/home/koen/project/wt/git/wt/INSTALL.win32.html
294302
2. http://127.0.0.1:8080/

INSTALL.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h3>1 Unix-like</h3>
5353
<li>Compiler: gcc-3.3.4 or higher, or gcc-4.1.x or higher, or other
5454
Ansi C++ compiler that can deal with boost-like C++ code.</li>
5555
<li>CMake cross-platform build system (www.cmake.org): cmake-2.4.</li>
56-
<li>C++ boost library (version 1.34.1 or higher), preferably with thread
56+
<li>C++ boost library (version 1.35 or higher), preferably with thread
5757
support enabled. You can verify you have a thread-enabled boost
5858
installation by locating the libboost_thread library. Thread support
5959
is not essential: Wt functionality is not affected except for exotic
@@ -76,12 +76,10 @@ <h4>1a Using FastCGI</h4>
7676

7777
<h4>1b Using wthttpd</h4>
7878

79-
When using the built-in webserver, Wt only requires one additional C++
80-
gem of a library for asynchronous I/O.
79+
When using the built-in webserver, two more libraries are necessary to
80+
enable optional features (you can also build without them).
8181

8282
<ul>
83-
<li>Asio library: version 0.3.9 or higher, boost or non-boost version
84-
(http://asio.sf.net).</li>
8583
<li>(optionally) libz, for compression over HTTP.</li>
8684
<li>(optionally) openssl, for supporting HTTPS.</li>
8785
</ul>
@@ -161,10 +159,10 @@ <h4>2. Configure the library</h4>
161159
<dl>
162160
<dt><strong>BOOST_COMPILER</strong></dt>
163161
<dd>The boost compiler signature. For a library
164-
libboost_regex-gcc41-mt-1_34_1.so, this is 'gcc41'</dd>
162+
libboost_regex-gcc41-mt-1_37.so, this is 'gcc41'</dd>
165163
<dt><strong>BOOST_VERSION</strong></dt>
166164
<dd>The boost compiler signature. For a library
167-
libboost_regex-gcc41-mt-1_34_1.so, this is '1_34_1'</dd>
165+
libboost_regex-gcc41-mt-1_37.so, this is '1_37'</dd>
168166
<dt><strong>BOOST_DIR</strong></dt>
169167
<dd>The boost installation directory. This is the directory where lib/
170168
and include/ are located for your boost installation.</dd>

INSTALL.win32.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ <h2>Requirements</h2>
3232
bugfixes. We have not tested Wt on older versions of MSVC.</li>
3333
<li>CMake cross-platform build system (www.cmake.org): cmake-2.4.x,
3434
Windows version.</li>
35-
<li>Boost 1_33_1 (or later), plus boost_asio_0_3_7 (or later), until
36-
boost_asio is officially part of boost. boost_asio_0_3_7 needs a
37-
small patch to solve an initialization bug which is critical for Wt.</li>
35+
<li>Boost 1.35 (or later).</li>
3836
<li>Xerces-C++ XML parser, version 2.7.0 or newer.</li>
3937
<li>OpenSSL, version 0.9.8d or newer.</li>
4038
<li>zlib 1.2.3</li>
@@ -62,7 +60,6 @@ <h2>Requirements</h2>
6260
USERLIB_ROOT (defaults to c:/libraries). Use the following directories:
6361
<ul>
6462
<li>Boost: During configuration of Boost, set the prefix to $USERLIB_ROOT/Boost</li>
65-
<li>Boost asio: unpack boost asio to $USERLIB_ROOT/Boost/boost_asio_0_3_7</li>
6663
<li>Xerces-C++: TBD</li>
6764
<li>OpenSSL: TBD</li>
6865
<li>zlib: TBD</li>

0 commit comments

Comments
 (0)