Edit: I have restructured this post, as the original problem turned out to be worse than described. Rather than make another post / chain, (more confusing), I've updated the OP entirely in an attempt to be concise. In the end, for those looking to build a Ubuntu kstars/ekos system from scratch, you'll need to know this information. It is current as of Feb 2021. Here's a revised OP:
I recently needed to build (from scratch) a new kstars/ekos Ubuntu environment. I tried to use the README.md instructions located here:
invent.kde.org/education/kstars/-/blob/master/README.md
These instructions will not result in a successful build. There are too many missing pieces in those instructions to discuss them further here. IMO, that readme document probably just needs to go away or be made consistent with other more correct information.
In forum comment post #2 (from phomer), a reference to instructions located here was suggested:
indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html
These instructions are MUCH closer to what is actually needed, but will also NOT create a successful Ubuntu build from scratch. What is wrong?:
1. MINOR: Section 1 instructions may not be needed at all (I didn't use bleeding). Note also that for Ubuntu 20.10, "sudo apt-get install gsc" won't work (not yet available). This limits the simulator, but it's not a show stopper.
2. MAJOR: A missing "sudo make install" is needed after building 3rd party INDI drivers. Just do this as the last step in section 3 (after the cmake instruction).
3. MAJOR: In section 4 (Building KStars from Source), the "sudo apt-get -y install command needs to be modified:
replace the kio-dev reference with libkf5kio-dev
4. MAJOR: Now that stellarsolver is included in kstars/ekos, a missing section between paragraph 3 (Building 3rd party INDI drivers) and 4 (Building Kstars from Source) is needed:
you must build stellarsolver from source: (Use:
github.com/rlancaste/stellarsolver to familarize). To build:
- stellarsolver's build structure is done in ~/Projects (same level as for kstars).
- cd ~/Projects
- git clone
github.com/rlancaste/stellarsolver.git (from "Installing the program" section of Rob's doc).
- Note there is no "./installLinux.sh script to build/install stellarsolver. Do this instead:
Go to the "Building the program" section of Rob's doc and manually execute the "Linux" steps as given.
5. MAJOR: In section 4 (Building KStars from Source), the block of code after "Now that all prerequisites are installed, you are ready to build Kstars" has a bad line:
Replace line #3 instruction: "git clone git://anongit.kde.org/kstars.git", and instead use: "git clone
invent.kde.org/education/kstars.git" instead.
I believe this is it. It is unfortunate that neither the README.md file, nor the locked forum post instructions for linux builds are correct. IMO, the main kstars/ekos developers should consult and resolve these issues so that users will have correct information for builds. In that spirit, I ask the developers to please fix the instructions. I will soon attempt to do a similar exercise for PI builds and post that separately if successful.
Cheers, Doug