-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys/python.sh seems to be failing #81
Comments
Are you using the latest version of valabind? The error says that he cant understand the -N flag On Apr 25, 2013, at 6:40, Yan notifications@github.com wrote:
|
I have submited a fix in r2-git, i'm closing this bug, feel free to comment if there's any issue and I will reopen the bug if not working for you. Thanks |
* Fixed a lot of warnings and removed waste code * Fixed more warnings and removed more waste code * restore XrefsDialog::updateLabels This function is used in memorywidget.cpp
I am getting the following from sys/python.sh:
PYTHON_VERSION=2.7
PYTHON=python${PYTHON_VERSION}
TODO: PREFIX=/usr
Using PYTHON_VERSION 2.7
Using PYTHON_CONFIG python2.7-config
==> Using valabind valabind 0.6.4 - pancake@nopcode.org
==> Using swig 2.0.4
Checking valabind languages support...
/usr/bin/valabind-cc: 1: /usr/bin/valabind-cc: php-config: not found
no
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'
checking for c compiler... gcc
checking for c++ compiler... g++
checking for valabind... /usr/bin/valabind
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:
DEVEL_MODE = 1
mkdir -p /usr/share/vala/vapi
/usr/bin/install -m 644 vapi/.vapi vapi/.deps /usr/share/vala/vapi
rm -f .so r_
Build r_core -lr_core -lr_config -lr_cons -lr_cmd -lr_util -lr_flags -lr_asm -lr_lib -lr_debug -lr_hash -lr_bin -lr_lang -lr_io -lr_anal -lr_parse -lr_bp -lr_egg -lr_reg -lr_search -lr_syscall -lr_sign -lr_diff -lr_socket -lr_fs -lr_magic -lr_db
valabind-cc python r_core -NRadare --swig -I../../libr/include -x --vapidir=../vapi ../vapi/r_core -I/usr/include/libr -lr_core -lr_config -lr_cons -lr_cmd -lr_util -lr_flags -lr_asm -lr_lib -lr_debug -lr_hash -lr_bin -lr_lang -lr_io -lr_anal -lr_parse -lr_bp -lr_egg -lr_reg -lr_search -lr_syscall -lr_sign -lr_diff -lr_socket -lr_fs -lr_magic -lr_db
valabind -x -x --vapidir ../vapi -o r_core.i -m r_core ../vapi/r_core --swig -NRadare
Unknown option -NRadare
Try --help
... r_core.so
Build r_bin -lr_bin -lr_lib -lr_util
valabind-cc python r_bin -NRadare --swig -I../../libr/include -x --vapidir=../vapi ../vapi/r_bin -I/usr/include/libr -lr_bin -lr_lib -lr_util
valabind -x -x --vapidir ../vapi -o r_bin.i -m r_bin ../vapi/r_bin --swig -NRadare
Unknown option -NRadare
Try --help
... r_bin.so
Build r_asm -lr_asm -lr_lib -lr_util -lr_parse -lr_db
valabind-cc python r_asm -NRadare --swig -I../../libr/include -x --vapidir=../vapi ../vapi/r_asm -I/usr/include/libr -lr_asm -lr_lib -lr_util -lr_parse -lr_db
valabind -x -x --vapidir ../vapi -o r_asm.i -m r_asm ../vapi/r_asm --swig -NRadare
Unknown option -NRadare
Try --help
... r_asm.so
cd .. ; make install-python
make[1]: Entering directory
/opt/analrepo/build/radare2/r2-bindings' [ -e python/_r_core.so ] && true make[1]: *** [install-python] Error 1 make[1]: Leaving directory
/opt/analrepo/build/radare2/r2-bindings'make: *** [install] Error 2
Radare2 itself installs and works fine. Please let me know if I can provide more info :-)
The text was updated successfully, but these errors were encountered: