Thursday, March 21, 2013

Nerd Food: Installing Wt from Git

Nerd Food: Installing Wt from Git

On my copious free time I've been playing around with wt. I was always curious about a C++ based web framework, but with the recently added bootstrap support I just couldn't resist! Here are the steps to build it from source, into our PFH chroot.

First clone their mirror git repo:

mkdir wt
cd wt
git clone git:// git

Then build it with a few additional parameters:

mkdir build
cd build
cmake -DRUNDIR=/usr/local/pfh/var/run/wt -DCONFIGDIR=/usr/local/pfh/etc/wt -DCMAKE_INSTALL_PREFIX=/usr/local/pfh -DBoost_NO_SYSTEM_PATHS=true -DBOOST_ROOT=/usr/local/pfh ../git
make -j4

Then install it:

make install

That's it! Now to configure apache to run the examples…

Date: 2013-03-21 07:21:50 GMT

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0

No comments: