SCI Seg3D Mailing List

Text archives Help


Re: [Seg3D] Problem with install Seg3D (version 2.4.1) in Fedora core 25


Chronological Thread 
  • From: Dan White <dwhite@sci.utah.edu>
  • To: seg3d@sci.utah.edu
  • Subject: Re: [Seg3D] Problem with install Seg3D (version 2.4.1) in Fedora core 25
  • Date: Tue, 5 Sep 2017 09:32:36 -0600

You did get Qt installed fine. I checked that Eigen link and it works for me. You (or they) were probably just having internet problems.


On 9/1/2017 11:11 PM, shahrokh.nasseri@gmail.com wrote:
Hello dear Seg3D developers and users

I have some problems about installation of Seg3D (version 2.4.1) in Fedora
core 25. At firstly, I install successfully SCIRun-5.0-beta.O and after it, I
want to install Seg3D (version 2.4.1). I execute following commands:

[sn@localhost ~]$ mkdir Seg3D
[sn@localhost ~]$ cd ./Seg3D/
[sn@localhost Seg3D]$ wget
https://github.com/SCIInstitute/Seg3D/archive/v2.4.1.tar.gz
...
2017-08-31 15:44:37 (1.01 MB/s) - ‘v2.4.1.tar.gz’ saved [28480360]

[sn@localhost Seg3D]$ tar -xzf v2.4.1.tar.gz
[sn@localhost Seg3D]$ cd ./Seg3D-2.4.1/
[sn@localhost Seg3D-2.4.1]$ ./build.sh
Build platform is Linux.
Parsing arguments...
CMake args:
Make Flags:
Build Type: Release
/usr/bin/cmake version 3.6.2 found
cmakebin=/usr/bin/cmake
cd /home/sn/Seg3D/Seg3D-2.4.1/bin
/usr/bin/cmake /home/sn/Seg3D/Seg3D-2.4.1/Superbuild -
DBUILD_DOCUMENTATION:BOOL=OFF -DQt5_PATH:PATH= -
DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.9.3")
CMake Error at Superbuild.cmake:149 (MESSAGE):
  Set Qt5_PATH to directory where Qt 5 is containing (installed lib and bin
  subdirectories) or set SEG3D_BUILD_INTERFACE to OFF.
Call Stack (most recent call first):
  CMakeLists.txt:40 (INCLUDE)


CMake Error at Superbuild.cmake:158 (MESSAGE):
  Qt5 is required for building the Seg3D GUI
Call Stack (most recent call first):
  CMakeLists.txt:40 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/home/sn/Seg3D/Seg3D-2.4.1/bin/CMakeFiles/CMakeOutput.log".

***ERROR in build script
The failed command was:
/usr/bin/cmake /home/sn/Seg3D/Seg3D-2.4.1/Superbuild -
DBUILD_DOCUMENTATION:BOOL=OFF -DQt5_PATH:PATH= -
DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF

[sn@localhost Seg3D-2.4.1]$ sudo dnf info Qt5
[sudo] password for sn:
...
Installed Packages
Name        : qt5
Arch        : noarch
Epoch       : 0
Version     : 5.7.1
Release     : 1.fc25
Size        : 19
Repo        : @System
From repo   : updates
Summary     : Qt5 meta package
URL         : https://getfedora.org/
License     : GPLv3
Description : Qt5 meta package.
[sn@localhost Seg3D-2.4.1]$

As mentioned it, I have Qt5 version 5.7.1. in /usr/lib64/qt5 as mentioned
below:
[sn@localhost Seg3D-2.4.1]$ ll -h /usr/lib64/qt5/
total 24K
drwxr-xr-x.  2 root root 4.0K Aug 31 12:53 bin
drwxr-xr-x.  2 root root 4.0K Jul 19 12:05 imports
drwxr-xr-x.  2 root root 4.0K Aug 31 12:53 libexec
drwxr-xr-x. 99 root root 4.0K Aug 31 12:53 mkspecs
drwxr-xr-x. 29 root root 4.0K Jul 19 12:05 plugins
drwxr-xr-x. 24 root root 4.0K Aug 31 12:53 qml
[sn@localhost Seg3D-2.4.1]$
Afterwards, I define the variable of Qt5_PATH as mentioned below:
[sn@localhost Seg3D-2.4.1]$ export Qt5_PATH=/usr/lib64
...

