You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@localhost ~ % gem install discordrb
Building native extensions. This could take a while...
ERROR: Error installing discordrb:
ERROR: Failed to build gem native extension.
current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c
/data/data/com.termux/files/usr/bin/ruby -r ./siteconf20170319-1465-tybola.rb extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for shlwapi.h... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/extensions/aarch64-linux/2.4.0/ffi-1.9.18/mkmf.log
current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c
make "DESTDIR=" clean
current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c
make "DESTDIR="
Configuring libffi
/data/data/com.termux/files/usr/bin/sh: 4: /usr/bin/env: not found
make: *** [libffi.mk:7: "/data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c/libffi-aarch64-linux-android"/.libs/libffi_convenience.a] Error 127
make failed, exit code 2
Gem files will remain installed in /data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/ffi-1.9.18 for inspection.
Results logged to /data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/extensions/aarch64-linux/2.4.0/ffi-1.9.18/gem_make.out
gem install discordrb 8.27s user 1.92s system 78% cpu 13.052 total
Unfortunately i don't know where to modify the Makefile. Even with coreutils it fails.
The text was updated successfully, but these errors were encountered:
Discordrb fails to build on Termux:
Unfortunately i don't know where to modify the Makefile. Even with
coreutils
it fails.The text was updated successfully, but these errors were encountered: