Sorry for the late reply i am not used to receive mails at the list O:)

You have to pass --enable-devel to the r2-bindings configure script in order to 
make valabind generate those files you need.

Deps for python bindings are:

- python2.7-dev
- swig >=2
- valabind
- g++

Current code in git (which i always recommend to use) doesnt needs to pass the 
enable-devel flag. And there are new python bindings based on ctypes and 
autogenerated by valabind. No more swig! But this is still Incomplete, testers 
are welcome :)

Bokken runs fine with 0.9.2, no major api changes.

On Jan 4, 2013, at 11:41, KillBoy PowerHed <[email protected]> 
wrote:

> 
> Actually I don't think I got 0.9.2 to build properly, I'm still running 0.9 + 
> r2-bindings + bokken .. sorry for the red herring
> 
> 
> From: danillo F. <[email protected]>
> To: "[email protected]" <[email protected]> 
> Sent: Friday, 4 January 2013 1:40 PM
> Subject: Re: [radare] r2-bindings install..
> 
> Hi Killboy ...
> Thanks for the help, more is still generating the following error message 
> when I run the command:
> 
> make -C python
> 
>   - Python r_core.so
> g+ +: error: r_core_wrap.cxx: No such file or directory
>   - Python r_bin.so
> g+ +: error: r_bin_wrap.cxx: No such file or directory
>   - Python r_asm.so
> g+ +: error: r_asm_wrap.cxx: No such file or directory
> 
> Thank you.
> 
> 
> Date: Thu, 3 Jan 2013 17:12:29 -0800
> From: [email protected]
> To: [email protected]
> Subject: Re: [radare] r2-bindings install..
> 
> Hi Danillo,
> 
> I also run Fedora, here's my notes on building r2 + bindings, hopefully it 
> should help:
> 
> cheers
> 
> 
> # Requirements
> ACR: http://www.lolcathost.org/b/acr-0.8.6.tar.gz
> 
> # radare2
> ./configure --prefix=/usr
> make -s
> sudo make install
> 
> # bindings
> export PKG_CONFIG_PATH=/usr/lib/pkgconfig
> ./configure --prefix=/usr --enable=python
> make -C python
> sudo make install
> 
> 
> 
> From: danillo F. <[email protected]>
> To: "[email protected]" <[email protected]> 
> Sent: Thursday, 3 January 2013 4:11 PM
> Subject: [radare] r2-bindings install..
> 
> during the installation of r2-bindings is generated the following error:
> 
> [root@fedora r2-bindings-0.9.2]# ./configure --enable=python
> Checking valabind languages support...
> WARNING: cannot find valabind
>  - gir: no
>  - cxx: yes (g++)
>  - valac: yes
> Supported langs:
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> checking for working directories... current
> using prefix '/usr/local'
> checking for c compiler... gcc
> checking for c++ compiler... g++
> checking for valabind... no
> checking for swig... /usr/bin/swig
> checking for g-ir-compiler... no
> checking pkg-config flags for r_core... yes
> creating ./config.mk
> cleaning temporally files... done
> 
> Final report:
>  - PREFIX = /usr/local
>  - HAVE_SWIG = 1
>  - HAVE_VALABIND = 0
>  - HAVE_GIRCOMPILER = 0
>  - DEVEL_MODE = 1
> [root@fedora r2-bindings-0.9.2]# cd python/
> 
> [root @ fedora python] # python2.7-config = PYTHON_CONFIG make
>   - Python r_core.so
> g+ +: error: r_core_wrap.cxx: No such file or directory
>   - Python r_bin.so
> g+ +: error: r_bin_wrap.cxx: No such file or directory
>   - Python r_asm.so
> g+ +: error: r_asm_wrap.cxx: No such file or directory
> 
> 
> Any suggestions of what could be?
> 
> Thank you.
> 
> _______________________________________________
> radare mailing list
> [email protected]
> http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
> 
> 
> 
> _______________________________________________ radare mailing list 
> [email protected] 
> http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
> 
> _______________________________________________
> radare mailing list
> [email protected]
> http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
> 
> 
> _______________________________________________
> radare mailing list
> [email protected]
> http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to