ITRS-Group / monitor-ninja

Ninja is Now Just Awesome - a modern web GUI for Naemon
Other
32 stars 16 forks source link

Missing BINDIR during installation #8

Open geekmichael opened 7 years ago

geekmichael commented 7 years ago

In the Makefile there is

mkdir -m 0755 -p $(BINDIR)

but no pre-defined BINDIR. It causes error while running 'make install', see below:

# make install
mkdir -m 0755 -p /usr/local/share/php
cp -a src/op5 /usr/local/share/php/op5
mkdir -m 770 -p /etc/op5
cp -R etc/* /etc/op5
chown -R apache:apache /etc/op5
mkdir -m 0755 -p
mkdir: missing operand
Try `mkdir --help' for more information.
make: *** [install-bin] Error 1
silvatyrant commented 6 years ago

Also experiencing this. What is the latest on this issue?

What should $BINDIR be set to?

mansaQekza commented 5 years ago

has anyone find a solution for this issue??

jacobbaungard commented 5 years ago

The BINDIR is used to choose where a small script "op5-manage-users" is installed. This is a command line tool to manage users in ninja. You can choose for yourself where to put it, /usr/local/bin/ could be a good choice.

You can do so by calling make install:

make install BINDIR=/usr/local/bin/

That should probably be the default value.