<div dir="ltr">Rhys,<div><br></div><div>It configured just fine. You were missing Qt Data Visualization but that is not important. You can just run sudo make install after that and it would compile and installs.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Sun, Aug 5, 2018 at 2:22 AM, Rhys Morris <span dir="ltr"><<a href="mailto:R.Morris@bristol.ac.uk" target="_blank">R.Morris@bristol.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi kstars-devel,<br>
<br>
The git version does not get past cmake(3). See the output below.<br>
<br>
Thanks,<br>
Rhys<br>
<br>
root@draco build]# cmake3 -DCMAKE_INSTALL_PREFIX=/usr/<wbr>local/kstars-2.9.7git  ..<br>
-- Could not set up the appstream test. appstreamcli is missing.<br>
-- Found KF5: success (found version "5.47.0") found components:  NotifyConfig <br>
-- Found KF5: success (found version "5.47.0") found components:  Auth Config Crash DocTools WidgetsAddons NewStuff I18n KIO XmlGui Plotting Notifications <br>
-- Found CFITSIO: /usr/local/lib/libcfitsio.so<br>
-- Found INDI: , /usr/include/libindi<br>
-- Found INDI Client Library: /usr/lib64/libindiclient.a<br>
-- Found INDI: /usr/lib64/libindiclient.a, /usr/include/libindi<br>
-- Found WCSLIB: /usr/local/lib/libwcs.so, /usr/local/include/wcslib<br>
-- Found Xplanet: /bin/xplanet<br>
CMake Warning at CMakeLists.txt:227 (find_package):<br>
  By not providing "FindQt5DataVisualization.<wbr>cmake" in CMAKE_MODULE_PATH this<br>
  project has asked CMake to find a package configuration file provided by<br>
  "Qt5DataVisualization", but CMake did not find one.<br>
<br>
  Could not find a package configuration file provided by<br>
  "Qt5DataVisualization" with any of the following names:<br>
<br>
    Qt5DataVisualizationConfig.<wbr>cmake<br>
    qt5datavisualization-config.<wbr>cmake<br>
<br>
  Add the installation prefix of "Qt5DataVisualization" to CMAKE_PREFIX_PATH<br>
  or set "Qt5DataVisualization_DIR" to a directory containing one of the<br>
  above files.  If "Qt5DataVisualization" provides a separate development<br>
  package or SDK, be sure it has been installed.<br>
<br>
<br>
CMake Error: File /usr/local/kstars-2.9.7git/<wbr>kstars/version.h.cmake does not exist.<br>
CMake Error at CMakeLists.txt:398 (configure_file):<br>
  configure_file Problem configuring file<br>
<br>
<br>
CMake Error at CMakeLists.txt:405 (add_subdirectory):<br>
  add_subdirectory given source "kstars" which is not an existing directory.<br>
<br>
<br>
-- The following RUNTIME packages have been found:<br>
<br>
 * Xplanet, Renders an image of all the major planets and most satellites, <<a href="http://xplanet.sourceforge.net" rel="noreferrer" target="_blank">http://xplanet.sourceforge.<wbr>net</a>><br>
   Gives KStars support for xplanet.<br>
<br>
-- The following OPTIONAL packages have been found:<br>
<br>
 * KF5NotifyConfig<br>
 * CFitsio, FITS IO Library, <<a href="http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html" rel="noreferrer" target="_blank">http://heasarc.gsfc.nasa.gov/<wbr>fitsio/fitsio.html</a>><br>
   Support for the FITS (Flexible Image Transport System) data format in KStars.<br>
 * INDI (required version >= 1.7.1), Astronomical instrumentation control, <<a href="http://www.indilib.org" rel="noreferrer" target="_blank">http://www.indilib.org</a>><br>
   Support for controlling astronomical devices on Linux with KStars.<br>
 * PkgConfig<br>
 * LibRaw, Library for reading RAW files, <<a href="http://www.libraw.org" rel="noreferrer" target="_blank">http://www.libraw.org</a>><br>
   Support for reading and displaying RAW files in KStars.<br>
 * WCSLIB, World Coordinate System library, <<a href="http://www.atnf.csiro.au/people/mcalabre/WCS" rel="noreferrer" target="_blank">http://www.atnf.csiro.au/<wbr>people/mcalabre/WCS</a>><br>
   WCS enables KStars to read and process world coordinate systems in FITS header.<br>
 * Qt5Keychain<br>
 * OpenGL, Open Graphics Library, <<a href="http://www.opengl.org" rel="noreferrer" target="_blank">http://www.opengl.org</a>><br>
   Support for hardware rendering in KStars.<br>
