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

Loix's profile - activity

2012-08-28 19:05:32 -0500 received badge  Famous Question (source)
2012-07-30 09:30:38 -0500 received badge  Notable Question (source)
2012-02-15 05:31:05 -0500 received badge  Popular Question (source)
2011-11-30 21:27:46 -0500 asked a question Problem installing openni on ubuntu 10.04

Hi everyone,

I'm trying to install the openni drivers followind this guide:

      http://www.ros.org/wiki/openni_kinect

In section 3.2 step one they say to type in terminal:

      hg clone https://kforge.ros.org/openni/drivers
      cd drivers
      make 
      make install

Because of some "Permission Denied" I added sudo command before make and make install. There is still a problem, in sudo make install after a while is displayed:

      sudo /bin/bash ./CONTROL/openni_postinst configure
      Failed: Failed to write to the file!
      make: *** [install_openni] Error 255

In file ./CONTROL/openni_postinst the commands at configure session are:

      /usr/bin/niReg -r /usr/lib/libnimCodecs.so /etc/openni
      /usr/bin/niReg -r /usr/lib/libnimMockNodes.so /etc/openni
      /usr/bin/niReg -r /usr/lib/libnimRecorder.so /etc/openni

Obviously also trying to execute the three command directly in the terminal it still gives me the error.

Anyone knows how to solve this problem? It seems that I don't have the permission to write to a file, but since I don't know where /usr/bin/niReg wants to write I can't do anything.

Any help would be appreciated.

Loix