I am trying to install NXT-ROS and in order for me to do that, I need libboost1.40-all-dev
When I input the command sudo apt-get install libboost1.40-dev-all I get the following:
root@joel:~# sudo apt-get install libboost1.40-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libboost1.40-all-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
N: Ignoring file 'ros-latest.listwget' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'ros-latest.listsudo' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Package 'libboost1.40-all-dev' has no installation candidate
root@joel:~# BY the way, I have no clue what those last few lines are so just ignore them if they are not causing the problem, but if there is easy fix to this please let me know. Thanks!
21 Answer
libboost1.40-all-dev is a very old package that was only made available for Ubuntu 10.04. Up until the end of this month this package is still available, but only for the Server edition of Ubuntu 10.04.
If you want to stick with the package management, you better install the meta-package:
sudo apt-get install libboost-all-devOn Ubuntu 14.04 this will get you libboost1.54-all-dev installed.
Otherwise, if you really need version 1.40, then you have to fetch it from Sourceforge and install it manually. I could not find an install guide in the Boost web site.
1