mcdeoliveira / rcpy

Python Library for Robotics Cape on Beaglebone Black and Beaglebone Blue
MIT License
37 stars 25 forks source link

"linux/gpio.h header not found" while installing libgpiod #12

Closed gustavojcorrea closed 5 years ago

gustavojcorrea commented 6 years ago

I am currently using Ubuntu 16.04.5 LTS on Beaglebone Blue after following the John Hopkins Edumip/ROS tutorial. I continue to get stuck while trying to install libgpiod. Here is my process:

  1. Burning image on SD card using etcher
  2. Running sudo apt-get update and sudo apt-get upgrade
  3. Following rcpy tutorial up until ./autogen.sh --enable-tools=yes --enable-bindings-python --prefix=/usr/local
  4. While running this command I get the following error checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking linux/gpio.h usability... no checking linux/gpio.h presence... no checking for linux/gpio.h... no configure: error: linux/gpio.h header not found (needed to build the library)

I want to note that I have been successful in installing rcpy on Debian 9.3 however I ran problems when trying to install ROS. I tried the above process for Ubuntu.

I would appreciate any help and advise on switching back to a specific Debian version!

mcdeoliveira commented 5 years ago

This seems to be an issue with the ubuntu distribution not supporting libgpio yet. I am not sure what is the current status of support for ROS on debian.