Another quickie,
Anyone running into the following error:
$ sudo make install
Password:
/usr/bin/install -c -m 555 -o bin -g bin arpwatch /usr/local/sbin
install: bin: Invalid argument
make: *** [install] Error 67
When trying to install arpwatch, edit the Makefile and replace all the occurrences of “-o bin
” with “-o root
” and all the occurrences of “-g bin
” with “-g wheel
”
Hope this helps someone.
Ugy wrote:
It has certainly helped me as I came across the same error trying to ‘make install’ gdbm.
Thank you!
Link | December 12th, 2008 at 11:50 am
Ugy wrote:
Though I should probably mention for other novices like myself that there was no occurrence of ‘-o bin’ or ‘-g bin’ but that the variables BINGRP and BINOWN near the top of the makefile need to hold ‘wheel’ and ‘root’ respectively.
Link | December 12th, 2008 at 11:58 am
atma wrote:
I just crossed this website through google search. I didn’t even read your instructions here but, via macports to install arpwatch just type: sudo port install arpwatch.
And it’s a clean install…
Link | February 26th, 2009 at 8:42 am
Lee wrote:
@atma, That’s good to hear; the Macports team must have fixed this issue.
Link | February 26th, 2009 at 10:26 am
Amel wrote:
Thanks, the root:wheel is great for a make install!
Link | August 8th, 2009 at 5:27 am
web user wrote:
Thx a lot!
Got the same error when installing gdbm.
Needed to replace in Makefile $BINOWN and $BINGRP to root / wheel accordingly.
Link | February 26th, 2010 at 2:28 pm