As some of you know, I've been working on the [Gentoo install for ROS](http://wiki.ros.org/jade/Installation/Gentoo). I am very close! I have GMapping and RVIZ working, but there are a few issues left to resolve. First on the list is the LZ4 module. For example, I obtain the following when I run `rostopic list`.
allenh1@tuxbox ~ $ rostopic list
Traceback (most recent call last):
File "/opt/ros/jade/bin/rostopic", line 35, in
rostopic.rostopicmain()
File "/opt/ros/jade/lib64/python2.7/site-packages/rostopic/__init__.py", line 1753, in rostopicmain
import rosbag
File "/opt/ros/jade/lib64/python2.7/site-packages/rosbag/__init__.py", line 33, in
from .bag import Bag, Compression, ROSBagException, ROSBagFormatException, ROSBagUnindexedException
File "/opt/ros/jade/lib64/python2.7/site-packages/rosbag/bag.py", line 65, in
import roslz4
File "/opt/ros/jade/lib64/python2.7/site-packages/roslz4/__init__.py", line 33, in
from ._roslz4 import *
ImportError: No module named _roslz4
Or, if I run rosbag.
allenh1@tuxbox ~ $ rosbag
Traceback (most recent call last):
File "/opt/ros/jade/bin/rosbag", line 34, in
import rosbag
File "/opt/ros/jade/lib64/python2.7/site-packages/rosbag/__init__.py", line 33, in
from .bag import Bag, Compression, ROSBagException, ROSBagFormatException, ROSBagUnindexedException
File "/opt/ros/jade/lib64/python2.7/site-packages/rosbag/bag.py", line 65, in
import roslz4
File "/opt/ros/jade/lib64/python2.7/site-packages/roslz4/__init__.py", line 33, in
from ._roslz4 import *
ImportError: No module named _roslz4
Naturally, I am hesitant to call such an issue a bug, as I am running on an unsupported OS. So I did some investigating.
allenh1@tuxbox /opt/ros/jade/lib64/python2.7/site-packages $ ls | grep lz4
roslz4
roslz4-1.11.13-py2.7.egg-info
allenh1@tuxbox /opt/ros/jade/lib $ ls |grep lz4
libroslz4.so
Not sure why there is trouble here...
Thanks!
----------
It appears that you have found the problem... So we're at least half way there. :)
allenh1@tuxbox /opt/ros/jade/lib64/python2.7 $ ls
site-packages
allenh1@tuxbox /opt/ros/jade/lib/python2.7 $ ls
site-packages
So the directory you mentioned, `dist-packages` is not being copied correctly.
↧