<br>
-- The following REQUIRED packages have been found:<br>
<br>
 * ECM (required version >= 1.7.0)<br>
 * Qt5Gui<br>
 * Qt5Qml<br>
 * Qt5Quick<br>
 * Qt5Xml<br>
 * Qt5Sql<br>
 * Qt5Widgets (required version >= 5.9.2)<br>
 * Qt5Svg<br>
 * Qt5Network<br>
 * Qt5PrintSupport<br>
 * Qt5Concurrent<br>
 * Qt5WebSockets<br>
 * Qt5 (required version >= 5.4)<br>
 * Qt5Core<br>
 * KF5Auth<br>
 * KF5Config<br>
 * KF5Crash<br>
 * KF5DocTools<br>
 * KF5WidgetsAddons<br>
 * KF5NewStuff<br>
 * Gettext<br>
 * KF5I18n<br>
 * KF5KIO<br>
 * KF5XmlGui<br>
 * KF5Plotting<br>
 * KF5Notifications<br>
 * KF5<br>
 * Eigen3<br>
 * Qt5Test<br>
<br>
-- The following RUNTIME packages have not been found:<br>
<br>
 * AstrometryNet, Astrometrics Library, <<a href="http://www.astrometry.net" rel="noreferrer" target="_blank">http://www.astrometry.net</a>><br>
   Support for plate solving in KStars.<br>
<br>
-- The following OPTIONAL packages have not been found:<br>
<br>
 * Qt5DataVisualization<br>
<br>
-- Configuring incomplete, errors occurred!<br>
See also "/usr/local/kstars-2.9.7git/<wbr>build/CMakeFiles/CMakeOutput.<wbr>log".<br>
<br>
<br>
------------------------------<wbr>--------------<br>
Rhys Morris<br>
Bristol Astrophysics Group and<br>
Zone D, Astrophysics/Unix Support Specialist<br>
Room 4.13, HH Wills Physics Lab<br>
University of Bristol<br>
Telephone: 0117 39 41777<br>
<a href="mailto:R.Morris@bristol.ac.uk">R.Morris@bristol.ac.uk</a><br>
------------------------------<wbr>--------------<br>
<br>
<br>
______________________________<wbr>__________<br>
From: Kstars-devel <<a href="mailto:kstars-devel-bounces@kde.org">kstars-devel-bounces@kde.org</a>> on behalf of <a href="mailto:kstars-devel-request@kde.org">kstars-devel-request@kde.org</a> <<a href="mailto:kstars-devel-request@kde.org">kstars-devel-request@kde.org</a>><br>
Sent: 04 August 2018 12:00<br>
To: <a href="mailto:kstars-devel@kde.org">kstars-devel@kde.org</a><br>
Subject: Kstars-devel Digest, Vol 177, Issue 2<br>
<br>
Send Kstars-devel mailing list submissions to<br>
        <a href="mailto:kstars-devel@kde.org">kstars-devel@kde.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mail.kde.org/mailman/listinfo/kstars-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/<wbr>listinfo/kstars-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:kstars-devel-request@kde.org">kstars-devel-request@kde.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:kstars-devel-owner@kde.org">kstars-devel-owner@kde.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Kstars-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Problem building kstars on Enterprise Linux 7<br>
      (Christian Dersch)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Fri, 3 Aug 2018 17:22:47 +0200<br>
From: Christian Dersch <<a href="mailto:lupinix@mailbox.org">lupinix@mailbox.org</a>><br>
To: <a href="mailto:kstars-devel@kde.org">kstars-devel@kde.org</a><br>
Subject: Re: Problem building kstars on Enterprise Linux 7<br>
Message-ID: <<a href="mailto:36295772-c71c-0b0a-8dbb-333844727a94@mailbox.org">36295772-c71c-0b0a-8dbb-<wbr>333844727a94@mailbox.org</a>><br>
Content-Type: text/plain; charset=windows-1252; format=flowed<br>
<br>
Hi,<br>
<br>
this is quite common on EL7 with modern C++ code due to the old default<br>
compiler… In many cases it is worth to try newer GCC toolchain from<br>
software collections:<br>
<a href="https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/" rel="noreferrer" target="_blank">https://www.<wbr>softwarecollections.org/en/<wbr>scls/rhscl/devtoolset-7/</a><br>
<br>
Greetings,<br>
Christian<br>
<br>
<br>
On 03/08/18 17:04, Rhys Morris wrote:<br>
> Hi kstars devels,<br>
><br>
> I wand to try out Ekos, so I'm trying to build kstars 2.9.7 from source on Scientific Linux 7 (which is almost identical to Centos7 and RedHat Enterprise Linux7). I have installed a load of dependencies and built the most recent libindi. Cmake (or in my case cmake3 )runs fine, but make fails as below. I can provide more lines if required.<br>
><br>
> Any suggestions how to get past this would be gratefully received.<br>
> Regards,<br>
> Rhys<br>
><br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:265:13: note:   template argument deduction/substitution failed:<br>
> /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>1948:140: note:   candidate expects 3 arguments, 4 provided<br>
>           connect(alignProcess.get(), &Ekos::Align::<wbr>newCorrectionVector, ekosLiveClient.get()->media(), &EkosLive::Media::<wbr>setCorrectionVector);<br>
>                                                                                                                                              ^<br>
> In file included from /usr/include/qt5/QtCore/<wbr>qvariant.h:51:0,<br>
>                   from /usr/include/qt5/QtCore/<wbr>QVariant:1,<br>
>                   from /usr/local/kstars-2.9.7/build/<wbr>kstars/ui_ekosmanager.h:14,<br>
>                   from /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.h:19,<br>
>                   from /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>10:<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:274:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(<wbr>QtPrivate::FunctionPointer<<wbr>Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<<wbr>Func2>::<wbr>IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)<br>
>               connect(const typename QtPrivate::FunctionPointer<<wbr>Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,<br>
>               ^<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:274:13: note:   template argument deduction/substitution failed:<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h: In substitution of ‘template<class Func1, class Func2> static typename std::enable_if<(((int)(<wbr>QtPrivate::FunctionPointer<<wbr>Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<<wbr>Func2>::<wbr>IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = void (Ekos::Align::*)(QLineF); Func2 = void (EkosLive::Media::*)(QLineF)]’<wbr>:<br>
> /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>1948:140:   required from here<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:274:13: error: no type named ‘type’ in ‘struct std::enable_if<false, QMetaObject::Connection>’<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:305:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::<wbr>FunctionPointer<Func2>::<wbr>ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, Func2)<br>
>               connect(const typename QtPrivate::FunctionPointer<<wbr>Func1>::Object *sender, Func1 signal, Func2 slot)<br>
>               ^<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:305:13: note:   template argument deduction/substitution failed:<br>
> /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>1948:140: note:   candidate expects 3 arguments, 4 provided<br>
>           connect(alignProcess.get(), &Ekos::Align::<wbr>newCorrectionVector, ekosLiveClient.get()->media(), &EkosLive::Media::<wbr>setCorrectionVector);<br>
>                                                                                                                                              ^<br>
> In file included from /usr/include/qt5/QtCore/<wbr>qvariant.h:51:0,<br>
>                   from /usr/include/qt5/QtCore/<wbr>QVariant:1,<br>
>                   from /usr/local/kstars-2.9.7/build/<wbr>kstars/ui_ekosmanager.h:14,<br>
>                   from /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.h:19,<br>
>                   from /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>10:<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:313:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::<wbr>FunctionPointer<Func2>::<wbr>ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)<br>
>               connect(const typename QtPrivate::FunctionPointer<<wbr>Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,<br>
>               ^<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:313:13: note:   template argument deduction/substitution failed:<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h: In substitution of ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::<wbr>FunctionPointer<Func2>::<wbr>ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = void (Ekos::Align::*)(QLineF); Func2 = void (EkosLive::Media::*)(QLineF)]’<wbr>:<br>
> /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>1948:140:   required from here<br>
> /usr/include/qt5/QtCore/<wbr>qobject.h:313:13: error: no type named ‘type’ in ‘struct std::enable_if<false, QMetaObject::Connection>’<br>
> make[2]: *** [kstars/CMakeFiles/KStarsLib.<wbr>dir/ekos/ekosmanager.cpp.o] Error 1<br>
> make[1]: *** [kstars/CMakeFiles/KStarsLib.<wbr>dir/all] Error 2<br>
> make: *** [all] Error 2<br>
><br>
><br>
><br>
> ------------------------------<wbr>--------------<br>
> Rhys Morris<br>
> Bristol Astrophysics Group and<br>
> Zone D, Astrophysics/Unix Support Specialist<br>
> Room 4.13, HH Wills Physics Lab<br>
> University of Bristol<br>
> Telephone: 0117 39 41777<br>
> <a href="mailto:R.Morris@bristol.ac.uk">R.Morris@bristol.ac.uk</a><br>
> ------------------------------<wbr>--------------<br>
><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Kstars-devel mailing list<br>
<a href="mailto:Kstars-devel@kde.org">Kstars-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kstars-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/<wbr>listinfo/kstars-devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Kstars-devel Digest, Vol 177, Issue 2<br>
******************************<wbr>**************<br>
</blockquote></div><br></div>