I am trying to tweak the output of lcdncid on my Raspberry Pi, and am running into make issues. I think that the output from "make" and "make install" are not quite compatible, but I could be completely mistaken. My observation, however, is that my changes are not being installed correctly.
As I understand it, I need to run "make ubuntu" to get the script compiled. Then I would run "make install-ubuntu" to get it installed. I believe I have to run the install as "sudo". What seems to happen, though, is the binary gets installed at /usr/local/bin, whereas the file that gets put into init.d references a path of "/usr/sbin:/usr/bin:/sbin:/bin". Consequently, my changed file is not found.
Am I missing an important step, or is the lcdncid.init file in the debian folder of the source code in error?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to tweak the output of lcdncid on my Raspberry Pi, and am running into make issues. I think that the output from "make" and "make install" are not quite compatible, but I could be completely mistaken. My observation, however, is that my changes are not being installed correctly.
As I understand it, I need to run "make ubuntu" to get the script compiled. Then I would run "make install-ubuntu" to get it installed. I believe I have to run the install as "sudo". What seems to happen, though, is the binary gets installed at /usr/local/bin, whereas the file that gets put into init.d references a path of "/usr/sbin:/usr/bin:/sbin:/bin". Consequently, my changed file is not found.
Am I missing an important step, or is the lcdncid.init file in the debian folder of the source code in error?
Find install-ubuntu: in the Makefile, then change the lines to match these:
This will be fixed in release 0.11.