Problem installing openni on ubuntu 10.04 [closed]

asked 2011-11-30 21:27:46 -0600

Loix gravatar image

updated 2014-01-28 17:10:55 -0600

ngrennan gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2012-04-03 18:03:23

Comments

I suggest you try the openni mailing list on the wiki page.

tfoote gravatar image tfoote  ( 2012-04-03 18:03:11 -0600 )edit