radareorg / radare2-bindings

Bindings of the r2 api for Valabind and friends
GNU Lesser General Public License v3.0
131 stars 92 forks source link

cannot stat ‘lang_python.so’: No such file or directory #125

Closed dukebarman closed 8 years ago

dukebarman commented 8 years ago

Cannot install r2core:

$ r2pm -i lang-python
Processing lang-python ...
Already up-to-date.
Install Done For lang-python
==> Using valabind ./configure: 9: ./configure.hook: valabind: not found
...
make: Leaving directory `/home/usermint/.config/radare2/r2pm/git/radare2-bindings/libr/lang/p'
make: Entering directory `/home/usermint/.config/radare2/r2pm/git/radare2-bindings/libr/lang/p'
mkdir -p ~/.config/radare2/plugins
cp -f lang_python.so ~/.config/radare2/plugins
cp: cannot stat ‘lang_python.so’: No such file or directory
make: *** [python-install] Error 1
make: Leaving directory `/home/usermint/.config/radare2/r2pm/git/radare2-bindings/libr/lang/p'
radare commented 8 years ago

Read the error. You have no valabind

On 22 Jun 2016, at 22:10, Boris Ryutin notifications@github.com wrote:

Cannot install r2core:

$ r2pm -i lang-python Processing lang-python ... Already up-to-date. Install Done For lang-python ==> Using valabind ./configure: 9: ./configure.hook: valabind: not found ... make: Leaving directory /home/usermint/.config/radare2/r2pm/git/radare2-bindings/libr/lang/p' make: Entering directory/home/usermint/.config/radare2/r2pm/git/radare2-bindings/libr/lang/p' mkdir -p ~/.config/radare2/plugins cp -f lang_python.so ~/.config/radare2/plugins cp: cannot stat ‘lang_python.so’: No such file or directory make: *\ [python-install] Error 1 make: Leaving directory `/home/usermint/.config/radare2/r2pm/git/radare2-bindings/libr/lang/p' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

dukebarman commented 8 years ago

It did not help.

$ r2pm -i lang-python
Processing lang-python ...
Already up-to-date.
Install Done For lang-python
==> Using valabind 0.7.4
==> Using swig 2.0.11
Checking valabind languages support...
 - python: yes
...
cp -f lang_python.so ~/.config/radare2/plugins
cp: cannot stat ‘lang_python.so’: No such file or directory
make: *** [python-install] Error 1
dukebarman commented 8 years ago

For fix need manually cd to directory ~/.config/radare2/r2pm/git/radare2-bindings/libr/lang/p and enter make. When I tried it (same make) first time, it compiled only lang_csharp.so and lang_duktape.so (without lang_python.so)

radare commented 8 years ago

fixed now in master, r2pm update to fix that.

thanks