-
Notifications
You must be signed in to change notification settings - Fork 5
Build prerequisites
albanmartel edited this page May 7, 2014
·
3 revisions
You need the MySQL and Python development packages. Run :
apt-get install libmysqlclient-dev python-dev libcurl4-openssl-dev
It is also recommended to install ccache:
apt-get install ccache
You need to have boost installed. If it is not in the default location, you can use the --boost-dir
build option to specify its path (see next section).
Run :
apt-get update
apt-get install libboost-date-time1.42-dev libboost-filesystem1.42-dev libboost-iostreams1.42-dev libboost-program-options1.42-dev libboost-regex1.42-dev libboost-system1.42-dev libboost-test1.42-dev libboost-thread1.42-dev libboost1.42-dev
- add the 11.10 source list into /etc/apt/sources.list :
deb http://fr.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
- run following commands :
apt-get update apt-get install libboost-date-time1.42-dev libboost-filesystem1.42-dev libboost-iostreams1.42-dev libboost-program-options1.42-dev libboost-regex1.42-dev libboost-system1.42-dev libboost-test1.42-dev libboost-thread1.42-dev libboost1.42-dev
- remove the source from /etc/apt/sources.list
- run
apt-get update
Follow the Synthesepy script alias instructions.
* The SDK is required for some packages used while building:
SLES 11 SDK:
http://download.novell.com/protected/Summary.jsp?buildid=fQKpDcAhPVY
disc 1 required for subversion.
# Install packages for building synthese:
# optional, to rebuild faster
sudo zypper in ccache
sudo zypper in subversion
sudo zypper in gcc gcc-c++
# for boost:
sudo zypper in libbz2-devel zlib-devel python-devel
# mysql
sudo zypper in libmysqlclient-devel libcurl-devel
* boost (system boost is too old (1.35))
# login with user "build"
cd ~/source
wget http://switch.dl.sourceforge.net/project/boost/boost/1.42.0/boost_1_42_0.tar.bz2
tar jxf boost_*
cd boost_*
./bootstrap.sh --with-libraries=date_time,filesystem,iostreams,program_options,regex,system,test,thread --prefix=/opt/rcs/boost
sudo mkdir -p /opt/rcs/boost
sudo chown build. /opt/rcs/boost
./bjam install
* Building:
cd rcs
svn co https://extranet.rcsmobility.com/svn/synthese3/trunk synthese3
cd synthese3
# Now, configure the @~/.synthese/config.py@ with your build options.
python tools/synthese.py -m release build
Sidebar
SYNTHESE Documentation
Specifications
Developer documentation
Database
API
CMS template syntax
Interoperability
Administrator manual