r2frida
r2frida copied to clipboard
error when install r2frida on termux
Already up to date. Install Done For r2frida ./configure make: ./configure: Command not found Makefile:1: config.mk: No such file or directory make: *** [Makefile:148: config.mk] Error 127 ERROR: Build failed
Hi @Ryan19001,
you need to install the dependencies as explained in the docs. Remember you need to install the compilation toolchains in order to be able to compile it on your Android.
Can you describe which steps are you taking?
I have installed all dependencies except GCC because C compiler in termux is clang not GCC and libzip-dev not found in termux packages
i dont get the error, you dont have 'make' installed in your system? is this debian? do y ou have an old version of r2?
I don't think r2 and make is the reason of this error, the r2 versions is 3.6.0 and make is installed. If you don't know what's is termux is, termux is terminal and linux environment for android
3.6 is very old. i wont expect r2frida from git to build against it
I'm seeing the same error trying to install in termux.
$ r2pm -i r2frida
Cloning into 'r2frida'...
remote: Enumerating objects: 74, done.
remote: Counting objects: 100% (74/74), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 74 (delta 1), reused 42 (delta 0), pack-reused 0
Unpacking objects: 100% (74/74), done.
Submodule 'ext/swift-frida' (https://github.com/trufae/swift-frida.git) registered for path 'ext/swift-frida'
Cloning into '/data/data/com.termux/files/home/.local/share/radare2/r2pm/git/r2frida/ext/swift-frida'...
remote: Enumerating objects: 676, done.
remote: Total 676 (delta 0), reused 0 (delta 0), pack-reused 676
Receiving objects: 100% (676/676), 247.51 KiB | 1.41 MiB/s, done.
Resolving deltas: 100% (446/446), done.
Submodule path 'ext/swift-frida': checked out '23523bc23f2daecac0b7a67738d715b425660cc8'
Install Done For r2frida
./configure
make: ./configure: Command not found
Makefile:1: config.mk: No such file or directory
make: *** [Makefile:148: config.mk] Error 127
ERROR: Build failed
termux distro doesnt have r2 properly packaged to run r2pm properly, also the configure script runs fine in my devices. you can use the build scripts to crosscompile the plugin
On 17 Nov 2019, at 06:45, mosherbrian [email protected] wrote:
I'm seeing the same error trying to install in termux.
$ r2pm -i r2frida Cloning into 'r2frida'... remote: Enumerating objects: 74, done. remote: Counting objects: 100% (74/74), done. remote: Compressing objects: 100% (69/69), done. remote: Total 74 (delta 1), reused 42 (delta 0), pack-reused 0 Unpacking objects: 100% (74/74), done. Submodule 'ext/swift-frida' (https://github.com/trufae/swift-frida.git) registered for path 'ext/swift-frida' Cloning into '/data/data/com.termux/files/home/.local/share/radare2/r2pm/git/r2frida/ext/swift-frida'... remote: Enumerating objects: 676, done. remote: Total 676 (delta 0), reused 0 (delta 0), pack-reused 676 Receiving objects: 100% (676/676), 247.51 KiB | 1.41 MiB/s, done. Resolving deltas: 100% (446/446), done. Submodule path 'ext/swift-frida': checked out '23523bc23f2daecac0b7a67738d715b425660cc8' Install Done For r2frida ./configure make: ./configure: Command not found Makefile:1: config.mk: No such file or directory make: *** [Makefile:148: config.mk] Error 127 ERROR: Build failed — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nowsecure/r2frida/issues/197?email_source=notifications&email_token=AAG75FT67CT463YZZX7PGWDQUDLBNA5CNFSM4IUR7CCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIEM4Y#issuecomment-554714739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG75FU6WQAT3X6HQP7WPDLQUDLBNANCNFSM4IUR7CCA.
@mosherbrian @Ryan19001 can you try with r2 5.7.9
pkg install build-essential python wget
r2pm -ci r2frida
closing as 2 year is enough time frame to get feedback