radareorg / radare2-rlang

Writing Radare2 plugins in various languages
16 stars 8 forks source link

rlang-python won't install right #23

Open bannsec opened 3 years ago

bannsec commented 3 years ago

Describe the issue When attempting to do r2pm install rlang-python I get:

M       configure
Already on 'master'
Your branch is up to date with 'origin/master'.
Already up to date.
Install Done For rlang-python
Makefile:1: ../config.mk: No such file or directory
make: *** No rule to make target '../config.mk'.  Stop.

How to reproduce? I just run that command as shown above.

Expected behavior I'd expect rlang-python to be installed.

Possible fix

Screenshots

Additional context I have found that indeed the config.mk file is missing. I've also found a workaround:

# This will fail, but will pull the git repo for me
r2pm install rlang-python

# My location for the git repo
cd /home/angr/.local/share/radare2/r2pm/git/radare2-rlang

# Run configure myself. This will create the config.mk file needed.
./configure

# Now run install again
r2pm install rlang-python

My guess is rlang-python should be running ./configure prior to attempting to execute make.