<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" 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="moz-cite-prefix">On 2019-01-29 2:44 p.m., Steve Maher
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEEDN17ooMAYabqLTKok4kSMef3qPX_W8-yyaMN=-Q46NxV_Jg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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" moz-do-not-send="true">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="moz-signature" cols="72">--
C. Barth Netterfield
416-845-0946</pre>
</body>
</html>