Fastd compilieren auf debian: Unterschied zwischen den Versionen

Aus Freifunk Franken
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „Building fastd on Debian jessie as ordinary user ================================================ (at least) the following Debian packages are needed: <nowik…“)
 
Keine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
{{Outdated}}
Building fastd on Debian jessie as ordinary user
Building fastd on Debian jessie as ordinary user
================================================
================================================

Aktuelle Version vom 28. Juli 2019, 13:19 Uhr


Building fastd on Debian jessie as ordinary user

====================================

(at least) the following Debian packages are needed:

cmake
bison
pkg-config
libsodium-dev
libcap-dev
doxygen
libjson-c-dev

in libuecc-5/: (the root of the extracted tarball)

cmake .
make DESTDIR=$HOME install

in fastd-17/: (the root of the extracted tarball)

PKG_CONFIG_PATH=$HOME/usr/local/lib/pkgconfig/ cmake .
C_INCLUDE_PATH=$HOME/usr/local/include/libuecc-5/ LIBRARY_PATH=$HOME/usr/local/lib/ make

to run fastd: (when the current directory is fastd-17/)

LD_LIBRARY_PATH=$HOME/usr/local/lib/ ./src/fastd

you can also make a shell script that includes above command:

echo -e '#!/bin/sh\nLD_LIBRARY_PATH=$HOME/usr/local/lib/ exec $HOME/usr/local/bin/fastd "$@"' > fastd
chmod a+x fastd