Package Details: radare2-git 3.1.3.r18.gb9651f764-1

Git Clone URL: (read-only)
Package Base: radare2-git
Description: Open-source tools to disasm, debug, analyze and manipulate binary files
Upstream URL:
Licenses: GPL3, LGPL3
Conflicts: radare2
Provides: radare2
Submitter: l0gic
Maintainer: l0gic
Last Packager: l0gic
Votes: 36
Popularity: 0.712315
First Submitted: 2012-07-16 18:10
Last Updated: 2018-12-07 19:13

Required by (6)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5

fnord0 commented on 2012-05-01 03:03

- getting an error = error "Only <glib.h> can be included directly."
- I created a patch for your PKGBUILD that will fix the error, and allow the package to compile and install properly ;;

--- radare-hg/PKGBUILD 2012-02-26 16:27:15.000000000 -0800
+++ ../PKGBUILD 2012-04-30 18:48:48.094572156 -0700
@@ -17,7 +17,7 @@


build() {
@@ -56,6 +56,8 @@
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" ./vala/grava/wscript_build
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" ./vala/wscript_build
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" ./wscript
+ sed -i -e "s|#include <glib/glist.h>|#include <glib.h>|" gui/*.c
+ sed -i -e "s|#include <glib/glist.h>|#include <glib.h>|" gui/*.c

msg "Configuring..."
./configure --prefix=/usr

Anonymous comment on 2011-12-07 20:35

Thanks a lot.

l0gic commented on 2011-12-07 20:15

Should be fixed. Let me know if you run into any problems.

Anonymous comment on 2011-12-07 19:19

r2_bindings fail to build:
checking pkg-config flags for r_core... no
This package is required

I'm pretty sure that's because r2_bindings configure script assumes that radare2 itself is already installed. Possibly there is a need to split these into two separate packages.

l0gic commented on 2010-08-17 11:28

Thanks for the fix.

Anonymous comment on 2010-08-17 11:06

Here are a few modifications to the PKGBUILD that allows me to build on both i686 and x86_64 using packer (was not the case before).

if [ -e ]; then
msg "Cleaning up old build..."
make clean

==> Makefile is always present, while is present only after a "./configure".

msg "Building..."
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
make -j1 || return 1

==> the linker flag "--as-needed" (added by makepkg, see /etc/makepkg.conf) makes linking fail. Removing it solves the problem.

Tell me if this works for you, and update the PKGBUILD if this is the case.

l0gic commented on 2010-05-08 11:53

If it wouldn't work on my system I hadn't put it in the PKGBUILD.
I guess the || return 1 is what's breaks it for you.
make clean is needed, if you use i.e. yaourt, which keeps all sort of vcs builds to speed up checkouts.
It happened in the past, that not running make clean broke the installation as some parts of r2 died with a segmentation fault.
I updated the PKGBUILD, so pleas let me know if it works now.

Anonymous comment on 2010-05-07 14:06

radare2-hg installation fails because of the "make clean" line on my two arch computers. Removing it solves the problem.
Does this PKGBUILD work on your computer ?