2015-08-20 03:32:44 +00:00
FreeBSD build instructions
==========================
2017-04-21 19:42:51 +00:00
FreeBSD, as well as other BSD systems have some differences in the way commands are named and packages installed. This document aims to explain the steps needed to build r2 and r2b-python on FreeBSD.
2015-08-20 03:32:44 +00:00
* Note that `make` (from GNU) is named `gmake`
* Stuff is installed in /usr/local
2017-04-21 19:42:51 +00:00
* gcc is named cc and g++ is c++
2015-08-20 03:32:44 +00:00
* valabind is not packaged in the ports
Radare2 Dependencies:
---------------------
# pkg install git gcc gmake patch pkgconf
$ git clone https://github.com/radare/radare2
$ cd radare2
$ sys/install.sh /usr/local
Python Swig Bindings Dependencies:
----------------------------------
# pkg install swig30 pkgconf vala
$ git clone https://github.com/radare/valabind
$ cd valabind
$ gmake
$ sudo gmake install PREFIX=/usr/local
Building Python Swig Bindings:
------------------------------
$ git clone https://github.com/radare/radare2-bindings
$ cd radare2-bindings
$ export CC=cc
$ export CXX=c++
$ export SWIG=swig3.0
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$ ./configure --prefix=/usr/local
$ cd python
$ gmake CC=$CC CXX=$CXX
$ sudo gmake install