ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ROS fuerte layer 1 install fails on 64bit gentoo

asked 2012-05-10 16:58:25 -0500

Cody gravatar image

Following the directions here:

After running 'sudo make install', the following is outputed:

    -- Installing: /opt/ros/fuerte/share/genlisp/stack.yaml
+ '[' -n '' ']'
+ cd /home/nyx/ros-underlay/genlisp
+ /usr/bin/env PYTHONPATH=/opt/ros/fuerte/lib/python2.7/site-packages:/home/nyx/ros-     underlay/build/gen/py: CATKpy install --prefix=/opt/ros/fuerte
running install
Checking .pth file support in /opt/ros/fuerte/lib64/python2.7/site-packages/
/usr/bin/python2.7 -E -c pass
TEST FAILED: /opt/ros/fuerte/lib64/python2.7/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:


and your PYTHONPATH environment variable currently contains:


Here are some of your options for correcting the problem:

* You can choose a different installation directory, i.e., one that is
  on PYTHONPATH or supports .pth files

* You can add the installation directory to the PYTHONPATH environment
  variable.  (It must then also be on PYTHONPATH whenever you run
  Python and want to use the package(s) you are installing.)

* You can set up the installation directory to support ".pth" files by
  using one of the approaches described here:

Please make the appropriate changes for your system and try again.
CMake Error at genlisp/CMakeFiles/safe_execute_install.cmake:5 (message):
  Error executing process with arguments
Call Stack (most recent call first):
  genlisp/cmake_install.cmake:56 (INCLUDE)
  cmake_install.cmake:39 (INCLUDE)

make: *** [install] Error 1
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-10 17:00:58 -0500

Cody gravatar image

Note the line




See the lib64 vs lib. Either something is failing to setup PYTHONPATH properly, or the install directory is wrong.

Workaround: symlink lib & lib64 together.

edit flag offensive delete link more

Question Tools


Asked: 2012-05-10 16:58:25 -0500

Seen: 375 times

Last updated: May 10 '12