View previous topic :: View next topic |
Author |
Message |
alcorel n00b
Joined: 02 Mar 2004 Posts: 67
|
Posted: Sun Dec 01, 2013 1:44 am Post subject: [portage] emerge, ./configure (résolu) |
|
|
salut,
j'ai dans mes logs un programme contenant une erreur fatale . après recherche, il faut que le logiciel soit compilé avec --enable-non-ether-decoders.
y aurait-il un moyen de passer des options a ./configure autrement que par les use?
d'avance merci!
Last edited by alcorel on Sun Dec 01, 2013 1:42 pm; edited 1 time in total |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Sun Dec 01, 2013 11:39 am Post subject: |
|
|
Bonjour,
La FAQ est en effet affirmative à ce sujet
En gros, deux méthodes :
- soit tu fais une copie de l'ebuild, tu modifies l'étape "configure" et tu le places dans un overlay personnel.
- soit tu effectues manuellement les étapes de l'emerge à coup de commandes "ebuild" et en intercalant la commande "./configure" kivabien lorsqu'il y a lieu.
La seconde méthode n'est raisonnablement envisageable que si l'ebuild est très simple. |
|
Back to top |
|
|
alcorel n00b
Joined: 02 Mar 2004 Posts: 67
|
Posted: Sun Dec 01, 2013 1:41 pm Post subject: |
|
|
excellent!
fonctionne parfaitement en modifiant l'ebuild.
merci beaucoup! |
|
Back to top |
|
|
guilc Bodhisattva
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
|
Back to top |
|
|
alcorel n00b
Joined: 02 Mar 2004 Posts: 67
|
Posted: Sun Dec 01, 2013 11:39 pm Post subject: |
|
|
je suis pas vraiment certain que ce soit un bug, d'après ce que je comprend, tu as cette erreur:
Code: | FATAL ERROR: Cannot decode data link type 113 | si tu laisses la config de snort sur any interface.
faut que je fasse plus d'essais demain |
|
Back to top |
|
|
guilc Bodhisattva
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
|
Back to top |
|
|
alcorel n00b
Joined: 02 Mar 2004 Posts: 67
|
Posted: Mon Dec 02, 2013 9:06 am Post subject: |
|
|
c'est exactement ça,
sur any tu as dans les logs decoding linux sll
sur eth0 decoding ethernet et sur tun0, decoding raw.
Code: |
Dec 2 09:48:22 gentoo snort[2792]: Acquiring network traffic from "any".
Dec 2 09:48:22 gentoo snort[2792]: Initializing daemon mode
Dec 2 09:48:22 gentoo snort[2798]: Daemon initialized, signaled parent pid: 2792
Dec 2 09:48:22 gentoo snort[2798]: Reload thread starting...
Dec 2 09:48:22 gentoo snort[2798]: Reload thread started, thread 0x7f0631012700 (2799)
Dec 2 09:48:22 gentoo snort[2798]: Decoding Linux SLL
Dec 2 09:48:22 gentoo snort[2798]: Checking PID path...
Dec 2 09:48:22 gentoo snort[2798]: PID path stat checked out ok, PID path set to /var/run/snort
Dec 2 09:48:22 gentoo snort[2798]: Writing PID "2798" to file "/var/run/snort/snort_any.pid"
Dec 2 09:48:22 gentoo snort[2798]: Set gid to 994
Dec 2 09:48:22 gentoo snort[2798]: Set uid to 110
Dec 2 09:48:22 gentoo snort[2798]:
Dec 2 09:48:22 gentoo snort[2798]: --== Initialization Complete ==--
Dec 2 09:48:22 gentoo snort[2798]: Commencing packet processing (pid=2798) |
et l'erreur sans l'option:
Code: | Dec 2 09:21:02 gentoo snort[21320]: Acquiring network traffic from "any".
Dec 2 09:21:02 gentoo snort[21320]: Initializing daemon mode
Dec 2 09:21:02 gentoo snort[21330]: Daemon initialized, signaled parent pid: 21320
Dec 2 09:21:02 gentoo snort[21330]: Reload thread starting...
Dec 2 09:21:02 gentoo snort[21330]: Reload thread started, thread 0x7f475d4fb700 (21330)
Dec 2 09:21:02 gentoo snort[21330]: FATAL ERROR: Cannot decode data link type 113 |
|
|
Back to top |
|
|
|