Project

General

Profile

Installing Wt on OpenSolaris » History » Version 2

Pieter Libin, 10/29/2009 01:59 PM

1 1 Pieter Libin
h1. Installing Wt on OpenSolaris
2
3
This was a successful build on Solaris 10 using gcc 4.2.3 and boost_1_37
4
5
Requirements:
6
7
boost >= 1_35 (http:boost.org)
8
9
libiconv (sunfreeware.com)
10
11
set $BOOST to your boost root dir
12
13
make a obj dir in the root of the wt source tree that you untarred.
14
15
cd to the obj dir and run the command below to create and generate makefiles as such.
16
17
<pre>
18
cmake -DBOOST_DIR=$BOOST -DBOOST_FS_LIB_MT=$BOOST/lib/libboost_filesystem-gcc42-mt.a -DBOOST_DT_LIB_MT=$BOOST/lib/libboost_date_time-gcc42-mt.a -DBOOST_PO_LIB_MT=$BOOST/lib/libboost_program_options-gcc42-mt.a -DBOOST_REGEX_LIB_MT=$BOOST/lib/libboost_regex-gcc42-mt.a -DBOOST_SIGNALS_LIB_MT=$BOOST/lib/libboost_signals-gcc42-mt.a -DBOOST_SYSTEM_LIB_MT=$BOOST/lib/libboost_system-gcc42-mt.a -DBOOST_THREAD_LIB_MT=$BOOST/lib/libboost_thread-gcc42-mt.a -DMULTI_THREADED=ON -DSHARED_LIBS=OFF -DBOOST_VERSION=1_37 -DCMAKE_CXX_FLAGS=-pthreads -DCMAKE_EXE_LINKER_FLAGS="-lthread -lrt -lsocket -lnsl -liconv" ../
19
</pre>
20
21
Then run gmake