<div dir="ltr">Martin,<div><br></div><div>I really don't know the ins and outs of how the build is put together--Jasem is certainly the expert on building KStars--but I do build it all the time, and would like to share some things that have worked for me when I've run into trouble.</div><div><br></div><div>1- I find that I need to install the released KStars and Indi before I build from scratch. (I don't mean every time I build, but rather when I'm first putting together the environment.) There are some things that are not in the build that seem to be "put in place" by the install, e.g. perhaps TZrules.dat is one of those.</div><div><br></div><div>2- Get familiar with the "sudo apt-cache search ..." command. For instance:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>> <b>sudo apt-cache search kdoctools </b></div><div>kdoctools-dev - transitional dummy package</div><div>kdoctools5 - Tools to generate documentation in various formats from DocBook</div><div>libkf5doctools-dev - Development files for kdoctools5</div><div>libkf5doctools5 - Tools to generate documentation in various formats from DocBook</div></blockquote><div><br></div><div>3- You're likely going to need a library that ends in "-dev" to help you build.<br></div><div><br></div><div>For sure, the instructions should work, and you shouldn't "need" to know these things, but libraries change, versions of Ubuntu are slightly different, etc etc and it is useful to have these tools to help you investigate.</div><div><br></div><div>Hy</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 30, 2021 at 10:59 AM Jasem Mutlaq <<a href="mailto:mutlaqja@ikarustech.com" target="_blank">mutlaqja@ikarustech.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 dir="ltr">thanks for the email Martin, I've updated the builds instruments in the README file, please check it out now.<div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>--</div><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 30, 2021 at 9:11 PM Martin West <<a href="mailto:amartinwest@gmail.com" target="_blank">amartinwest@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>So I downloaded the source tarball  and followed the instructions to build kstars and encounter the following problems<div><br></div><div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">Package kdoctools-dev is not available, but is referred to by another package.</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">This may mean that the package is missing, has been obsoleted, or</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">is only available from another source</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">Package kio-dev is not available, but is referred to by another package.</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">This may mean that the package is missing, has been obsoleted, or</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">is only available from another source</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">E: Package 'kio-dev' has no installation candidate</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">E: Package 'kdoctools-dev' has no installation candidate</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">------------------------------------------</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures"> git clone --depth 1 <a>git://anongit.kde.org/kstars.git</a></span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">Cloning into 'kstars'...</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">fatal: remote error: Please use the https: protocol to connect to anongit</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">------------------------------------------</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">sudo apt install kdoctools5</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">sudo apt install libkf5doctools-dev libkf5doctools5</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">----------------------------------------------------------------</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures"> sudo cmake install</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">[sudo] password for andrew:</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">CMake Error: The source directory "/home/andrew/Projects/build/kstars/install" does not exist.</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">-----------------------------------------------------</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">bin/kstars</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: Failed to create local astrometry directory</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">Call to writableLocation without an application-based location.</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: Welcome to KStars 3.5.7 Beta</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: Build: 2021-11-30T16:48:57Z</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: OS: "ubuntu"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: API: "x86_64-little_endian-lp64"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: Arch: "x86_64"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: Kernel Type: "linux"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: Kernel Version: "5.13.0-21-generic"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: Qt Version: 5.15.2</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">org.kde.kstars: "Critical File not Found: TZrules.dat"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px">Couldnt find a TZRules.dat in the tar ball or the git clone</div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px">At which point I gave up</div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><br></div><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>regards Martin West</div><div><a>skype:amartinwest</a></div><div>mob:07525424513</div><div><br></div></div><br></div><br><br>
</div>
<br></div></div></blockquote></div>
</blockquote></div>