Unfortunately, I get the same error message mentioned above.
For solving it, I installed Qt5.9.0 manually. For it, I downloaded qt-
opensource-linux-x64-5.9.0.run and run it (qt-opensource-linux-x64-5.9.0.run).
At now, I think that I have Qt installed in /opt/Qt5.9.0/, as mentioned below:
[sn@localhost qt]$ ll -h /opt/Qt5.9.0/5.9/gcc_64/
total 68K
drwxrwxr-x.  2 root root 4.0K Sep  2 07:24 bin
drwxrwxr-x.  3 root root 4.0K Sep  2 07:24 doc
drwxrwxr-x. 85 root root 4.0K Sep  2 07:24 include
drwxrwxr-x.  4 root root  20K Sep  2 07:24 lib
drwxrwxr-x.  2 root root 4.0K Sep  2 07:24 libexec
drwxrwxr-x. 64 root root 4.0K Sep  2 07:24 mkspecs
drwxrwxr-x.  2 root root 4.0K Sep  2 07:24 phrasebooks
drwxrwxr-x. 27 root root 4.0K Sep  2 07:24 plugins
drwxrwxr-x. 25 root root 4.0K Sep  2 07:24 qml
drwxrwxr-x.  2 root root 4.0K Sep  2 07:24 resources
drwxrwxr-x.  3 root root  12K Sep  2 07:24 translations
[sn@localhost qt]$

The folder of /opt/Qt5.9.0/5.9/gcc_64/bin has 46 items. The folder of /opt/
Qt5.9.0/5.9/gcc_64/lib has 474 items.

At this point, I edit /home/sn/Seg3D/v2.4.1/Seg3D-2.4.1/build.sh (line 269)
From
...
qt5dir=
...
To
...
qt5dir=/opt/Qt5.9.0/5.9/gcc_64/
...
and again run build.sh.
[sn@localhost Seg3D-2.4.1]$ ./build.sh
...
At this moment, I do not get any error message about QT, but I stopped when
downloading 3.2.10.tar.gz from
https://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz, as mentioned below:

[sn@localhost Seg3D-2.4.1]$ ./build.sh
...
Built target boost
[ 36%] No install step for 'Boost_external'
[ 36%] Completed 'Boost_external'
[ 36%] Built target Boost_external
[ 37%] Performing download step (download, verify and extract) for
'Eigen_external'
-- File already exists but no hash specified (use URL_HASH):
  file='/home/sn/Seg3D/v2.4.1/Seg3D-2.4.1/bin/Externals/Download/
Eigen_external/3.2.10.tar.gz'
Old file will be removed and new file downloaded from URL.
-- downloading...
       src="'https://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz'
       dst='/home/sn/Seg3D/v2.4.1/Seg3D-2.4.1/bin/Externals/Download/
Eigen_external/3.2.10.tar.gz'
       timeout='none'
error: downloading 'https://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz'
failed
  status_code: 28
  status_string: "Timeout was reached"
  log:
  --- LOG BEGIN ---
    Trying 104.192.143.2...
TCP_NODELAY set
  Trying 2401:1d80:1010::151...
TCP_NODELAY set
Immediate connect fail for 2401:1d80:1010::151: Network is unreachable
  Trying 2401:1d80:1010::151...
...
TCP_NODELAY set
Immediate connect fail for 2401:1d80:1010::151: Network is unreachable
  Trying 2401:1d80:1010::151...
TCP_NODELAY set
Immediate connect fail for 2401:1d80:1010::151: Network is unreachable
Connection timed out after 300915 milliseconds
Curl_http_done: called premature == 1
stopped the pause stream!
Closing connection 0

  --- LOG END ---
-- Retrying...
-- downloading...
       src="'https://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz'
       dst='/home/sn/Seg3D/v2.4.1/Seg3D-2.4.1/bin/Externals/Download/
Eigen_external/3.2.10.tar.gz'
       timeout='none'

Why? Why can I download it? Can I ignore it?
Do I installed QT correctly? What is
Please guide me.
Thanks a lot.
Shahrokh


_______________________________________________
Seg3d mailing list:  Seg3d@sci.utah.edu
http://www.sci.utah.edu/software/seg3d.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe seg3d" in the message body.




Archive powered by MHonArc 2.6.18.

Top of page