Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révision Les deux révisions suivantes | ||
barnyard2 [Le 31/05/2012, 10:50] Canigou 66 écrit à partir du zero > écrit à partir de zéro, Dépots > Dépôts |
barnyard2 [Le 18/08/2016, 01:55] 86.229.9.51 [Compilation] |
||
---|---|---|---|
Ligne 25: | Ligne 25: | ||
====Compilation==== | ====Compilation==== | ||
<code> | <code> | ||
- | wget http://www.securixlive.com/download/barnyard2/barnyard2-1.9.tar.gz | + | git clone https://github.com/firnsy/barnyard2.git |
- | tar zxvf barnyard2-1.9.tar.gz | + | cd bayard2/ |
- | cd barnyard2-1.9 | + | ./autogen.sh |
- | ./configure --with-mysql && make && make install | + | </code> |
+ | Pour éviter l'erreur suivante ; | ||
+ | <code> | ||
+ | ERROR: unable to find mysqlclient library (libmysqlclient.*) | ||
+ | </code> | ||
+ | Nous allons trouver les librairies mysqlclient comme suivant ; | ||
+ | <code> | ||
+ | locate mysqlclient | ||
+ | </code> | ||
+ | Dans tout les résultat, cherchez le chemin contenant "libmysqlclient.so". | ||
+ | Donc si par exemple vous trouvez "/usr/lib/x86_64-linux-gnu/" comme chemin ; | ||
+ | <code> | ||
+ | ./configure --with-mysql-libraries=/usr/lib/x86_64-linux-gnu/ && make && make install | ||
</code> | </code> | ||
- | |||
=====Utilisation===== | =====Utilisation===== | ||