X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Fdoc.git;a=blobdiff_plain;f=source%2Finstalling.rst;h=a90e5f93b8d8c624fb8cc0a0b312fe9817770774;hp=bca5a798565b6431e5247130e8b2e72761b12333;hb=f1cf61549b2053fd104fb79b34c1fceaa38d1cdf;hpb=877dd3451167b4918aa433da180c478d0daeef2c diff --git a/source/installing.rst b/source/installing.rst index bca5a79..a90e5f9 100644 --- a/source/installing.rst +++ b/source/installing.rst @@ -9,20 +9,24 @@ Build requirements Frida requires the following packages for building +* cmake +* pkg-config * LLVM 3.5 -* Qt >= 5.1 -* guile-2.0 +* Qt5 (5.2 or newer preferred) +* QuaZIP * log4cxx -* quazip -* gtest -* gmock -* cmake +* guile-2.0 +* google-mock +* swig +* Boost (signals2) +* libedit (through LLVM) On a debian (jessie) system this works with the following command: .. code-block:: bash - apt-get install libquazip-qt5-dev liblog4cxx10-dev qtbase5-dev guile-2.0-dev google-mock cmake g++ llvm-3.5-dev + 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 + Note that version 3.5 of LLVM is required. @@ -35,9 +39,22 @@ I would recommend an out-of tree build which works as follows mkdir build cd build - cmake .. + cmake -DCMAKE_BUILD_TYPE=Release .. make -j Which should generate you a frida binary. If you don't want to install gmoch/gtest you need to remove the stanzas from CMakeList and not run the tests. + +Running +======= + +If you want to run frida from the build directory instead of +installing it, you need to export ``LD_LIBRARY_PATH`` pointing to +your build directory so frida can find it's plugins and shared +libraries. Run it like + +.. code-block:: bash + + export LD_LIBRARY_PATH=`pwd`/build + build/frida