socketry / nio4r

Cross-platform asynchronous I/O primitives for scalable network clients and servers.
Other
964 stars 85 forks source link

Can't install #185

Closed olimart closed 6 years ago

olimart commented 6 years ago

Hi, any idea why I'm getting the following error with gem install nio4r -v '2.0.0' -- with-cflags="-std=c99"

32 warnings generated.
compiling selector.c
compiling bytebuffer.c
linking shared-object nio4r_ext.bundle
ld: warning: directory not found for option '-L/usr/local/opt/libksba/lib'
ld: warning: directory not found for option '-L/usr/local/opt/libksba/lib'
ld: warning: directory not found for option '-L/usr/local/opt/libksba/lib'

current directory: /Users/olivier/.rvm/gems/ruby-2.3.1/gems/nio4r-2.0.0/ext/nio4r
make "DESTDIR=" install
make: /usr/local/opt/coreutils/bin/gmkdir: No such file or directory
make: *** [.RUBYARCHDIR.time] Error 1

make install failed, exit code 2

Thanks.

olimart commented 6 years ago

Fixed by installing brew install coreutils first.