Installation Mac OS Sierra: Error on make install

No replies
pbpearman
Offline
Joined: 12/12/2018

On my Macbook Pro I get an error on make install:

bgppermp$ make install
Making install in src
test -z "/usr/local/bin" || ../config/install-sh -c -d "/usr/local/bin"
/Library/Frameworks/R.framework/Resources/bin/install -c 'hybrid-min' '/usr/local/bin/hybrid-min'
/Library/Frameworks/R.framework/Resources/bin/install: line 34: /bin/R: No such file or directory
make[2]: *** [install-binPROGRAMS] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

I tried making a directory 'R' in /bin and got:
bgppermp$ make install
Making install in src
test -z "/usr/local/bin" || ../config/install-sh -c -d "/usr/local/bin"
/Library/Frameworks/R.framework/Resources/bin/install -c 'hybrid-min' '/usr/local/bin/hybrid-min'
/Library/Frameworks/R.framework/Resources/bin/install: line 34: /bin/R: is a directory
make[2]: *** [install-binPROGRAMS] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

and I made a symbolic link to R in /bin and then did
make install:
bgppermp$ make install
Making install in src
test -z "/usr/local/bin" || ../config/install-sh -c -d "/usr/local/bin"
/Library/Frameworks/R.framework/Resources/bin/install -c 'hybrid-min' '/usr/local/bin/hybrid-min'
Error in rawToChar(block[seq_len(ns)]) :
embedded nul in string: '\xcf\xfa\xed\xfe\a\0\0\001\003\0\0\x80\002\0\0\0\017\0\0\0\x90\006\0\0\x85\0 \0\0\0\0\0\031\0\0\0H\0\0\0__PAGEZERO\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\001'
make[2]: *** [install-binPROGRAMS] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

Both additions to /bin required me to disable System INtegrity Protection, as per the first answer to this post:

https://apple.stackexchange.com/questions/208478/how-do-i-disable-system-integrity-protection-sip-aka-rootless-on-macos-os-x
... but then neither modification of /bin resolved the errors.

I would be grateful for some suggestions.
Peter

Hardware Overview:

Model Name: MacBook Pro
Model Identifier: MacBookPro11,2
Processor Name: Intel Core i7
Processor Speed: 2 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 8 GB
Boot ROM Version: 149.0.0.0.0

System Version: macOS 10.12.6 (16G1618)
Kernel Version: Darwin 16.7.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Secure Virtual Memory: Enabled
System Integrity Protection: Disabled