Menu

Building lcdncid

Help
Tom Otvos
2015-03-30
2015-03-30
  • Tom Otvos

    Tom Otvos - 2015-03-30

    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?

     
  • John L. Chmielewski

    Find install-ubuntu: in the Makefile, then change the lines to match these:

    install-ubuntu:
    $(MAKE) install prefix=/usr prefix2= prefix3=
    cd debian; $(MAKE) install prefix=/usr prefix2= prefix3=
    

    This will be fixed in release 0.11.

     

Log in to post a comment.