monitor-ninja icon indicating copy to clipboard operation
monitor-ninja copied to clipboard

Missing BINDIR during installation

Open geekmichael opened this issue 8 years ago • 3 comments

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

geekmichael avatar Jul 07 '17 07:07 geekmichael

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

What should $BINDIR be set to?

silvatyrant avatar Oct 04 '18 10:10 silvatyrant

has anyone find a solution for this issue??

mansaQekza avatar May 27 '19 06:05 mansaQekza

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.

jacobbaungard avatar May 28 '19 07:05 jacobbaungard