ウェブアプリケーション用のC++ライブラリ

Wt: C++ Ajax Framework - Ajaxian経由。
Ajaxフレームワークって書いてあるけど単にライブラリと言ったほうが良さそう。
前々から、C++ウェブアプリケーション作ったって別にいいじゃん、と思っていたので、こういうものを発見して使ってみたくなった。ただ、Perlに比べて(たぶんRubyとかPHPでもそうだろう)C++は難しいので、ポピュラーになることはないとは思うけど。
で、やってみたんだけど挫折。makeの途中でsegment faultになる。

        -o obj/web/cgi-util.o -c src/web/cgi-util.c
obj/moc -o src/wt/WAnchor.mocced.C src/wt/WAnchor
make: *** [src/wt/WAnchor.mocced.C] セグメンテーション違反です  

バージョン1.0.12から1.0.14まで3つ試したんだけど全部同じ。なんだかなー。これを解決する力はないのでとりあえず諦めます。
作業めも。
http://jose.med.kuleuven.ac.be/wt/Home.fcg?wtd=Ls06XZOzYCMGQD8Y
のSystem Requirementに書いてあるものを準備する。FastCGIはここから。
http://www.fastcgi.com/#TheDevKit
あとは全部apt-get installする。以下のモジュール。

libapache-mod-fastcgi libboost-dev libboost-doc libboost-date-time-dev libboost-filesystem-dev libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-test-dev libboost-thread-dev libboost-wave-dev libxml++2.6-dev

Wt自体はINSTALLファイルに書いてある通りにmakeってタイプしただけ。

Installing the Wt library.

                                                  • -

These are the installation instructions for the Wt library:

1. By default the library will be installed in /usr/wt.

If desired, edit the Makefile and modify the path WTHOME to point
to another directory.

2. Build the library:

$ make

3. Install the library (as user with sufficient permissions):

$ make install

やれやれ。楽しそうだったのに残念。
悔しいので最後にWtのクラス階層を。
http://jose.med.kuleuven.ac.be/wt/doc/hierarchy.html