×

INDI Library v1.9.5 Released (08 Mar 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

INDI Web Manager does not see my driver? [SOLVED]

  • Posts: 33
  • Thank you received: 0
Hi,

I've recently completed a new INDI driver for my DIY focuser. It compiles, installs and runs just fine but for some reason the INDI Web Manager running on the same system does not list the driver at all. Is it supposed to find it automatically or do I need to do something?

sudo make install installs these two files:
/usr/local/bin/indi_bullseye_focus
/usr/local/share/indi/indi_bullseye_focus.xml

Strangely it does list my super old drivers that I've done years ago the same way.

Any pointers to how to solve this?

Cheers,
Kari
Last edit: 9 months 2 days ago by Kari Brown.
9 months 2 days ago #74455

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

  • Posts: 33
  • Thank you received: 0
After poking around a bit more I sort of solved the problem.

Looks like indi-web is looking in
/usr/share/indi
and not
/usr/local/share/indi/
for the xml files. Not sure why the sudo make install puts them there by default?
9 months 2 days ago #74457

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

  • Posts: 33
  • Thank you received: 0
Continuing my monologue... :)

Looks like it's because of what I have in my CMakeLists.txt e.g.
set(INDI_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/indi")
And ${CMAKE_INSTALL_PREFIX} defaults to /usr/local
9 months 2 days ago #74459

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

  • Posts: 316
  • Thank you received: 78
Not sure why the sudo make install puts them there by default?

That's a Unix/Linux convention. Stuff under /usr/bin is the domain of the package manager. Locally built and installed stuff goes into /usr/local/bin
Last edit: 9 months 2 days ago by Kevin Ross.
9 months 2 days ago #74460

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

That's why you see in all the guides to run cmake with -DCMAKE_INSTALL_PREFIX=/usr
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
9 months 2 days ago #74465

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

  • Posts: 33
  • Thank you received: 0
Thanks guys. I should have known that but had completely forgotten about it. I must have done the DCMAKE_INSTALL_PREFIX=/usr with my old drivers as they were in the right place.

Just as a thought would it not make sense to have indi-web look into /usr/local too?
9 months 1 day ago #74470

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

Time to create page: 0.227 seconds