Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing BINDIR during installation #8

Open
geekmichael opened this issue Jul 7, 2017 · 3 comments
Open

Missing BINDIR during installation #8

geekmichael opened this issue Jul 7, 2017 · 3 comments
Labels

Comments

@geekmichael
Copy link

geekmichael commented Jul 7, 2017

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
@fmikker fmikker self-assigned this Jan 16, 2018
@fmikker fmikker added the bug label Jan 16, 2018
@silvatyrant
Copy link

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

What should $BINDIR be set to?

@mansaQekza
Copy link

has anyone find a solution for this issue??

@jacobbaungard
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants