×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Latest git fails to build

  • Posts: 1222
  • Thank you received: 565
Won't it build if you run
make kstars
as opposed to
make

Hy
1 year 6 months ago #86865

Please Log in or Create an account to join the conversation.

  • Posts: 460
  • Thank you received: 69
Thanks Hy,

I believe I'm running make.
I'm using a tweaked script that you provided some time ago.
....
 	echo ================================================================
	echo Part 7: Compile KStars
 	echo ================================================================
    mkdir -p $p/Projects/kstars-build
    cd $p/Projects/kstars-build
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCCACHE_SUPPORT=ON $compile_options  ../kstars || exit 1
    make $jobs || exit 1
Thanks
1 year 6 months ago #86868

Please Log in or Create an account to join the conversation.

  • Posts: 1222
  • Thank you received: 565
Sorry, don't remember the script and from your snippet, I can't tell what the $jobs variable is set to.
I'm sure we could set it up so that it doesn't compile the documentation.
Hy
1 year 6 months ago #86870

Please Log in or Create an account to join the conversation.

  • Posts: 460
  • Thank you received: 69
1 year 6 months ago #86872

Please Log in or Create an account to join the conversation.

  • Posts: 1222
  • Thank you received: 565
Got it. Try it this way and see if it works.

On line 285, instead of:
make $jobs || exit 1
try changing that to:
make $jobs kstars || exit 1
and you should bypass those errors, and make things compile much quicker too.
The way it was currently set, it compiled everything including tests and doc etc.

Jasem will hopefully get the documentation issues sorted out, but in any case, this should work and be faster.

Hope that helps,
Hy
1 year 6 months ago #86873

Please Log in or Create an account to join the conversation.

  • Posts: 421
  • Thank you received: 102
Yes, running make kstars does indeed work. Of course running make install fails, but that's no problem, I just copy kstars to the proper place and it works.
The following user(s) said Thank You: Gilles Gagnon
1 year 6 months ago #86875

Please Log in or Create an account to join the conversation.

  • Posts: 460
  • Thank you received: 69

Works. Thanks Hy.
The following user(s) said Thank You: Gilles Gagnon
1 year 6 months ago #86876

Please Log in or Create an account to join the conversation.

  • Posts: 294
  • Thank you received: 54
Worked here too on my ODroid N2, and I had to copy kstars to /usr/bin, as ''make install'' wanted to build the documentation.

Now waiting for the scheduler to activate, for my first formal use of it. I admit, I'm a little scared but confident that things will go nicely. :unsure:

One issue with this release of KStars, in the scheduler, the Target search crashes KStars, not always but often.

Thanks everyone.
Last edit: 1 year 6 months ago by Gilles Gagnon.
1 year 6 months ago #86877

Please Log in or Create an account to join the conversation.

  • Posts: 1222
  • Thank you received: 565
It seems that make install cannot be modified to be given a single target.
The truth is you don't even need to copy/install the kstars executable anywhere,
You can just run it from wherever it is compiled without any installation.
In Jerry's script, I believe that would be by typing this on the command line:
~/Projects/kstars-build/bin/kstars
That what I tend to do.

Hy
The following user(s) said Thank You: Gilles Gagnon
1 year 6 months ago #86878

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133
So it seems to be distribution dependent. I have no issue compiling it on my Pi4 running 64bit openSUSE Tumbleweed.
It has docbook_4 4.5 and docbook-xsl-stylesheets 1.79.2 installed. Maybe that's the difference?
1 year 6 months ago #86887

Please Log in or Create an account to join the conversation.

Yes, we asked KDE Doc team to fix this and make it compile on older KDE KF5 framework version. The current documentation requires KF5 v5.92 which isn't yet available on older distributions.
The following user(s) said Thank You: Peter Sütterlin
1 year 6 months ago #86888

Please Log in or Create an account to join the conversation.

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic Latest git fails to build

Compiling on Kubuntu 22.04 (libkf5i18n5 V5.92.0) doesn't work either.
1 year 6 months ago #86892

Please Log in or Create an account to join the conversation.

Time to create page: 0.557 seconds