Incerc sa compilez IP flood detector care l-am copiat in /home/adi/kitt , m-am uitat in manual, pasii sunt : 1. ./configure.pl 2. make, dar cand dau ./configure.pl imi spune bash: ./configure.pl: Permission denied ...
La comanda ls -alt configure.pl spune -rw-r--r-- 1 adi adi 426 2003-12-30 05:53 configure.pl
Nu vreau sa fac prostii deaceea intreb... care e cauza ... faptul ca se afla in /home/adi/kitt sau ca nu e executabil ...755 ar fi ok ?
Pai fa-l executabil: chmod +x fisier.pl
--
Ghidul Mandriva
Configurarea PPPoE
chmod +x configure.pl , nu a dat nimic deci a fost ok,
-rwxr-xr-x 1 adi adi 426 2003-12-30 05:53 configure.pl*
deci e executabil, dar cand ii dau
./configure.pl
usage: ./configure.pl {OSX BSDI FreeBSD Linux Solaris}
Nu stiu unde gresesc ....
---------------------
[url=http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=432155]L... Registered User 432155 [/url]
Nicaieri, fa ce-ti zice, pune parametrul la capat!
./configure.pl Linux
Csabi's BLOG
Linux registered user # 457717
Am dat ./configure.pl Linux , a raspuns cu type make. , deci am dat make (versiunea - Package make-3.81-4mdv2010.0.i586 is already installed) dar ... surpriza :
cc -Wall -O -D_BSD_SOURCE -g ip_flood_detector.c -lpcap -lpthread -lm -o ip_flood_detector
make: cc: Command not found
make: *** [ip_flood_detector] Error 127
Pachetul de fisiere ip_flood_detector este compus din :
total 64
drwxr-xr-x 3 adi adi 4096 2010-03-10 11:36 ./
lrwxrwxrwx 1 root root 26 2010-03-10 11:36 Makefile -> ./makefiles/Makefile-Linux
drwxr-xr-x 4 adi adi 4096 2010-03-10 10:21 ../
drwxr-xr-x 2 adi adi 4096 2010-03-10 09:53 makefiles/
-rw-r--r-- 1 adi adi 2837 2008-03-11 17:33 README
-rw-r--r-- 1 adi adi 19415 2008-03-11 17:19 ip_flood_detector.c
-rw-r--r-- 1 adi adi 1870 2008-02-02 00:20 ip_flood_detector.h
-rwxr-xr-x 1 adi adi 1024 2008-02-02 00:00 ipflood*
-rwxr-xr-x 1 adi adi 426 2003-12-30 05:53 configure.pl*
-rw-r--r-- 1 adi adi 15142 2003-12-30 05:53 LICENSE
Ce sa ii fac acestei erori ?
---------------------
[url=http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=432155]L... Registered User 432155 [/url]
urpmi gcc
--
Ghidul Mandriva
Configurarea PPPoE
Merge corect .. Multumesc frumos.
---------------------
[url=http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=432155]L... Registered User 432155 [/url]