Robotics StackExchange | Archived questions

Cmake fails on assimp step installing Kinetic on RPi3

Hello, I'm trying to install ROS Kinetic on a Raspberry Pi 3 B (running latest Raspbian release, Kernel version 4.9). Unfortunately on the step where I should type cmake . it fails with the following error:

cmake: cmake: no version information available (required by cmake)

I can't make sense of this error and googling it in this context didn't come up with anything sensible. Could anyone elucidate on what I'm doing wrong? Thank you ahead of time.

I am having trouble at the following stage in the following tutorial: http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi#Unavailable_Dependencies

Asked by anvoice on 2017-08-23 11:37:11 UTC

Comments

Please always include a link to whatever guide / tutorial / something else you are using, as we don't know. Also clearly state which "step" you are at (preferably with a section nr).

Asked by gvdhoorn on 2017-08-24 01:45:20 UTC

Thanks for the advice. Done.

Asked by anvoice on 2017-08-24 14:59:05 UTC

@anvoice: there is a Contents section in the tutorial with links to each (sub)section of it. Can you provide the link or the section number as @gvdhoorn stated.

Asked by jayess on 2017-08-24 18:34:00 UTC

Done. Sorry for not doing this right away, still learning my way around here.

Asked by anvoice on 2017-08-24 21:28:01 UTC

Do you have two installs of CMake? Check your /usr/local directories.

Asked by gvdhoorn on 2017-08-25 02:06:05 UTC

I believe you mean /usr/bin? I only found 1 version of cmake in there. It's called cmake. Nothing in /usr/local/bin.

Asked by anvoice on 2017-08-25 19:11:31 UTC

No, I meant /usr/local and all the subdirectories under it: that is typically where from source installed software end up. Can you tell us a bit more about your system? Which architecture, OS, version of it, how did you install ROS, etc. And: how did you install CMake?

Asked by gvdhoorn on 2017-08-26 02:17:46 UTC

My extended comment seems to have been deleted somehow (mod or automatically I don't know) so I'll make edits to the original post to include the information you requested. Please let me know if you need additional info.

Asked by anvoice on 2017-08-26 03:02:25 UTC

completely installed (I am in the process of following the tutorial I linked, letter for letter), but I installed cmake by typing sudo apt-get install cmake. Please let me know if you need more info.

Asked by anvoice on 2017-08-26 03:04:12 UTC

Thing is, this seems to be more of a problem with your OS / CMake than with ROS. I'm not saying this because we don't want to help you, but because other fora might be better places to get better answers, quicker. I would recommend you post the CMake problem to a RPi forum.

Asked by gvdhoorn on 2017-08-26 04:46:23 UTC

I see that you already posted this to another forum: SO - cmake error: no version information available.

Asked by gvdhoorn on 2017-08-26 04:48:43 UTC

btw:

My extended comment seems to have been deleted somehow (mod or automatically I don't know) so I'll make edits to the original post to include the information you requested

always edit your original question instead of using comments for additional information.

Asked by gvdhoorn on 2017-08-26 04:55:15 UTC

Yes, I did post it on SO a little while ago. I'll update this if I get an answer as I'm sure other novices might get stuck on the same step. I'll keep your tips in mind, thank you.

Asked by anvoice on 2017-08-26 14:12:08 UTC

Answers

I confirm that the problem cannot be replicated on a different SD card. I conclude that the error was possibly due to corrupted data on a bad SD card. From what I've seen, here are some things to look for that might indicate a bad SD card:

  • Automatic resize by raspi-config does not result in the root filesystem being expanded as seen by raspberry pi (df -h shows a smaller rootfs size than the card size).
  • The filesystem is by default mounted as read-only. As a consequence X Window manager doesn't start, and startx fails to invoke it.
  • Various errors when running sudo-apt-get upgrade that can't be fixed by rerunning sudo apt-get update.

Finally, I would suggest steering clear of generic SD cards, the one that didn't work for me was one of that variety.

Asked by anvoice on 2017-08-26 23:21:26 UTC

Comments