hi
alsoooooo fangen wir mal an (ich hau grad das Image wieder auf die SD Karte, hab zwischenzeitlich was anderes probiert daher aus dem Kopf:
libuecc (developed together with fastd) --> selbst kompiliert
libsodium or NaCl (for most crypto methods) --> selbst kompiliert
libcap (Linux only; can be disabled if you don’t need POSIX capability support) --> ich glaub auch selbst kompiliert mit ein paar Abhängigkeiten drum herum, war ziemlich viel auf jeden Fall.
Bison (>= 2.5) --> aus Paketquelle installiert
pkg-config --> aus Paketquelle installiert
paar Abhängigkeiten für die oberen Pakete hab ich ebenfalls installiert, teilweise aus dem Paketmanager aber irgendwas (mir fällts jetzt nicht mehr ein, das war soviel Zeug drum herum, json-c war auf jeden Fall dabei) hab ich auch wieder selbst kompiliert.
Zudem hab ich doxygen ebenfalls aus Paketquellen installiert, da das Ding ~1GB Speicher (waren über 30 Pakete) benötigt und ich nur mit einer 4GB Karte arbeite, hab ich erst mal alles X11 mäßiges runtergeworfen da sonst der Speicher nicht gereicht hat.
An die Anleitung hab ich micht exakt gehalten:
git clone git://http://git.universe-factory.net/fastd
mkdir fastd-build
cd fastd-build
cmake ../fastd
(weiter kam ich bisher nicht da cmake schon scheitert)
wobei das cmake auch oft mit cmake ../fastd -DCMAKE_BUILD_TYPE=RELEASE angegeben wurde, allerdings klappt beides nicht. Oben hab ich es zwischenzeitlich mal als root probiert weil ich einfach nicht mehr weiter wusste, dennoch steck ich fest da es weder als root noch als Normaluser klappt
Ausgabe apt-cache policy cmake bison pkg-config libsodium-dev libcap-dev doxygen libjson-c-dev poste ich gleich, wenn meine SD-Karte wieder fertig ist und das Pi hochgefahren ist.
edit:
Quote
pi@raspberrypi ~ $ apt-cache policy cmake bison pkg-config libsodium-dev libcap- dev doxygen libjson-c-dev
cmake:
Installed: 2.8.9-1
Candidate: 2.8.9-1
Version table:
*** 2.8.9-1 0
500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packa ges
100 /var/lib/dpkg/status
bison:
Installed: 1:2.5.dfsg-2.1
Candidate: 1:2.5.dfsg-2.1
Version table:
*** 1:2.5.dfsg-2.1 0
500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packa ges
100 /var/lib/dpkg/status
pkg-config:
Installed: 0.26-1
Candidate: 0.26-1
Version table:
*** 0.26-1 0
500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packa ges
100 /var/lib/dpkg/status
libcap-dev:
Installed: (none)
Candidate: 1:2.22-1.2
Version table:
1:2.22-1.2 0
500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packa ges
doxygen:
Installed: 1.8.1.2-2
Candidate: 1.8.1.2-2
Version table:
*** 1.8.1.2-2 0
500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packa ges
100 /var/lib/dpkg/status
N: Unable to locate package libsodium-dev
N: Unable to locate package libjson-c-dev
Display More
libsodium-dev und libjson-c-dev gibt es nicht als Paketquelle, daher hab ich json-c und libsodium selbst kompiliert, die Frage was hat es mit dem dev aufsich?
Allerdings als das noch gefehlt hat, hat er bei cmake schon rumgemeckert das die Abhängigkeit fehlt, nachdem ich es selbst gebaut hatte, war das meckern weg es blieb dann nur noch der gezeigte Fehler. Heißt für mich, die 2 Abhängigkeiten sind somit auch erfüllt oder?
Quote
pi@raspberrypi ~ $ sudo apt-get install cmake bison pkg-config libsodium-dev libcap-dev doxygen libjson-c-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libsodium-dev
E: Unable to locate package libjson-c-dev
pi@raspberrypi ~ $
Display More
P.S. Wenn ich mich hier mit einer 4GBKarte schwer tue wegen doxygen, wie zur Hölle haben die Freifunker das fastd dann auf einen Router mit nur ein paar MB bekommen?
und hier nochmal die Ausgabe mit dem richtigen Aufruf von cmake (hoffe ich)
Quote
pi@raspberrypi ~/fastd-build $ cmake ../fastd
/usr/local/bin/doxygen: 8: /usr/local/bin/doxygen: Syntax error: "(" unexpected
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBCAP_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/pi/fastd/src
LIBCAP_LIBRARY (ADVANCED)
linked by target "fastd" in directory /home/pi/fastd/src
-- Configuring incomplete, errors occurred!
pi@raspberrypi ~/fastd-build $
Display More
und den Aufruf von der Freifunkseite hat im Prinzip das gleiche Problem:
Quote
pi@raspberrypi ~/fastd $ PKG_CONFIG_PATH=$HOME/usr/local/lib/pkgconfig/ cmake .
/usr/local/bin/doxygen: 8: /usr/local/bin/doxygen: Syntax error: "(" unexpected
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBCAP_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/pi/fastd/src
LIBCAP_LIBRARY (ADVANCED)
linked by target "fastd" in directory /home/pi/fastd/src
-- Configuring incomplete, errors occurred!
pi@raspberrypi ~/fastd $
Display More
edit:
So ein Tag Pause hilft manchmal doch....
sudo apt-get install ibcap-dev
brachte noch ein Paket zum Vorschein das ich nicht hatte
jetzt scheint es zu klappen, cmake lief Erfolgreich durch (ok der doxygen Fehler blieb ich hoffe das stört nicht weiter...) und gerade läuft make... Jetzt mal abwarten 

mfg
Chris