<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Barth,<div><br></div><div>Thanks for the reply. <i>cmake ../kst</i> fails miserably, however. I wonder if I have an incompatible version of one of the tools (see Install Info below). Or is there a sneaky environment variable I need to set? Below I first provide the cmake output and then some installation details. Perhaps you could compare to your installation?</div><div><br></div><div><font size="4"><i>cmake ../kst</i> output</font></div><div><br></div><div><div><font face="monospace, monospace" size="1">mce@ubuntu18:~/git/kst-build$ cmake ../kst</font></div><div><font face="monospace, monospace" size="1">CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy):</font></div><div><font face="monospace, monospace" size="1"> The OLD behavior for policy CMP0020 will be removed from a future version</font></div><div><font face="monospace, monospace" size="1"> of CMake.</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1"> The cmake-policies(7) manual explains that the OLD behaviors of all</font></div><div><font face="monospace, monospace" size="1"> policies are deprecated and that a policy should be set to OLD only under</font></div><div><font face="monospace, monospace" size="1"> specific short-term circumstances. Projects should be ported to the NEW</font></div><div><font face="monospace, monospace" size="1"> behavior and not rely on setting a policy to OLD.</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">-- </font></div><div><font face="monospace, monospace" size="1">-- Using GCC version 7</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">-- 3rd party libs for plugins--------------------</font></div><div><font face="monospace, monospace" size="1">-- <b>Not found: GetData</b>.</font></div><div><font face="monospace, monospace" size="1">-- If GetData is installed outside the CMake search path,</font></div><div><font face="monospace, monospace" size="1">-- set the environmental variable GETDATA_DIR to the</font></div><div><font face="monospace, monospace" size="1">-- GetData install prefix.</font></div><div><font face="monospace, monospace" size="1">-- </font></div><div><font face="monospace, monospace" size="1">-- Not found: GSL.</font></div><div><font face="monospace, monospace" size="1">-- If GSL is installed outside the CMake search path,</font></div><div><font face="monospace, monospace" size="1">-- set the environmental variable GSL_DIR to the</font></div><div><font face="monospace, monospace" size="1">-- GSL install prefix.</font></div><div><font face="monospace, monospace" size="1">-- </font></div><div><font face="monospace, monospace" size="1">-- Not found: NetCDF.</font></div><div><font face="monospace, monospace" size="1">-- If NetCDF is installed outside the CMake search path,</font></div><div><font face="monospace, monospace" size="1">-- set the environmental variable NETCDF_DIR to the</font></div><div><font face="monospace, monospace" size="1">-- NetCDF install prefix.</font></div><div><font face="monospace, monospace" size="1">-- </font></div><div><font face="monospace, monospace" size="1">-- Not found: matio, set MATIO_DIR</font></div><div><font face="monospace, monospace" size="1">-- </font></div><div><font face="monospace, monospace" size="1">-- Not found: CFITSIO, set CFITSIO_DIR</font></div><div><font face="monospace, monospace" size="1">-- </font></div><div><font face="monospace, monospace" size="1">-- Not found: TIFF, set TIFF_DIR</font></div><div><font face="monospace, monospace" size="1">-- </font></div><div><font face="monospace, monospace" size="1">-- ----------------------------------------------</font></div><div><font face="monospace, monospace" size="1">-- </font></div><div><font face="monospace, monospace" size="1">CMake Error at CMakeLists.txt:187 (find_package):</font></div><div><font face="monospace, monospace" size="1"> By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has</font></div><div><font face="monospace, monospace" size="1"> asked CMake to find a package configuration file provided by "Qt5Core", but</font></div><div><font face="monospace, monospace" size="1"> CMake did not find one.</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1"> Could not find a package configuration file provided by "Qt5Core" with any</font></div><div><font face="monospace, monospace" size="1"> of the following names:</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1"> Qt5CoreConfig.cmake</font></div><div><font face="monospace, monospace" size="1"> qt5core-config.cmake</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1"> Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set</font></div><div><font face="monospace, monospace" size="1"> "Qt5Core_DIR" to a directory containing one of the above files. If</font></div><div><font face="monospace, monospace" size="1"> "Qt5Core" provides a separate development package or SDK, be sure it has</font></div><div><font face="monospace, monospace" size="1"> been installed.</font></div><div><font face="monospace, monospace" size="1">Call Stack (most recent call first):</font></div><div><font face="monospace, monospace" size="1"> CMakeLists.txt:190 (use_qt5lib)</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">-- Configuring incomplete, errors occurred!</font></div><div><font face="monospace, monospace" size="1">See also "/home/mce/git/kst-build/CMakeFiles/CMakeOutput.log".</font></div><div><font face="monospace, monospace" size="1">mce@ubuntu18:~/git/kst-build$</font> </div></div><div><br></div><div><div><br class="gmail-Apple-interchange-newline">Comments:</div><div><ol><li>Perhaps not finding (the <b>installed</b>) getdata lib is a clue, but I couldn't easily grok <i>cmake/modules/FindGetdata.cmake</i></li><li>It seems to not be happy with my Qt5 install (although I do have the Qt5 core installed). I couldn't find a Qt5CoreConfig.cmake file anywhere, as it suggested</li></ol><div><br></div></div></div><div><font size="4">Install Info</font></div><div><font size="4"><br></font></div><div><div><font face="monospace, monospace" size="1">mce@ubuntu18:/usr/lib$ <b>dpkg -l getdata cmake </b></font></div><div><span style="font-family:monospace,monospace;font-size:x-small">||/ Name Version Architecture Description</span><br></div><div><font face="monospace, monospace" size="1">+++-==================================================-==============================-==============================-==========================================================================================================</font></div><div><font face="monospace, monospace" size="1">ii cmake 3.10.2-1ubuntu2 amd64 cross-platform, open-source make system</font></div><div><font face="monospace, monospace" size="1">ii getdata 0.2-2 all management of external databases</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">mce@ubuntu18:/usr/lib$ <b>find /usr/lib | grep getdata</b></font></div><div><font face="monospace, monospace" size="1">/usr/lib/x86_64-linux-gnu/libgetdata.so.8.0.0</font></div><div><font face="monospace, monospace" size="1">/usr/lib/x86_64-linux-gnu/libgetdata.so.8</font></div><div><font face="monospace, monospace" size="1">/usr/lib/x86_64-linux-gnu/libgetdata++.so.7.0.0</font></div><div><font face="monospace, monospace" size="1">/usr/lib/x86_64-linux-gnu/libgetdata++.so.7</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">mce@ubuntu18:/usr/lib$ <b>dpkg -l | grep qt</b></font></div><div><font face="monospace, monospace" size="1">ii gnuplot-qt 5.2.2+dfsg1-2ubuntu1 amd64 Command-line driven interactive plotting program. QT-package</font></div><div><font face="monospace, monospace" size="1">ii libqt4-dbus:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 D-Bus module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-declarative:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 Declarative module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-designer:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 designer module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-help:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 help module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-network:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 network module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-script:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 script module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-scripttools:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 script tools module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-sql:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 SQL module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-sql-mysql:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 MySQL database driver</font></div><div><font face="monospace, monospace" size="1">ii libqt4-svg:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 SVG module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-test:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 test module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-xml:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 XML module</font></div><div><font face="monospace, monospace" size="1">ii libqt4-xmlpatterns:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 XML patterns module</font></div><div><font face="monospace, monospace" size="1">ii libqt5core5a:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 core module</font></div><div><font face="monospace, monospace" size="1">ii libqt5dbus5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 D-Bus module</font></div><div><font face="monospace, monospace" size="1">ii libqt5gui5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GUI module</font></div><div><font face="monospace, monospace" size="1">ii libqt5network5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 network module</font></div><div><font face="monospace, monospace" size="1">ii libqt5printsupport5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 print support module</font></div><div><font face="monospace, monospace" size="1">ii libqt5svg5:amd64 5.9.5-0ubuntu1 amd64 Qt 5 SVG module</font></div><div><font face="monospace, monospace" size="1">ii libqt5widgets5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 widgets module</font></div><div><font face="monospace, monospace" size="1">ii libqt5xml5:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 XML module</font></div><div><font face="monospace, monospace" size="1">ii libqtassistantclient4:amd64 4.6.3-7build1 amd64 Qt Assistant client library (runtime)</font></div><div><font face="monospace, monospace" size="1">ii libqtcore4:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 core module</font></div><div><font face="monospace, monospace" size="1">ii libqtdbus4:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 D-Bus module library</font></div><div><font face="monospace, monospace" size="1">ii libqtgui4:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 GUI module</font></div><div><font face="monospace, monospace" size="1">ii python-qt4 4.12.1+dfsg-2 amd64 Python bindings for Qt4</font></div><div><font face="monospace, monospace" size="1">ii qt-at-spi:amd64 0.4.0-8 amd64 at-spi accessibility plugin for Qt</font></div><div><font face="monospace, monospace" size="1">ii qt4-qmake 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 qmake Makefile generator tool</font></div><div><font face="monospace, monospace" size="1">ii qt5-gtk-platformtheme:amd64 5.9.5+dfsg-0ubuntu1 amd64 Qt 5 GTK+ 3 platform theme</font></div><div><font face="monospace, monospace" size="1">ii qtchooser 64-ga1b6736-5 amd64 Wrapper to select between Qt development binary versions</font></div><div><font face="monospace, monospace" size="1">ii qtcore4-l10n 4:4.8.7+dfsg-7ubuntu1 all Qt 4 core module translations</font></div><div><font face="monospace, monospace" size="1">ii qttranslations5-l10n 5.9.5-0ubuntu1 all translations for Qt 5</font></div></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 30, 2019 at 2:12 PM Barth Netterfield <<a href="mailto:barth.netterfield@gmail.com">barth.netterfield@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>It looks like the INSTALL scripts could use some updating, and
build-kst needs to be removed, as qmake is no longer supported.</p>
<p>I normally build from qtcreator, but to try building by hand, I
just did the following:</p>
<p>from a directory parallel to the kst source directory:</p>
<p> cmake ../kst <br>
cmake -Dkst_qt5=1 -Dkst_release=1 -Dkst_merge_files=1 ../kst<br>
make -j 4<br>
./build/bin/kst2 <br>
</p>
<p>Horray! kst runs.</p>
<p>cbn</p>
<p><br>
</p>
<div class="gmail-m_7556471051757967895moz-cite-prefix">On 2019-01-29 2:44 p.m., Steve Maher
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I'm looking for a kind soul to guide me with building
kst.</div>
<div><br>
</div>
<div>I was having issues with a pyKst thingy and decided
to (once again) try to build kst and understand/fix my
own issue instead of posting for help.</div>
<div><br>
</div>
<div>This is the third time in about 3 years I've
attempted to build and have yet to succeed.</div>
<div><br>
</div>
<div>I'll try and make this concise ... to attract a
nibble =)</div>
<div><br>
</div>
<div>
<ul>
<li>I'm assuming Linux is the smoothest process, so
I'm on Ubuntu 18.04.1 and using the github tip
(commit 741973 right now).<br>
</li>
<li>I've tried following both INSTALL and
INSTALL.qmake (I'm not sure which one to follow).
Both have failed. For this email, assume
INSTALL.qmake.</li>
<li>I've installed QT5 (open source, set QTDIR to
/opt/Qt), pkg-config, gsl-bin and generator
scripting language (don't know which one kst needs -
but it is still complaining!)</li>
<li>Because of the gsl complaint, I've DISABLED (set
to 0) DISABLE_GSL, CFITSIO, and DIRFILE in
config.pri</li>
<li>cmake --version returns 3.10.2</li>
</ul>
<div><br>
</div>
</div>
<div>output of ./build-kst</div>
<div><br>
</div>
<div>
<div><font face="monospace, monospace">mce@ubuntu18:~/git/kst$
./build-kst</font></div>
<div><font face="monospace, monospace">Building Kst from
/home/mce/git/kst into /home/mce/git/kst/build</font></div>
<div><font face="monospace, monospace">Building in Debug
mode</font></div>
<div><font face="monospace, monospace">Reading
/home/mce/git/kst/src/libkst/<a href="http://libkst.pro" target="_blank">libkst.pro</a>
[/home/mce/git/kst/build/src/libkst]</font></div>
<div><font face="monospace, monospace">WARNING: Failure
to find: builtindatasources.cpp</font></div>
<div><font face="monospace, monospace">WARNING: Failure
to find: datasourcepluginfactory.cpp</font></div>
<div><font face="monospace, monospace">WARNING: Failure
to find: builtindatasources.h</font></div>
</div>
<div><br>
</div>
<div>[snip]</div>
<div><br>
</div>
<div>
<div><font face="monospace, monospace">cd src/libkst/
&& make -f Makefile </font></div>
<div><font face="monospace, monospace">make[1]: Entering
directory '/home/mce/git/kst/build/src/libkst'</font></div>
<div><font face="monospace, monospace">make[1]: *** No
rule to make target 'builtindatasources.cpp', needed
by 'tmp/builtindatasources.o'. Stop.</font></div>
<div><font face="monospace, monospace">make[1]: Leaving
directory '/home/mce/git/kst/build/src/libkst'</font></div>
<div><font face="monospace, monospace">Makefile:48:
recipe for target
'sub-src-libkst-make_default-ordered' failed</font></div>
<div><font face="monospace, monospace">make: ***
[sub-src-libkst-make_default-ordered] Error 2</font></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>The files are in the tree</div>
<div><br>
</div>
<div>
<div><font face="monospace, monospace">mce@ubuntu18:~/git/kst$
find | grep builtind</font></div>
<div><font face="monospace, monospace">./src/libkstapp/builtindatasources.cpp</font></div>
<div><font face="monospace, monospace">./src/libkstapp/builtindatasources.h</font></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I don't know enough cmake at this point to debug.
Any tips would be GREATLY appreciated!</div>
<div><br>
</div>
<div>Steve</div>
</div>
</div>
</div>
</div>
</blockquote>
<pre class="gmail-m_7556471051757967895moz-signature" cols="72">--
C. Barth Netterfield
416-845-0946</pre>
</div>
</blockquote></div>