Project

General

Profile

Actions

Installing Wt on OpenSolaris

This was a successful build on Solaris 10 using gcc 4.2.3 and boost_1_37

Requirements:

boost >= 1_35 (http:boost.org)

libiconv (sunfreeware.com)

set $BOOST to your boost root dir

make a obj dir in the root of the wt source tree that you untarred.

cd to the obj dir and run the command below to create and generate makefiles as such.

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" ../

Then run gmake

Updated by Pieter Libin over 14 years ago ยท 2 revisions