×

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: 421
  • Thank you received: 102
Yeah I have a 64GB eMMC. Plenty of room for building software :)
1 year 6 months ago #86833

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

We are aware of the issue. It was KDE decision to include translations back again in the project. I emailed KDE documentation team to inquire about this.
1 year 6 months ago #86839

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

  • Posts: 460
  • Thank you received: 69
With my Odroid-N2 I also have a 32GB eMMC, but build from source on an external 1T_SSD. I think it would still compile if it weren't for the po
make[1]: *** [CMakeFiles/Makefile2:1583: CMakeFiles/po-fr-docs-kstars-index-cache-bz2.dir/all] Error 2
error (the OP's topic).
1 year 6 months ago #86864

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

  • 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.

Time to create page: 0.718 seconds