<div dir="ltr">On Wed, Nov 19, 2014 at 7:46 PM, Rashad M <<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>> wrote:<br>...<br>> I want ITK toolkit - <a href="http://pkgs.fedoraproject.org/cgit/InsightToolkit.git/">http://pkgs.fedoraproject.org/cgit/InsightToolkit.git/</a><br><br>FWIW, below some related notes as a start. I tried to compile OTB on a ScientificLinux 6.4 system.<br><br>best,<br>Markus<br><br>----------------------------<br>OTB INSTALLATION ON CLUSTER WITH SCIENTIFIC LINUX 6.4<div><br></div><div>(incomplete)<br><br>Requirements:<br><a href="http://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html#x14-210002.2">http://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html#x14-210002.2</a><br><br>1) ITK <br><br>Sub-Requirements:<br>-vxl<br> - Error: No Package found for dcmtk-devel<br>   <a href="https://admin.fedoraproject.org/pkgdb/package/dcmtk/">https://admin.fedoraproject.org/pkgdb/package/dcmtk/</a><br>     <a href="http://koji.fedoraproject.org/koji/packageinfo?packageID=11881">http://koji.fedoraproject.org/koji/packageinfo?packageID=11881</a><br>     --> compiled from SRPM, ok (dcmtk-3.6.0-18.el6.x86_64.rpm)<br><br> - Error: No Package found for expatpp-devel<br>   <a href="https://admin.fedoraproject.org/pkgdb/package/expatpp/">https://admin.fedoraproject.org/pkgdb/package/expatpp/</a><br>     <a href="http://koji.fedoraproject.org/koji/packageinfo?packageID=14948">http://koji.fedoraproject.org/koji/packageinfo?packageID=14948</a><br>     --> compiled from SRPM, ok (expatpp-0-5.20121019gitd8c1bf8.el6.x86_64.rpm)<br><br> - Error: No Package found for klt-devel<br>   <a href="https://apps.fedoraproject.org/packages/klt-devel/updates">https://apps.fedoraproject.org/packages/klt-devel/updates</a><br>     <a href="http://koji.fedoraproject.org/koji/buildinfo?buildID=559585">http://koji.fedoraproject.org/koji/buildinfo?buildID=559585</a><br>     --> compiled from SRPM, ok (klt-1.3.4-10.el6.x86_64.rpm)<br><br> - Error: No Package found for rply-devel<br>   <a href="https://admin.fedoraproject.org/pkgdb/package/rply/">https://admin.fedoraproject.org/pkgdb/package/rply/</a><br>    <a href="http://koji.fedoraproject.org/koji/packageinfo?packageID=10055">http://koji.fedoraproject.org/koji/packageinfo?packageID=10055</a><br>     --> compiled from SRPM, ok (rply-1.1.2-4.el6.x86_64.rpm)<br><br>  # install all from /root/rpmbuild/RPMS/x86_64/<br>   yum install dcmtk-devel-3.6.0-18.el6.x86_64.rpm expatpp-devel-0-5.20121019gitd8c1bf8.el6.x86_64.rpm \<br>        klt-devel-1.3.4-10.el6.x86_64.rpm rply-devel-1.1.2-4.el6.x86_64.rpm <br><br><br>Sub-Requirement: gdcm<br>  yum install libuuid-devel mesa-libOSMesa-devel openjpeg-devel python3-devel<br> - gdcm<br>   <a href="https://admin.fedoraproject.org/pkgdb/package/gdcm/">https://admin.fedoraproject.org/pkgdb/package/gdcm/</a><br>    <a href="http://koji.fedoraproject.org/koji/buildinfo?buildID=486393">http://koji.fedoraproject.org/koji/buildinfo?buildID=486393</a><br>   ---> gdcm-2.2.6-2.fc20.src.rpm  (don't use more recent as it now want python3!)<br><br>  yum install  libuuid-devel mesa-libOSMesa-devel openjpeg-devel<br><br>  Now modify the SPEC file to enforce python2 usage:<br><br>[root@giscluster SPECS]# diff -u gdcm.spec.orig gdcm.spec<br>--- gdcm.spec.orig 2014-08-28 17:22:14.228689843 +0200<br>+++ gdcm.spec 2014-08-28 17:21:25.939855925 +0200<br>@@ -139,7 +139,8 @@<br>  -DGDCM_USE_SYSTEM_LJPEG=OFF \<br>  -DGDCM_USE_SYSTEM_OPENSSL=ON \<br>  -DGDCM_USE_JPEGLS=ON \<br>- -DGDCM_USE_SYSTEM_POPPLER=OFF<br>+ -DGDCM_USE_SYSTEM_POPPLER=OFF \<br>+        -DPYTHON_VERSION_MAJOR=2<br> <br>  rpmbuild -ba /root/rpmbuild/SPECS/gdcm.spec<br><br>  yum install /root/rpmbuild/RPMS/x86_64/gdcm-2.2.6-2.el6.x86_64.rpm /root/rpmbuild/RPMS/x86_64/gdcm-devel-2.2.6-2.el6.x86_64.rpm /root/rpmbuild/RPMS/x86_64/gdcm-python-2.2.6-2.el6.x86_64.rpm<br><br><br>Sub-Requirement: VXL:<br><br>  <a href="https://admin.fedoraproject.org/pkgdb/package/vxl/">https://admin.fedoraproject.org/pkgdb/package/vxl/</a><br>    <a href="http://koji.fedoraproject.org/koji/buildinfo?buildID=570469">http://koji.fedoraproject.org/koji/buildinfo?buildID=570469</a><br><br> rpmbuild -ba /root/rpmbuild/SPECS/vxl.spec        <br><br><br> yum install Coin2-devel freeglut-devel libdc1394-devel libgeotiff-devel minizip-devel SIMVoleon-devel shapelib-devel texi2html xerces-c-devel<br> yum install /root/rpmbuild/RPMS/x86_64/vxl-1.17.0-15.el6.x86_64.rpm /root/rpmbuild/RPMS/x86_64/vxl-devel-1.17.0-15.el6.x86_64.rpm<br><br>=====================<br><br><a href="http://koji.fedoraproject.org/koji/buildinfo?buildID=518307">http://koji.fedoraproject.org/koji/buildinfo?buildID=518307</a><br>--> download SRPM<br><br><a href="http://itk.org/ITK/resources/software.html">http://itk.org/ITK/resources/software.html</a><br>--> download InsightToolkit-4.5.2.tar.xz (hosted at Sourceforge)<br>    --> merge both the old SPEC with the new InsightToolkit-xxx.tar.gz<br><br>rpmbuild -ba InsightToolkit.spec<br>yum install gdcm-devel qtwebkit-devel vtk-devel<br></div><div><br></div><div>(not continued so far due to lack of time)</div></div>