无法安装radare2bindings,原因是“error:函数的参数太多”void r\u io_section\u list\u visual(…)`

2024-09-30 18:21:27 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试安装Python(http://www.radare.org/r/down.html)的radare2绑定。在

从github克隆项目并运行./configure--prefix=/usr之后,在python范围内的输出看起来一切正常(错误来自于我不需要绑定到的语言)。在

==> Using valabind 0.9.2--1-g7281165
==> Using swig 2.0.11
Checking valabind languages support...
 - python: cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
yes
 - perl: yes
 - ruby: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
        from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from -e:1:in `<main>'
test_wrap.c:821:18: fatal error: ruby.h: No such file or directory
 #include <ruby.h>
                  ^
compilation terminated.
no
 - lua: test_wrap.c:709:17: fatal error: lua.h: No such file or directory
 #include "lua.h"
                 ^
compilation terminated.
no
 - go: SWIG -go: -intgosize option required but not specified
no
 - java: test_wrap.c:135:17: fatal error: jni.h: No such file or directory
 #include <jni.h>
                 ^
compilation terminated.
no
 - guile: test_wrap.cxx:730:22: fatal error: libguile.h: No such file or directory
 #include <libguile.h>
                      ^
compilation terminated.
no
 - php5: test_wrap.c:706:18: fatal error: zend.h: No such file or directory
 #include "zend.h"
                  ^
compilation terminated.
no
 - node-ffi: no
 - ctypes: yes
 - ocaml: SWIG is buggy. Please set in ocamldec.swg the following line:
#define caml_array_length swig_caml_array_length
/usr/bin/valabind-cc: 1: /usr/bin/valabind-cc: ocamlc: not found
test_wrap.cxx:741:24: fatal error: caml/alloc.h: No such file or directory
 #include <caml/alloc.h>
                        ^
compilation terminated.
no
 - cxx: yes (g++)
 - valac: yes
Supported langs:
 - ctypes
 - cxx
 - duktape
 - perl
 - python
 - valac
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... /usr/bin/g-ir-compiler
Using PKGCONFIG: pkg-config
checking pkg-config flags for r_core... yes
creating ./config.mk
cleaning temporally files... done

Final report:
 - PREFIX = /usr
 - HAVE_SWIG = 1
 - HAVE_VALABIND = 1
 - HAVE_GIRCOMPILER = 1

但是,当我尝试在python文件夹上运行make时,我得到以下输出:

^{pr2}$

有人知道怎么解决这个问题吗?在这个安装过程中我已经遇到了很多问题,并且能够解决它们。。。但这一次真的让我卡住了。在


Tags: ornotestforusrerrordirectoryyes