×

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

Bi-monthly release with minor bug fixes and improvements

What happened to kstars?

  • Posts: 597
  • Thank you received: 280

Replied by John on topic What happened to kstars?

I first tried rebuilding in Qt including re-running CMAKE. Maybe that will work on Linux I'm not sure. On Mac it didn't work for me - same symptoms of no Indi and no Ekos. I had to rebuild my environment from scratch and then rebuild within Qt to get it working.
1 year 2 months ago #89843

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

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic What happened to kstars?

Same here on Linux. Latest git-pulled Indi and KStars -> no Indi/Ekos available.
What confuses me is this: Starting indiserver gives

trifid@XPC-SH87R:~/Astro/indi/build$ indiserver
2023-01-24T13:54:16: startup: indiserver
Usage: indiserver [options] driver [driver ...]
Purpose: server for local and remote INDI drivers
INDI Library: 1.9.8
Code v1.9.7-27-g5e98060b8. Protocol 1.7.

V1.9.8? Shouldn't that be 2.0x by now?
1 year 2 months ago #89847

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

  • Posts: 351
  • Thank you received: 109

Replied by nou on topic What happened to kstars?

Guys do you run "make install" after compilation?

I just compiled latest INDI & Kstars with ekos just fine using my script nouspiro.space/?page_id=209

My indiserver output this
2023-01-24T14:06:44: startup: indiserver
Usage: indiserver [options] driver [driver ...]
Purpose: server for local and remote INDI drivers
INDI Library: 2.0.0
Code v1.9.9-57-g4170c0a. Protocol 1.7.
Last edit: 1 year 2 months ago by nou.
1 year 2 months ago #89848

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

  • Posts: 270
  • Thank you received: 74
...And yes, I've built and installed ... (see my message )
Last edit: 1 year 2 months ago by Toni Schriber.
1 year 2 months ago #89850

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

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic What happened to kstars?

I do run "sudo make install" in my standard routine.

I found indiserver resides in two directories: /usr/bin and /usr/local/bin

The one in /usr/bin refers to "INDI Library: 2.0.0" whereas the one in /usr/local/bin refers to "INDI Library: 1.9.8" When I just run "indiserver" the one in /usr/local/bin is used. No idea why.

I just noticed running "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo [path]" returns:

-- The following OPTIONAL packages have not been found:
* INDI (required version >= 2.0.0), Astronomical instrumentation control, <www.indilib.org>
Support for controlling astronomical devices on Linux with KStars.

despite git-pulling, compiling and installing Indi just a minute earlier.
Last edit: 1 year 2 months ago by Alfred.
1 year 2 months ago #89858

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

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic What happened to kstars?

Libindiclient 2.0 is present here:

/usr/lib/x86_64-linux-gnu/libindiclient.a
/usr/lib/x86_64-linux-gnu/libindiclient.so
/usr/lib/x86_64-linux-gnu/libindiclient.so.2
/usr/lib/x86_64-linux-gnu/libindiclient.so.2.0.0
1 year 2 months ago #89860

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

  • Posts: 351
  • Thank you received: 109

Replied by nou on topic What happened to kstars?

Alfred it seems like you build indi without "-DCMAKE_INSTALL_PREFIX=/usr" once and now it use that. I think you need to delete indi files from /usr/local to get it working.

/usr/local/[bin|lib] have priority over /usr/[bin|lib]
1 year 2 months ago #89861

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

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic What happened to kstars?


Thanks a lot, Nou, for looking into it! I do compile indi like this: "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo [path]" so everything should be installed in /usr once I run sudo make install, shouldn't it? As far as I can see the required files are present there. I just deleted everything related to indi in /usr/local/..., ran "make clean", re-compiled and installed Indi but KStars still complains Indi 2.0 was not present.

-- The following OPTIONAL packages have not been found:

* INDI (required version >= 2.0.0), Astronomical instrumentation control, <www.indilib.org>
Support for controlling astronomical devices on Linux with KStars.
1 year 2 months ago #89862

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

  • Posts: 270
  • Thank you received: 74
"The one in /usr/bin refers to "INDI Library: 2.0.0" whereas the one in /usr/local/bin refers to "INDI Library: 1.9.8" When I just run "indiserver" the one in /usr/local/bin is used. No idea why."
That's the standard rule in LINUX: A lookup in ''/usr/local/bin' precedes always a lookup in '/usr/bin'. (I stumbled many times upon this peculiarity.) So You have to erase the corresponding files 'in '/usr/local/bin' in order to activate the ones in '/usr/bin'.

"I just noticed running "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo [path]" returns:"
What's Your path in detail?

BTW: I just managed to get things working at least for my own branch of Kstars (master commits until 9-1-2023) with new INDILib. After hours of struggling and trying - frankly speaking - I don't know why!! I'll keep trying to get to the HEAD commit of KStars.
The following user(s) said Thank You: Alfred
1 year 2 months ago #89863

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

  • Posts: 351
  • Thank you received: 109

Replied by nou on topic What happened to kstars?

what does "pkg-config --cflags libindi" return?
you may forgot to delete /usr/local/lib/x86_64-linux-gnu/pkgconfig/libindi.pc or /usr/local/lib/pkgconfig/libindi.pc

check install_manifest.txt in your indi build directory. this script will convert it to /usr/local and then check if that path exists so you can delete any lingering files
f=$(sed 's/^\/usr/\/usr\/local/' < install_manifest.txt)
for i in $f; do if [ -e $i ]; then echo "$i exists"; fi done
The following user(s) said Thank You: Alfred
1 year 2 months ago #89871

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

  • Posts: 157
  • Thank you received: 19

Replied by fmozza on topic What happened to kstars?

I just tried your scripts and it failed on indi-3rdparty bits. I attached the last part of the output. The indi core part succeeded.

Here's the system I am attempting to build it on:

$ uname -a
Linux reimann 5.15.0-58-lowlatency #64-Ubuntu SMP PREEMPT Fri Jan 6 03:36:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
1 year 2 months ago #89874
Attachments:

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

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic What happened to kstars?

"BTW: I just managed to get things working at least for my own branch of Kstars (master commits until 9-1-2023) with new INDILib. After hours of struggling and trying - frankly speaking - I don't know why!!"

I'm very familiar with that kind of feeling, Toni! :lol:

Nou, I ran your script and the output told me that all files existed.
I also checked the files you suggested, found /usr/local/lib/pkgconfig/libindi.pc and deleted it.

I once again did make clean, compiled and installed indi but kstars still tells me there was no Indi2.0. I'll try the same on a differenct computer. The one I am currently working at is a Kubuntu 22.04, updated from 20.04 and I suspect that a clean 22.04 system could possibly perform in a more friendly way.

And it turns out my suspicion was correct. Everything compiles correctly on a clean 22.04 system and the Indi/Ekos icons are visible. But it still doesn't work here. I'd really like to find out what goes wrong...
1 year 2 months ago #89877

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

Time to create page: 0.755 seconds