4 These instructions have all been tested on Debian jessie systems
5 only. Patches and hints for other distributions are welcome!
10 Frida requires the following packages for building
15 * Qt5 (5.2 or newer preferred)
22 * libedit (through LLVM)
24 On a debian (jessie) system this works with the following command:
28 apt install cmake pkg-config llvm-3.5-dev libquazip-qt5-dev liblog4cxx10-dev qtbase5-dev guile-2.0-dev google-mock swig libboost-dev libedit-dev
31 Note that version 3.5 of LLVM is required.
36 I would recommend an out-of tree build which works as follows
42 cmake -DCMAKE_BUILD_TYPE=Release ..
45 Which should generate you a frida binary. If you don't want to install
46 gmoch/gtest you need to remove the stanzas from CMakeList and not run
52 If you want to run frida from the build directory instead of
53 installing it, you need to export ``LD_LIBRARY_PATH`` pointing to
54 your build directory so frida can find it's plugins and shared
55 libraries. Run it like
59 export LD_LIBRARY_PATH=`pwd`/build