Hi Dears 3DSlicer developers
I want to build Slicer as mentioned in the site of https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions.
I do the following steps:
(base) [sn@localhost ~]$ uname --all
Linux localhost.localdomain 4.8.6-300.fc25.x86_64 #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
(base) [sn@localhost ~]$ sudo dnf list git-core svn libX11-devel libXt-devel mesa-libGL-devel mesa-libGLU-devel cmake tcl-devel python-devel qt-devel qt-webkit-devel
[sudo] password for sn:
Last metadata expiration check: 1:17:27 ago on Sat Jun 15 17:51:12 2019.
Installed Packages
cmake.x86_64 3.6.2-6.fc25 @fedora
git-core.x86_64 2.9.3-1.fc25 anaconda
libX11-devel.i686 1.6.5-1.fc25 @updates
libX11-devel.x86_64 1.6.5-1.fc25 @updates
libXt-devel.x86_64 1.1.5-3.fc24 @fedora
mesa-libGL-devel.x86_64 17.0.5-3.fc25 @updates
mesa-libGLU-devel.x86_64 9.0.0-10.fc24 @fedora
python-devel.x86_64 2.7.13-2.fc25 @updates
qt-devel.x86_64 1:4.8.7-18.fc25 @fedora
tcl-devel.x86_64 1:8.6.6-1.fc25 @fedora
Available Packages
cmake.i686 3.9.1-1.fc25 updates
cmake.x86_64 3.9.1-1.fc25 updates
git-core.x86_64 2.9.5-3.fc25 updates
libXt-devel.i686 1.1.5-3.fc24 fedora
mesa-libGL-devel.i686 17.0.5-3.fc25 updates
mesa-libGLU-devel.i686 9.0.0-10.fc24 fedora
python-devel.i686 2.7.13-3.fc25 updates
python-devel.x86_64 2.7.13-3.fc25 updates
qt-devel.i686 1:4.8.7-18.fc25 fedora
tcl-devel.i686 1:8.6.6-1.fc25 fedora
(base) [sn@localhost ~]$ sudo dnf groupinstall "Development Tools"
...
Last metadata expiration check: 1:19:38 ago on Sat Jun 15 17:51:12 2019.
Group 'Development Tools' is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
(base) [sn@localhost ~]$
So I have installed the packages mentioned in the site. Also, I check Qt installed usig qtdiag:
(base) [sn@localhost Slicer-SuperBuild-Debug]$ qtdiag
Qt 5.9.7 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0) on "xcb"
OS: Fedora 25 (Workstation Edition) [linux version 4.8.6-300.fc25.x86_64]
...
I think that I installed Qt (5.9.7) correctly. At now, I enter the following commands:
(base) [sn@localhost ~]$ git clone https://github.com/Slicer/Slicer.git
...
(base) [sn@localhost ~]$ mkdir Slicer-SuperBuild-Debug
(base) [sn@localhost ~]$ cd Slicer-SuperBuild-Debug/
(base) [sn@localhost Slicer-SuperBuild-Debug]$ /home/sn/cmake3.15.0-rc1/cmake-3.15.0-rc1-Linux-x86_64/bin/cmake ../Slicer
(base) [sn@localhost Slicer-SuperBuild-Debug]$ make -j5
...
-- Up-to-date: /home/sn/Slicer-SuperBuild-Debug/python-install/lib/python3.6/zipapp.py
-- Up-to-date: /home/sn/Slicer-SuperBuild-Debug/python-install/lib/python3.6/zipfile.py
Generating grammar tables from /home/sn/Slicer-SuperBuild-Debug/python-install/lib/python3.6/lib2to3/Grammar.txt
Writing grammar tables to /home/sn/Slicer-SuperBuild-Debug/python-install/lib/python3.6/lib2to3/Grammar3.6.7.final.0.pickle
Generating grammar tables from /home/sn/Slicer-SuperBuild-Debug/python-install/lib/python3.6/lib2to3/PatternGrammar.txt
Writing grammar tables to /home/sn/Slicer-SuperBuild-Debug/python-install/lib/python3.6/lib2to3/PatternGrammar3.6.7.final.0.pickle
[ 38%] Performing configure_python_launcher step for 'python'
-- Copying '/home/sn/Slicer/Base/QTCore/Resources/Certs/Slicer.crt' to '/home/sn/Slicer-SuperBuild-Debug/Slicer-build/share/Slicer-4.11/Slicer.crt'
[ 38%] Completed 'python'
[ 39%] Built target python
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
(base) [sn@localhost Slicer-SuperBuild-Debug]$
Why do I get this error?
Please guide me.
Thanks a lot.
Shahrokh