Commit 200b7d21 authored by Pablo Toharia's avatar Pablo Toharia

Added cmake 3.13.4, poco 1.8.1 and webstreamer installer.

parent 55f50a37
#!/bin/bash
# Download, compile and install cmake 3.3.1
cd $HOME/opt/src
wget http://www.cmake.org/files/v3.13/cmake-3.13.4.tar.gz
tar zxvf cmake-3.13.4.tar.gz
cd cmake-3.13.4
mkdir -p Release
cd Release
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/opt/cmake-3.13.4
make install $1
ln -s ~/opt/modules/modules/cmake-3.13.4 ~/opt/modules/installed/cmake-3.13.4
#echo "module load cmake-3.13.4" >> $HOME/.bashrc
#source $HOME/.bashrc
#!/bin/bash
#Install dependences
sudo apt install openssl libssl-dev
sudo apt install libiodbc2 libiodbc2-dev
sudo apt install libmysqlclient-dev
cd $HOME/opt/src
#wget https://pocoproject.org/releases/poco-1.8.1/poco-1.8.1.tar.gz
#tar zxvf poco-1.8.1.tar.gz
#cd poco-1.8.1
git clone https://github.com/pocoproject/poco
cd poco
git checkout poco-1.8.1-release
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/opt/poco-1.8.1 ..
make -j install
ln -s ~/opt/modules/modules/poco-1.8.1 ~/opt/modules/installed/poco-1.8.1
#%Module1.0
##
## CMake 3.13.4
set version 3.13.4
set home $::env(HOME)
set prefix $home/opt/cmake-3.13.4
prepend-path PATH $prefix/bin
prepend-path LD_LIBRARY_PATH $prefix/lib
#%Module1.0
##
## poco 1.8.1
set version 1.8.1
set home $::env(HOME)
set prefix $home/opt/poco-1.8.1
setenv POCO_DIR $prefix
#%Module1.0
##
## webstreamer master
set version master
set home $::env(HOME)
set prefix $home/opt/src/webstreamer/Release
setenv WEBSTREAMER_DIR $prefix
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment