Kstars-devel Digest, Vol 177, Issue 2

Rhys Morris R.Morris at bristol.ac.uk
Sun Aug 5 22:53:19 BST 2018


Hi Jasem,

Thanks for your help with this.
Unfortunately, no Makefile was created, see the listing below.

Regards,
Rhys

build[draco]rahm: pwd
/usr/local/kstars-2.9.7git/build
build[draco]rahm: \ls -l
total 80
-rw-r--r-- 1 root root  40217 Aug  5 00:18 CMakeCache.txt
drwxr-xr-x 5 rahm users  4096 Aug  3 23:47 CMakeFiles
-rw-r--r-- 1 rahm users   508 Aug  3 23:31 config-kstars.h
drwxr-xr-x 3 rahm users  4096 Aug  5 22:45 datahandlers
drwxr-xr-x 3 rahm users  4096 Aug  3 23:18 doc
-rw-r--r-- 1 rahm users   884 Aug  3 23:18 ecm_uninstall.cmake
drwxr-xr-x 2 rahm users  4096 Aug  3 23:18 locale
-rw-r--r-- 1 rahm users   301 Aug  3 23:18 org.kde.kf5auth.kstars.conf
-rw-r--r-- 1 rahm users   102 Aug  3 23:18 org.kde.kf5auth.kstars.service
-rw-r--r-- 1 root root    538 Aug  5 00:18 prefix.sh
drwxr-xr-x 6 rahm users  4096 Aug  3 23:18 Tests


--------------------------------------------
Rhys Morris
Bristol Astrophysics Group and
Zone D, Astrophysics/Unix Support Specialist
Room 4.13, HH Wills Physics Lab
University of Bristol
Telephone: 0117 39 41777
R.Morris at bristol.ac.uk
--------------------------------------------


________________________________________
From: Jasem Mutlaq <mutlaqja at ikarustech.com>
Sent: 05 August 2018 06:13
To: Rhys Morris
Cc: kstars-devel at kde.org
Subject: Re: Kstars-devel Digest, Vol 177, Issue 2

Rhys,

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.

Best Regards,
Jasem Mutlaq


On Sun, Aug 5, 2018 at 2:22 AM, Rhys Morris <R.Morris at bristol.ac.uk<mailto:R.Morris at bristol.ac.uk>> wrote:
Hi kstars-devel,

The git version does not get past cmake(3). See the output below.

Thanks,
Rhys

root at draco build]# cmake3 -DCMAKE_INSTALL_PREFIX=/usr/local/kstars-2.9.7git  ..
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5: success (found version "5.47.0") found components:  NotifyConfig
-- Found KF5: success (found version "5.47.0") found components:  Auth Config Crash DocTools WidgetsAddons NewStuff I18n KIO XmlGui Plotting Notifications
-- Found CFITSIO: /usr/local/lib/libcfitsio.so
-- Found INDI: , /usr/include/libindi
-- Found INDI Client Library: /usr/lib64/libindiclient.a
-- Found INDI: /usr/lib64/libindiclient.a, /usr/include/libindi
-- Found WCSLIB: /usr/local/lib/libwcs.so, /usr/local/include/wcslib
-- Found Xplanet: /bin/xplanet
CMake Warning at CMakeLists.txt:227 (find_package):
  By not providing "FindQt5DataVisualization.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5DataVisualization", but CMake did not find one.

  Could not find a package configuration file provided by
  "Qt5DataVisualization" with any of the following names:

    Qt5DataVisualizationConfig.cmake
    qt5datavisualization-config.cmake

  Add the installation prefix of "Qt5DataVisualization" to CMAKE_PREFIX_PATH
  or set "Qt5DataVisualization_DIR" to a directory containing one of the
  above files.  If "Qt5DataVisualization" provides a separate development
  package or SDK, be sure it has been installed.


CMake Error: File /usr/local/kstars-2.9.7git/kstars/version.h.cmake does not exist.
CMake Error at CMakeLists.txt:398 (configure_file):
  configure_file Problem configuring file


CMake Error at CMakeLists.txt:405 (add_subdirectory):
  add_subdirectory given source "kstars" which is not an existing directory.


-- The following RUNTIME packages have been found:

 * Xplanet, Renders an image of all the major planets and most satellites, <http://xplanet.sourceforge.net>
   Gives KStars support for xplanet.

-- The following OPTIONAL packages have been found:

 * KF5NotifyConfig
 * CFitsio, FITS IO Library, <http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html>
   Support for the FITS (Flexible Image Transport System) data format in KStars.
 * INDI (required version >= 1.7.1), Astronomical instrumentation control, <http://www.indilib.org>
   Support for controlling astronomical devices on Linux with KStars.
 * PkgConfig
 * LibRaw, Library for reading RAW files, <http://www.libraw.org>
   Support for reading and displaying RAW files in KStars.
 * WCSLIB, World Coordinate System library, <http://www.atnf.csiro.au/people/mcalabre/WCS>
   WCS enables KStars to read and process world coordinate systems in FITS header.
 * Qt5Keychain
 * OpenGL, Open Graphics Library, <http://www.opengl.org>
   Support for hardware rendering in KStars.

-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.7.0)
 * Qt5Gui
 * Qt5Qml
 * Qt5Quick
 * Qt5Xml
 * Qt5Sql
 * Qt5Widgets (required version >= 5.9.2)
 * Qt5Svg
 * Qt5Network
 * Qt5PrintSupport
 * Qt5Concurrent
 * Qt5WebSockets
 * Qt5 (required version >= 5.4)
 * Qt5Core
 * KF5Auth
 * KF5Config
 * KF5Crash
 * KF5DocTools
 * KF5WidgetsAddons
 * KF5NewStuff
 * Gettext
 * KF5I18n
 * KF5KIO
 * KF5XmlGui
 * KF5Plotting
 * KF5Notifications
 * KF5
 * Eigen3
 * Qt5Test

-- The following RUNTIME packages have not been found:

 * AstrometryNet, Astrometrics Library, <http://www.astrometry.net>
   Support for plate solving in KStars.

-- The following OPTIONAL packages have not been found:

 * Qt5DataVisualization

-- Configuring incomplete, errors occurred!
See also "/usr/local/kstars-2.9.7git/build/CMakeFiles/CMakeOutput.log".


--------------------------------------------
Rhys Morris
Bristol Astrophysics Group and
Zone D, Astrophysics/Unix Support Specialist
Room 4.13, HH Wills Physics Lab
University of Bristol
Telephone: 0117 39 41777
R.Morris at bristol.ac.uk<mailto:R.Morris at bristol.ac.uk>
--------------------------------------------


________________________________________
From: Kstars-devel <kstars-devel-bounces at kde.org<mailto:kstars-devel-bounces at kde.org>> on behalf of kstars-devel-request at kde.org<mailto:kstars-devel-request at kde.org> <kstars-devel-request at kde.org<mailto:kstars-devel-request at kde.org>>
Sent: 04 August 2018 12:00
To: kstars-devel at kde.org<mailto:kstars-devel at kde.org>
Subject: Kstars-devel Digest, Vol 177, Issue 2

Send Kstars-devel mailing list submissions to
        kstars-devel at kde.org<mailto:kstars-devel at kde.org>

To subscribe or unsubscribe via the World Wide Web, visit
        https://mail.kde.org/mailman/listinfo/kstars-devel
or, via email, send a message with subject or body 'help' to
        kstars-devel-request at kde.org<mailto:kstars-devel-request at kde.org>

You can reach the person managing the list at
        kstars-devel-owner at kde.org<mailto:kstars-devel-owner at kde.org>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Kstars-devel digest..."


Today's Topics:

   1. Re: Problem building kstars on Enterprise Linux 7
      (Christian Dersch)


----------------------------------------------------------------------

Message: 1
Date: Fri, 3 Aug 2018 17:22:47 +0200
From: Christian Dersch <lupinix at mailbox.org<mailto:lupinix at mailbox.org>>
To: kstars-devel at kde.org<mailto:kstars-devel at kde.org>
Subject: Re: Problem building kstars on Enterprise Linux 7
Message-ID: <36295772-c71c-0b0a-8dbb-333844727a94 at mailbox.org<mailto:36295772-c71c-0b0a-8dbb-333844727a94 at mailbox.org>>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

this is quite common on EL7 with modern C++ code due to the old default
compiler… In many cases it is worth to try newer GCC toolchain from
software collections:
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/

Greetings,
Christian


On 03/08/18 17:04, Rhys Morris wrote:
> Hi kstars devels,
>
> 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.
>
> Any suggestions how to get past this would be gratefully received.
> Regards,
> Rhys
>
> /usr/include/qt5/QtCore/qobject.h:265:13: note:   template argument deduction/substitution failed:
> /usr/local/kstars-2.9.7/kstars/ekos/ekosmanager.cpp:1948:140: note:   candidate expects 3 arguments, 4 provided
>           connect(alignProcess.get(), &Ekos::Align::newCorrectionVector, ekosLiveClient.get()->media(), &EkosLive::Media::setCorrectionVector);
>                                                                                                                                              ^
> In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
>                   from /usr/include/qt5/QtCore/QVariant:1,
>                   from /usr/local/kstars-2.9.7/build/kstars/ui_ekosmanager.h:14,
>                   from /usr/local/kstars-2.9.7/kstars/ekos/ekosmanager.h:19,
>                   from /usr/local/kstars-2.9.7/kstars/ekos/ekosmanager.cpp:10:
> /usr/include/qt5/QtCore/qobject.h:274:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
>               connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
>               ^
> /usr/include/qt5/QtCore/qobject.h:274:13: note:   template argument deduction/substitution failed:
> /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = void (Ekos::Align::*)(QLineF); Func2 = void (EkosLive::Media::*)(QLineF)]’:
> /usr/local/kstars-2.9.7/kstars/ekos/ekosmanager.cpp:1948:140:   required from here
> /usr/include/qt5/QtCore/qobject.h:274:13: error: no type named ‘type’ in ‘struct std::enable_if<false, QMetaObject::Connection>’
> /usr/include/qt5/QtCore/qobject.h:305:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
>               connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
>               ^
> /usr/include/qt5/QtCore/qobject.h:305:13: note:   template argument deduction/substitution failed:
> /usr/local/kstars-2.9.7/kstars/ekos/ekosmanager.cpp:1948:140: note:   candidate expects 3 arguments, 4 provided
>           connect(alignProcess.get(), &Ekos::Align::newCorrectionVector, ekosLiveClient.get()->media(), &EkosLive::Media::setCorrectionVector);
>                                                                                                                                              ^
> In file included from /usr/include/qt5/QtCore/qvariant.h:51:0,
>                   from /usr/include/qt5/QtCore/QVariant:1,
>                   from /usr/local/kstars-2.9.7/build/kstars/ui_ekosmanager.h:14,
>                   from /usr/local/kstars-2.9.7/kstars/ekos/ekosmanager.h:19,
>                   from /usr/local/kstars-2.9.7/kstars/ekos/ekosmanager.cpp:10:
> /usr/include/qt5/QtCore/qobject.h:313:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
>               connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
>               ^
> /usr/include/qt5/QtCore/qobject.h:313:13: note:   template argument deduction/substitution failed:
> /usr/include/qt5/QtCore/qobject.h: In substitution of ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = void (Ekos::Align::*)(QLineF); Func2 = void (EkosLive::Media::*)(QLineF)]’:
> /usr/local/kstars-2.9.7/kstars/ekos/ekosmanager.cpp:1948:140:   required from here
> /usr/include/qt5/QtCore/qobject.h:313:13: error: no type named ‘type’ in ‘struct std::enable_if<false, QMetaObject::Connection>’
> make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/ekos/ekosmanager.cpp.o] Error 1
> make[1]: *** [kstars/CMakeFiles/KStarsLib.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
> --------------------------------------------
> Rhys Morris
> Bristol Astrophysics Group and
> Zone D, Astrophysics/Unix Support Specialist
> Room 4.13, HH Wills Physics Lab
> University of Bristol
> Telephone: 0117 39 41777
> R.Morris at bristol.ac.uk<mailto:R.Morris at bristol.ac.uk>
> --------------------------------------------
>



------------------------------

Subject: Digest Footer

_______________________________________________
Kstars-devel mailing list
Kstars-devel at kde.org<mailto:Kstars-devel at kde.org>
https://mail.kde.org/mailman/listinfo/kstars-devel


------------------------------

End of Kstars-devel Digest, Vol 177, Issue 2
********************************************



More information about the Kstars-devel mailing list