×

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

Bi-monthly release with minor bug fixes and improvements

[SOLVED] indi-duino compile error on fedora (fc21)

  • Posts: 7
  • Thank you received: 0
Hey,
I want to control all my equipment with indi by using my fedora system with kstars an the raspberry with raspbian as server.

For all things like ccd, mount, ... it works fine.

Now I want to implement my arduino-easydriver (which I use with ascom on windows) into my indi-controlled equipment. Therefore I want to use the indi-duino.

I compiled the sources for raspbian successful. But for my fedora system there are these errors:
<code>cmake ../../indi-code/3rdparty/indi-duino
-- The CXX compiler identification is GNU 4.9.2
-- The C compiler identification is GNU 4.9.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'libindi'
-- package 'libindi' not found
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find INDI (missing: INDI_INCLUDE_DIR INDI_LIBRARIES
INDI_DRIVER_LIBRARIES INDI_CLIENT_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindINDI.cmake:66 (find_package_handle_standard_args)
CMakeLists.txt:9 (find_package)


-- Configuring incomplete, errors occurred!
</code>

Does anyone knows a possible solution? I used the instructions here: indiduino.wordpress.com/downloads/

Greetings, Ben
Last edit: 8 years 5 months ago by Benjamin.
8 years 5 months ago #5442

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

  • Posts: 171
  • Thank you received: 41
Which version of INDI do you use at Fedora? Official Fedora packages? Bleeding edge packages from my repo? Self compiled?
8 years 5 months ago #5443

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

  • Posts: 7
  • Thank you received: 0
Hey Chris,
I tested it with both packages:
- libindi from fedora packages 0.9.9
- your repo with libindi-bleeding 1.1.0

From here(sourceforge.net/p/indi/code/HEAD/tree/trunk/) self compiling throws similar error:
cmake ../../indi-code/libindi/
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Found libusb-1.0:
--  - Includes: /usr/include/libusb-1.0
--  - Libraries: /usr/lib64/libusb-1.0.so
-- Performing Test ERROR_NAME_COMPILE
-- Performing Test ERROR_NAME_COMPILE - Success
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
  Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindCURL.cmake:61 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:43 (find_package)
 
 
-- Configuring incomplete, errors occurred!

Greetings to MR ;)
8 years 5 months ago #5444

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

  • Posts: 171
  • Thank you received: 41
It looks like development packages are missing: Install libindi-bleeding-devel and libindi-bleeding-static
The following user(s) said Thank You: Benjamin
8 years 5 months ago #5445

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

  • Posts: 7
  • Thank you received: 0
Thank you. With those packages building worked fine!
Last edit: 8 years 5 months ago by Benjamin.
8 years 5 months ago #5447

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

Time to create page: 0.882 seconds