Installing Wt on OS X¶
The following are generic installation instructions for installing Wt (from source) on OS X 10.5 "Leopard" and above.
Only support for the built-in httpd server is listed here. While this is most convenient for development, and also useful for deployment, we probably should expand these instructions to include support for the FastCGI connector.
The following builds and installs Boost in /usr/local:
$ cd boost* $ ./bootstrap.sh $ sudo ./b2 install
If you would like to install in a different directory, you should run
./bootstrap.sh --prefix=/custom/directory instead, and you will need to modify your dynamic library path:
$ export DYLD_LIBRARY_PATH=/custom/directory/lib:$DYLD_LIBRARY_PATH
Get the latest Wt version.
To build Wt, do the following:
$ cd wt-3* $ mkdir build $ cd build $ cmake ../ $ make $ make -C examples # to build the examples
NOTE: If you used the --prefix option when compiling Boost, you must run
cmake -DBOOST_DIR=/custom/directory instead of just
You may receive warnings that not all features will be built, but Wt doesn't require those.
To run the examples, please see the generic installation instructions.