×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Latest git fails to build

  • Posts: 421
  • Thank you received: 102
I pulled latest git, and I am having a problem getting it to build. I even deleted my build folder and reran cmake.
kevin@odroidn2:~/kstars/build$ make
[  0%] Built target po-uk-docs-kstars-index-cache-bz2
[  0%] Built target po-sv-docs-kstars-index-cache-bz2
[  0%] Built target po-nl-docs-kstars-index-cache-bz2
[  0%] Built target po-es-docs-kstars-index-cache-bz2
[  0%] Generating mo...
[  0%] Built target pofiles-75fc0fff004cb53575e6cfb691ab4574
[  0%] Built target po-pt-BR-docs-kstars-index-cache-bz2
[  1%] Generating po/fr/docs/kstars/index.cache.bz2
commands.docbook:527: parser error : Entity 'Space' not defined
> &Space; </shortcut
         ^
commands.docbook:1985: parser error : Entity 'Esc' not defined
>&Esc;</keycap
      ^
commands.docbook:2546: parser error : Entity 'Space' not defined
>&Space;</term>
        ^
commands.docbook:3055: parser error : chunk is not well balanced
 
^
index.docbook:396: parser error : Failure to process entity commands
&commands;    <!--Command Reference-->
          ^
index.docbook:396: parser error : Entity 'commands' not defined
&commands;    <!--Command Reference-->
          ^
kf.doctools.core: Error: `xmllint --noout` outputted text
make[2]: *** [CMakeFiles/po-fr-docs-kstars-index-cache-bz2.dir/build.make:161: po/fr/docs/kstars/index.cache.bz2] Error 1
make[1]: *** [CMakeFiles/Makefile2:1173: CMakeFiles/po-fr-docs-kstars-index-cache-bz2.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Last edit: 1 year 5 months ago by Kevin Ross.
1 year 5 months ago #86823

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

  • Posts: 294
  • Thank you received: 54
I also had a similar problem today, related to the kstars/po directory.

Even though there is some work being done on this issue I think (from viewing the latest KStars git commit), I can't tell if its fixed as I could not rebuild kstars on my smal ODroid due to a lack of space. :(
1 year 5 months ago #86830

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

  • Posts: 421
  • Thank you received: 102
Just pulled the latest, still broken. :(

What a coincidence, I'm also using an ODroid (N2+ in my case).
1 year 5 months ago #86831

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

  • Posts: 294
  • Thank you received: 54
Thanks for the heads-up on the latest build.

My ODroid is an N2 with 32GB eMMC that is no longer enough to build the KStars/EKOS/Indilib suite :( It runs it fine though, through NoMachine. I may need to get it a 64GB eMMC if I want to continue building KStars and friends.
1 year 5 months ago #86832

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

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

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

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

Hy
1 year 5 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 5 months ago #86868

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

  • Posts: 1208
  • Thank you received: 559
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 5 months ago #86870

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

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

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

  • Posts: 1208
  • Thank you received: 559
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 5 months ago #86873

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

Time to create page: 0.299 seconds