changeset 1622:0b8e62bd9c48

build instructions for centos 6
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2015 07:28:24 +0200
parents de85f90030cf
children 76ed4cf74bb5
files LinuxCompilation.txt
diffstat 1 files changed, 25 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/LinuxCompilation.txt	Wed Sep 16 17:22:08 2015 +0200
+++ b/LinuxCompilation.txt	Thu Sep 17 07:28:24 2015 +0200
@@ -79,7 +79,7 @@
 
 # sudo apt-get install build-essential unzip cmake mercurial \
        	       	       uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
-       	       	       libgoogle-glog-dev libgtest-dev libpng-dev \
+       	       	       libgoogle-glog-dev libgtest-dev libpng-dev libjpeg-dev \
        	       	       libsqlite3-dev libssl-dev zlib1g-dev libdcmtk2-dev \
                        libboost-all-dev libwrap0-dev libjsoncpp-dev libpugixml-dev
 
@@ -98,7 +98,7 @@
 
 # sudo apt-get install build-essential unzip cmake mercurial \
        	       	       uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
-       	       	       libgtest-dev libpng-dev libsqlite3-dev libssl-dev \
+       	       	       libgtest-dev libpng-dev libsqlite3-dev libssl-dev libjpeg-dev \
 		       zlib1g-dev libdcmtk2-dev libboost1.48-all-dev libwrap0-dev \
                        libcharls-dev
 
@@ -118,7 +118,7 @@
 
 # sudo apt-get install build-essential unzip cmake mercurial \
        	       	       uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
-       	       	       libgtest-dev libpng-dev libsqlite3-dev libssl-dev \
+       	       	       libgtest-dev libpng-dev libsqlite3-dev libssl-dev libjpeg-dev \
 		       zlib1g-dev libdcmtk2-dev libboost-all-dev libwrap0-dev \
                        libcharls-dev libjsoncpp-dev libpugixml-dev
 
@@ -135,7 +135,7 @@
 
 # sudo yum install unzip make automake gcc gcc-c++ python cmake \
                    boost-devel curl-devel dcmtk-devel glog-devel \
-                   gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \
+                   gtest-devel libpng-devel libsqlite3x-devel libuuid-devel jpeg-devel \
                    mongoose-devel openssl-devel jsoncpp-devel lua-devel pugixml-devel
 
 You will also have to install "gflags-devel" on Fedora 21&22:
@@ -154,7 +154,7 @@
 SUPPORTED - FreeBSD 10.1
 ------------------------
 
-# pkg install jsoncpp pugixml lua51 curl googletest dcmtk cmake \
+# pkg install jsoncpp pugixml lua51 curl googletest dcmtk cmake jpeg \
               e2fsprogs-libuuid glog boost-libs sqlite3 python libiconv
 
 # cmake -DALLOW_DOWNLOADS=ON \
@@ -164,6 +164,26 @@
 
 
 
+SUPPORTED - CentOS 6
+--------------------
+
+# yum install unzip make automake gcc gcc-c++ python cmake curl-devel \
+              libpng-devel sqlite-devel libuuid-devel openssl-devel \
+              lua-devel mercurial patch tar
+
+# cmake -DALLOW_DOWNLOADS=ON \
+        -DUSE_SYSTEM_JSONCPP=OFF \
+        -DUSE_SYSTEM_MONGOOSE=OFF \
+        -DUSE_SYSTEM_PUGIXML=OFF \
+        -DUSE_SYSTEM_SQLITE=OFF \
+        -DUSE_SYSTEM_BOOST=OFF \
+        -DUSE_SYSTEM_DCMTK=OFF \
+        -DUSE_SYSTEM_GOOGLE_TEST=OFF \
+        -DUSE_SYSTEM_LIBJPEG=OFF \
+        ~/Orthanc
+
+
+
 Other Linux distributions?
 --------------------------