Error during installation on Fedora 25

rvp@localhost build$ cmake …/
– The C compiler identification is GNU 6.3.1
– The CXX compiler identification is GNU 6.3.1
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/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/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– The build type is RelWithDebInfo
– Performing Test HAVE_NO_RTTI
– Performing Test HAVE_NO_RTTI - Success
– Performing Test HAVE_RTTI
– Performing Test HAVE_RTTI - Success
– Performing Test HAVE_GCC_VISIBILITY
– Performing Test HAVE_GCC_VISIBILITY - Success
– Performing Test COMPILES_WITHOUT_FPERMISSIVE
– Performing Test COMPILES_WITHOUT_FPERMISSIVE - Failed
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1328 (message):
Found unsuitable Qt version “” from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
CMakeLists.txt:226 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/rvp/opt/avogadro-1.2.0/build/CMakeFiles/CMakeOutput.log”.
See also “/home/rvp/opt/avogadro-1.2.0/build/CMakeFiles/CMakeError.log”.
rvp@localhost build$
rvp@localhost build$

You clearly don’t have the Qt development packages installed.

Found unsuitable Qt version “” from NOTFOUND, this code requires Qt 4.x

Thanks.
Do we have Avogadro 2 for linux?

Of course:

http://wiki.openchemistry.org/Build

Hello and thanks for quick response.
I see “SSL connect error” during ‘cmake --build . --config Release’

  • File already exists but hash mismatch. Removing…
    – downloading…
    src=‘https://github.com/libarchive/libarchive/archive/v3.2.2.tar.gz
    dst=’/home/username/Downloads/v3.2.2.tar.gz’
    timeout='none’
    error: downloading ‘https://github.com/libarchive/libarchive/archive/v3.2.2.tar.gz’ failed
    status_code: 35
    status_string: "SSL connect error"
    log:
    — LOG BEGIN —
    Trying 192.30.253.113…
    TCP_NODELAY set
    Connected to github.com (192.30.253.113) port 443 (#0)
    Initializing NSS with certpath: sql:/etc/pki/nssdb
    warning: ignoring value of ssl.verifyhost
    skipping SSL peer certificate verification
    ALPN, server accepted to use http/1.1
    SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
    Server certificate:
    subject: CN=github.com,O=“GitHub, Inc.”,L=San Francisco,ST=California,C=US,postalCode=94107,STREET=“88 Colin P Kelly, Jr Street”,serialNumber=5157550,incorporationState=Delaware,incorporationCountry=US,businessCategory=Private Organization
    start date: Mar 10 00:00:00 2016 GMT
    expire date: May 17 12:00:00 2018 GMT
    common name: github.com
    issuer: CN=DigiCert SHA2 Extended Validation Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US
    GET /libarchive/libarchive/archive/v3.2.2.tar.gz HTTP/1.1
    Host: github.com
    User-Agent: curl/7.50.3
    Accept: /

HTTP/1.1 302 Found
Server: GitHub.com
Date: Wed, 22 Mar 2017 08:37:00 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Status: 302 Found
Cache-Control: no-cache
Vary: X-PJAX
Location: https://codeload.github.com/libarchive/libarchive/tar.gz/v3.2.2
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sun, 22 Mar 2037 08:37:00 -0000; secure; HttpOnly
Set-Cookie: _gh_sess=eyJzZXNzaW9uX2lkIjoiMmZkZTM4MWE2NWM1NDdjYjExNGRmMGE4YzhmZWJiNjQiLCJzcHlfcmVwbyI6ImxpYmFyY2hpdmUvbGliYXJjaGl2ZSIsInNweV9yZXBvX2F0IjoxNDkwMTcxODIwfQ%3D%3D–cd243a6410fd472fdb04401c0765ea053f9800b5; path=/; secure; HttpOnly
X-Request-Id: 698c1692fb9e03e9d90eb1cd954238cb
X-Runtime: 0.015363
Content-Security-Policy: default-src ‘none’; base-uri ‘self’; block-all-mixed-content; child-src render.githubusercontent.com; connect-src ‘self’ uploads.github.com status.github.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com wss://live.github.com; font-src assets-cdn.github.com; form-action ‘self’ github.com gist.github.com; frame-ancestors ‘none’; img-src ‘self’ data: assets-cdn.github.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; media-src ‘none’; script-src assets-cdn.github.com; style-src ‘unsafe-inline’ assets-cdn.github.com
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Public-Key-Pins: max-age=5184000; pin-sha256=“WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=”; pin-sha256=“RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=”; pin-sha256=“k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws=”; pin-sha256=“K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q=”; pin-sha256=“IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4=”; pin-sha256=“iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0=”; pin-sha256=“LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A=”; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
Vary: Accept-Encoding
X-Served-By: 93e250bfa62a70489edea0a57475ced6
X-GitHub-Request-Id: 8166:2D31D:24408A:3BB73B:58D237AC

Ignoring the response-body
[140 bytes data]
Curl_http_done: called premature == 0
Connection #0 to host github.com left intact
Issue another request to this URL: 'https://codeload.github.com/libarchive/libarchive/tar.gz/v3.2.2
Trying 192.30.253.121…
TCP_NODELAY set
Connected to codeload.github.com (192.30.253.121) port 443 (#1)
warning: ignoring value of ssl.verifyhost
NSS error -5938 (PR_END_OF_FILE_ERROR)
Encountered end of file
Curl_http_done: called premature == 1
stopped the pause stream!
Closing connection 1

— LOG END —
CMake Error at libarchive-prefix/src/libarchive-stamp/download-libarchive.cmake:161 (message):
Downloading failed

thirdparty/CMakeFiles/libarchive.dir/build.make:89: recipe for target ‘thirdparty/libarchive-prefix/src/libarchive-stamp/libarchive-download’ failed
gmake[2]: *** [thirdparty/libarchive-prefix/src/libarchive-stamp/libarchive-download] Error 1
CMakeFiles/Makefile2:284: recipe for target ‘thirdparty/CMakeFiles/libarchive.dir/all’ failed
gmake[1]: *** [thirdparty/CMakeFiles/libarchive.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
gmake: *** [all] Error 2
username@localhost openchemistry-build$

Whatever version of Cmake you’re using doesn’t have SSL enabled.

You should upgrade your cmake. Downloading from HTTP is insecure.