Project

General

Profile

Actions

Installing Wt on Mac OS X Tiger » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Louis Thiers, 03/22/2011 10:24 AM


h1. Installing Wt on Mac OS X Tiger

{{toc}}

h2. Boost

$ cd ~/downloads
$ tar -xzvf boostt_1_38_0.tar.gz
$ cd boost_1_38_0
$ bjam debug release --toolset=darwin --with-test \
--with-filesystem --with-program_options \
--with-iostreams --with-thread --with-regex \
--with-date_time --with-signals --with-python \
--architecture=combined --layout=system \
link=shared,static macosx-version=10.4 \
-sHAVE_ICU=1 -sICU_PATH=/usr/local/icu/4.0 \
--prefix=$HOME/usr/local/boost \
--exec-prefix=$HOME/usr/local/boost install

Screen output

Note: Building Boost.Regex with Unicode/ICU support enabled
Using ICU in /usr/local/icu/4.0/include
...patience...
...patience...
...found 17426 targets...
...updating 7843 targets...
common.mkdir /Users/khinester/usr/local/boost
common.mkdir /Users/khinester/usr/local/boost/lib
common.mkdir bin.v2
..

h2. Install Wt

$ cd ~/sandboxes
$ git clone http://www.webtoolkit.eu/git/wt.git
Initialized empty Git repository in /Users/khinester/sandboxes/wt/.git/

Screen output

Getting alternates list for http://www.webtoolkit.eu/git/wt.git
Getting pack list for http://www.webtoolkit.eu/git/wt.git
Getting index for pack 3b61ebee7d05f78b397214f02614d02ca38aea30
Getting pack 3b61ebee7d05f78b397214f02614d02ca38aea30
which contains 0b0a674bcef46351b3517de9f45d58941c9c8982
..

h2. Build Wt

$ cd wt
$ mkdir build
$ cd build
$ cmake \
-DBOOST_DIR=$HOME/usr/local/boost \
-DBOOST_VERSION=1_38 \
-DBOOST_COMPILER=xgcc40 \
-DMYSQL_INCLUDE=/usr/local/mysql \
-DDEPLOYROOT=$HOME/Sites/wt \
-DWEBUSER=apache \
-DWEBGROUP=apache \
../

Here is the output

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
** Using supplied mxml library.
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
** Enabling multi threading.
** Disabling FastCGI.
** Enabling built-in httpd.
-- ** Wt/Qt interopability example (wtwithqt) needs Qt4 and threading support... Skipping.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/khinester/sandboxes/wt/build

h2. Next we make

$ make

!make.jpg!

"resume writer.":http://cvresumewriters.com/

Updated by Louis Thiers about 13 years ago · 3 revisions