wiki:InstallationLibraries

Version 6 (modified by /C=FR/O=CNRS/OU=UMR8607/CN=Laurent Garnier/emailAddress=garnier@…, 10 years ago) ( diff )

--

Installation des librairies (en local ou sur le serveur)

Ici on utilise yum, mais vous pouvez utiliser votre outil habituel (brew, fink....)

# Compiler and others for Linux

yum install hg gcc-c++ boost-devel wt-devel wt-dbo wt-dbo-postgres wt-examples make gcc-gfortran gdb cmake \
                 xerces-c-devel expat-devel  doxygen pango-devel GraphicsMagick-devel openssl-devel fcgi-devel httpd \
                 subversion lcms-libs libICE jasper-libs libSM libwmf-lite urw-fonts daemonize

# Compiler and others for Mac

brew install mercurial gcc boost cmake xerces-c  doxygen pango graphicsmagick openssl subversion jasper  daemonize

# Haru (librarie graphique pour Wt)

curl https://codeload.github.com/libharu/libharu/legacy.tar.gz/master -olibhpdf.tar.gz
tar -xzf libhpdf.tar.gz 
mkdir libharu-libharu-build
cd libharu-libharu-build/
cmake ../libharu-libharu-ec89be4/   ===  ATTENTION, changer avec le bon nom !! ===
make -j
sudo make install

# CMT

 curl http://www.cmtsite.net/v1r25/CMTv1r25Linux-i686.tar.gz -o CMTv1r25Linux-i686.tar.gz
tar -xvf CMTv1r25Linux-i686.tar.gz
rm CMTv1r25Linux-i686.tar.gz
mv CMT/ /usr/local/.
ln -sf v1r25/ /usr/local/CMT/current
cd /usr/local/CMT/current/mgr/
./INSTALL 

# Changement de cmake (utile sur linux ?)

rm /usr/bin/cmake
ln -sf /usr/bin/cmake28 /usr/bin/cmake

# Installation de UAP (utilisé par Transport)

cd /usr/local/
svn checkout svn://svn.code.sf.net/p/accelerator-ml/code/ accelerator-ml-code
cd accelerator-ml-code/uap/trunk/
export UAP_FORTRAN_COMPILER=GFORTRAN

Pour mac:

export XERCESC_LIBROOT=/usr/local/Cellar/xerces-c/3.1.1/ ===  ATTENTION, changer avec le bon nom !! ===

Puis :

make

# Installation de Wt (pour Linux)

yum install wt-devel wt-dbo wt-dbo-postgres wt-examples

# Installation de Wt (pour Mac)

Plus d'info pour installer Wt : http://www.webtoolkit.eu/wt/download
Note: See TracWiki for help on using the wiki.