ActivityWatch / aw-android

ActivityWatch for Android, using aw-server-rust as backend.
Mozilla Public License 2.0
174 stars 29 forks source link

Build script error #36

Open 8bitgentleman opened 4 years ago

8bitgentleman commented 4 years ago

When running the install script install-ndk.sh I get the error

/usr/bin/readlink
readlink: illegal option -f

I believe this is because readlink does not exist on Mac systems, as mentioned in this stackoverflow.

ErikBjare commented 4 years ago

readlink exists, but it's not the GNU readlink, and it doesn't support the -f option.

A workaround would be to install GNU readlink (greadlink) as someone in the thread suggested (brew install coreutils), but ideally, we'd patch the script to use one of the other alternatives suggested.