Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#208 make install fails for different executable names

v1.0 (example)
closed-fixed
5
2013-11-02
2013-08-26
hjgode
No

Debian 7: the use of make install does not result in a working installation

the app comiles fine after giving the required libs and gettext. It compiles to minidlnad and not minidlna (see the missing d at the end of the name!).

The init.d script uses the executable name minidlna in line 21:

MINIDLNA=/usr/sbin/minidlna

despite from that, minidlnad is installed to /usr/local/sbin. That looks unusual and the debian minidlna package (1.0.24) installed to /usr/bin/minidlna (no daemon d at end).

Result: a non-working installation as script and install names and directories do not match.

Discussion

  • From my point of view the path to the daemon should be "/usr/local/sbin/minidlnad".
    I'm not sure if this is really platform independent.
    I can confirm that it is the path on Ubuntu 13.04 built from source.

     
    Last edit: Michael Schmidt 2013-10-28
  • Justin Maggard
    Justin Maggard
    2013-11-02

    Added code to generate the init script based on the configured sbindir.

     
  • Justin Maggard
    Justin Maggard
    2013-11-02

    • status: open --> closed-fixed
    • assigned_to: Justin Maggard