nowsecure / r2frida

Radare2 and Frida better together.
MIT License
1.18k stars 121 forks source link

config.mk: No such file or directory #109

Closed smadellatappanavar-bsft closed 5 years ago

smadellatappanavar-bsft commented 5 years ago

/Volumes/Madell/Projects/r2frida (master %) $ make Makefile:1: config.mk: No such file or directory ./configure checking build system type... x86_64-unknown-darwin checking host system type... x86_64-unknown-darwin checking target system type... x86_64-unknown-darwin checking for working directories... current using prefix '/usr/local' checking for c compiler... gcc checking for c++ compiler... g++ Using PKGCONFIG: pkg-config checking pkg-config flags for r_core... no This package is required make: *** [config.mk] Error 1

$ npm -v 6.5.0

enovella commented 5 years ago

Hi @smadellatappanavar-bsft,

Can you please let us know how you installed r2frida? Did you install radare2 before?

Make sure you installed the dependencies as explained in https://github.com/nowsecure/r2frida/blame/master/README.md#L28 and install r2frida via r2pm.

Cheers

smadellatappanavar-bsft commented 5 years ago

I am using on mac, fist time installing r2frida followed the standard way in here: $ git clone https://github.com/nowsecure/r2frida.git $ cd r2frida $ make return above error

and also tried other way r2frida is via r2pm: r2pm: command not found

radare commented 5 years ago

r2pm comes with r2, and r_core is the core library of r2, so you don't have r2 installed.

Follow those steps to get r2 from git installed

$ git clone --depth=1 https://github.com/radare/radare2 $ cd radare2 $ sys/install.sh

to update again just type sys/install.sh

On 7 Jan 2019, at 16:59, smadellatappanavar-bsft notifications@github.com wrote:

I am using on mac, fist time installing r2frida followed the standard way in here: $ git clone https://github.com/nowsecure/r2frida.git https://github.com/nowsecure/r2frida.git $ cd r2frida $ make return above error

and also tried other way r2frida is via r2pm: r2pm: command not found

— 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/109#issuecomment-451982868, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lsCU32saadbFGh2DMYe3P-x7SfWlks5vA27jgaJpZM4ZzvOJ.