rgerganov / footswitch

Command-line utility for PCsensor and Scythe foot switches
MIT License
414 stars 60 forks source link

OSX 10.11.3 install error #19

Closed tranlm closed 8 years ago

tranlm commented 8 years ago

Hi there,

I think my version of OS X is preventing installation due to increased security. Here's the error I'm getting:

➜  Downloads git clone https://github.com/rgerganov/footswitch.git
Cloning into 'footswitch'...
remote: Counting objects: 78, done.
remote: Total 78 (delta 0), reused 0 (delta 0), pack-reused 78
Unpacking objects: 100% (78/78), done.
Checking connectivity... done.
➜  Downloads cd footswitch 
➜  footswitch git:(master) make
cc footswitch.c common.c debug.c -o footswitch -Wall -DOSX -lhidapi
➜  footswitch git:(master) ✗ sudo make install
Password:
/usr/bin/install -c footswitch /usr/bin
install: /usr/bin/footswitch: Operation not permitted
make: *** [install] Error 71

Is it possible just to change the install location in the makefile? Or would I have to do something more extensive?

Thanks!

rgerganov commented 8 years ago

Hi, yes, you can change the install location. I am not sure why it is not possible to install in /usr/bin on newer versions of OSX.

tranlm commented 8 years ago

It worked. Thanks a lot!