Du må være registrert og logget inn for å kunne legge ut innlegg på freak.no
X
LOGG INN
... eller du kan registrere deg nå
Dette nettstedet er avhengig av annonseinntekter for å holde driften og videre utvikling igang. Vi liker ikke reklame heller, men alternativene er ikke mange. Vær snill å vurder å slå av annonseblokkering, eller å abonnere på en reklamefri utgave av nettstedet.
  10 1152
Er helt fersk på Linux og har installert Mandrake 9.1 for å kunne kjøre Airsnort. Problemet er bare at det virker helt håpløst å installere programmer som f.eks Airsnort . Har lastet ned og prøvd å installere programmet, men fikk beskjed om at jeg måtte ha gtk "ettellerannet" installert. Prøvde så å installere gtk ved å laste ned fra gtk.org, men da måtte jeg igjen laste ned å installere en tre-fire pakker og dette gikk i surr for meg. Gjør jeg noe galt eller er det bare jeg som ikke er "linux-materiale"? Skulle gjerne lært dette på et vis men det er så mye linux-dokumentasjon "der ute" at jeg nesten ikke vet hvor jeg skal begynne.
Noen som kan forklare litt enkelt hva jeg bør gjøre?

Sandor
Husker at jeg leste en omtale av Linux i et pc-blad, og de kom fram til at dette problemet var den absolutt største ulempen med Linux. Det eneste tipset de kunne komme med var å lete etter en versjon av programmet der alt følger med.

edit:
Opprinnelig postet av Nichotin
laurentius: du er på bærtur.
Vis hele sitatet...
Pc-bladet er på bærtur
Sist endret av Laurentius; 18. august 2004 kl. 21:09.
umm. dette fikser du ved å bruke pakkesystemet. tror mandrake bruker urpmi. da får du lagt inn gtk og alle depencies.

laurentius: du er på bærtur.
Trådstarter
25 0
Hmmm.. Vet ikke hva du mener med urpmi, men fikk lagt inn GTK med depencies via Mandrakes pakkeinstallering. Prøvde så å gjøre som beskrevet på airsnorts hjemmeside, men resultatet ble følgende:




[jano@localhost airsnort-0.2.4a]$ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Running aclocal ...
Running autoheader...
Running automake --gnu ...
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
automake: Makefile.am: required file `./NEWS' not found
automake: Makefile.am: installing `./COPYING'
Running autoconf ...
Running ./configure --enable-maintainer-mode ...
creating cache ./config.cache
checking for a BSD compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for strerror in -lcposix... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for pkg-config... /usr//bin/pkg-config
checking for gtk+-2.0 >= 2.0.0... yes
checking PACKAGE_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking PACKAGE_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating man/Makefile
creating config.h
Now type `make' to compile.
[jano@localhost airsnort-0.2.4a]$ make
cd . && autoheader
make all-recursive
make[1]: Entering directory `/home/jano/airsnort-0.2.4a'
Making all in src
make[2]: Entering directory `/home/jano/airsnort-0.2.4a/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -c support.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -c interface.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -c callbacks.c
callbacks.c:9:18: pcap.h: No such file or directory
In file included from /usr/include/linux/wireless.h:75,
from PacketSource.h:31,
from callbacks.c:23:
/usr/include/linux/ethtool.h:18: parse error before "u32"
/usr/include/linux/ethtool.h:20: parse error before "advertising"
/usr/include/linux/ethtool.h:21: parse error before "speed"
/usr/include/linux/ethtool.h:22: parse error before "duplex"
/usr/include/linux/ethtool.h:23: parse error before "port"
/usr/include/linux/ethtool.h:24: parse error before "phy_address"
/usr/include/linux/ethtool.h:25: parse error before "transceiver"
/usr/include/linux/ethtool.h:26: parse error before "autoneg"
/usr/include/linux/ethtool.h:27: parse error before "maxtxpkt"
/usr/include/linux/ethtool.h:28: parse error before "maxrxpkt"
/usr/include/linux/ethtool.h:29: parse error before "reserved"
/usr/include/linux/ethtool.h:30: parse error before '}' token
/usr/include/linux/ethtool.h:35: parse error before "u32"
/usr/include/linux/ethtool.h:43: parse error before "n_stats"
/usr/include/linux/ethtool.h:44: parse error before "testinfo_len"
/usr/include/linux/ethtool.h:45: parse error before "eedump_len"
/usr/include/linux/ethtool.h:46: parse error before "regdump_len"
/usr/include/linux/ethtool.h:52: parse error before "u32"
/usr/include/linux/ethtool.h:54: parse error before "wolopts"
/usr/include/linux/ethtool.h:55: parse error before "sopass"
/usr/include/linux/ethtool.h:56: parse error before '}' token
/usr/include/linux/ethtool.h:60: parse error before "u32"
/usr/include/linux/ethtool.h:66: parse error before "u32"
/usr/include/linux/ethtool.h:67: conflicting types for `version'
/usr/include/linux/ethtool.h:37: previous declaration of `version'
/usr/include/linux/ethtool.h:68: parse error before "len"
/usr/include/linux/ethtool.h:69: parse error before "data"
/usr/include/linux/ethtool.h:69: conflicting types for `data'
/usr/include/linux/ethtool.h:61: previous declaration of `data'
/usr/include/linux/ethtool.h:70: parse error before '}' token
/usr/include/linux/ethtool.h:74: parse error before "u32"
/usr/include/linux/ethtool.h:76: parse error before "offset"
/usr/include/linux/ethtool.h:77: parse error before "len"
/usr/include/linux/ethtool.h:78: parse error before "data"
/usr/include/linux/ethtool.h:79: parse error before '}' token
/usr/include/linux/ethtool.h:83: parse error before "u32"
/usr/include/linux/ethtool.h:97: parse error before "rx_max_coalesced_frames"
/usr/include/linux/ethtool.h:104: parse error before "rx_coalesce_usecs_irq"
/usr/include/linux/ethtool.h:105: parse error before "rx_max_coalesced_frames_irq"
/usr/include/linux/ethtool.h:111: parse error before "tx_coalesce_usecs"
/usr/include/linux/ethtool.h:119: parse error before "tx_max_coalesced_frames"
/usr/include/linux/ethtool.h:126: parse error before "tx_coalesce_usecs_irq"
/usr/include/linux/ethtool.h:127: parse error before "tx_max_coalesced_frames_irq"
/usr/include/linux/ethtool.h:134: parse error before "stats_block_coalesce_usecs"
/usr/include/linux/ethtool.h:143: parse error before "use_adaptive_rx_coalesce"
/usr/include/linux/ethtool.h:144: parse error before "use_adaptive_tx_coalesce"
/usr/include/linux/ethtool.h:150: parse error before "pkt_rate_low"
/usr/include/linux/ethtool.h:151: parse error before "rx_coalesce_usecs_low"
/usr/include/linux/ethtool.h:152: parse error before "rx_max_coalesced_frames_low"
/usr/include/linux/ethtool.h:153: parse error before "tx_coalesce_usecs_low"
/usr/include/linux/ethtool.h:154: parse error before "tx_max_coalesced_frames_low"
/usr/include/linux/ethtool.h:165: parse error before "pkt_rate_high"
/usr/include/linux/ethtool.h:166: parse error before "rx_coalesce_usecs_high"
/usr/include/linux/ethtool.h:167: parse error before "rx_max_coalesced_frames_high"
/usr/include/linux/ethtool.h:168: parse error before "tx_coalesce_usecs_high"
/usr/include/linux/ethtool.h:169: parse error before "tx_max_coalesced_frames_high"
/usr/include/linux/ethtool.h:174: parse error before "rate_sample_interval"
/usr/include/linux/ethtool.h:179: parse error before "u32"
/usr/include/linux/ethtool.h:186: parse error before "rx_mini_max_pending"
/usr/include/linux/ethtool.h:187: parse error before "rx_jumbo_max_pending"
/usr/include/linux/ethtool.h:188: parse error before "tx_max_pending"
/usr/include/linux/ethtool.h:193: parse error before "rx_pending"
/usr/include/linux/ethtool.h:194: parse error before "rx_mini_pending"
/usr/include/linux/ethtool.h:195: parse error before "rx_jumbo_pending"
/usr/include/linux/ethtool.h:196: parse error before "tx_pending"
/usr/include/linux/ethtool.h:201: parse error before "u32"
/usr/include/linux/ethtool.h:214: parse error before "rx_pause"
/usr/include/linux/ethtool.h:215: parse error before "tx_pause"
/usr/include/linux/ethtool.h:226: parse error before "u32"
/usr/include/linux/ethtool.h:228: parse error before "len"
/usr/include/linux/ethtool.h:229: parse error before "data"
/usr/include/linux/ethtool.h:230: parse error before '}' token
/usr/include/linux/ethtool.h:239: parse error before "u32"
/usr/include/linux/ethtool.h:241: parse error before "reserved"
/usr/include/linux/ethtool.h:241: conflicting types for `reserved'
/usr/include/linux/ethtool.h:29: previous declaration of `reserved'
/usr/include/linux/ethtool.h:242: parse error before "len"
/usr/include/linux/ethtool.h:243: parse error before "data"
/usr/include/linux/ethtool.h:244: parse error before '}' token
/usr/include/linux/ethtool.h:248: parse error before "u32"
/usr/include/linux/ethtool.h:250: parse error before "data"
/usr/include/linux/ethtool.h:251: parse error before '}' token
In file included from callbacks.c:23:
PacketSource.h:32:18: pcap.h: No such file or directory
In file included from callbacks.c:23:
PacketSource.h:138: parse error before "pcap_t"
PacketSource.h:138: warning: no semicolon at end of struct or union
PacketSource.h:139: warning: data definition has no type or storage class
PacketSource.h:152: parse error before '}' token
PacketSource.h:152: warning: data definition has no type or storage class
PacketSource.h:154: parse error before '*' token
PacketSource.h:154: warning: data definition has no type or storage class
PacketSource.h:155: parse error before '*' token
PacketSource.h:156: parse error before '*' token
PacketSource.h:156: warning: data definition has no type or storage class
PacketSource.h:157: parse error before '*' token
PacketSource.h:158: parse error before '*' token
PacketSource.h:159: parse error before '*' token
PacketSource.h:160: parse error before '*' token
In file included from bssidlist.h:35,
from display.h:23,
from callbacks.c:28:
capture.h:25:18: pcap.h: No such file or directory
In file included from bssidlist.h:35,
from display.h:23,
from callbacks.c:28:
capture.h:52: parse error before "PacketSource"
capture.h:52: warning: no semicolon at end of struct or union
capture.h:54: parse error before '}' token
capture.h:54: warning: data definition has no type or storage class
capture.h:70: `PCAP_ERRBUF_SIZE' undeclared here (not in a function)
callbacks.c:83: `PCAP_ERRBUF_SIZE' undeclared here (not in a function)
callbacks.c:83: conflicting types for `errbuf'
capture.h:70: previous declaration of `errbuf'
callbacks.c: In function `on_Start_clicked':
callbacks.c:362: `ca' undeclared (first use in this function)
callbacks.c:362: (Each undeclared identifier is reported only once
callbacks.c:362: for each function it appears in.)
callbacks.c:386: parse error before ')' token
callbacks.c: In function `on_pcap_ok_clicked':
callbacks.c:678: `ca' undeclared (first use in this function)
callbacks.c:678: parse error before ')' token
/usr/include/ctype.h: At top level:
callbacks.c:83: storage size of `errbuf' isn't known
make[2]: *** [callbacks.o] Error 1
make[2]: Leaving directory `/home/jano/airsnort-0.2.4a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jano/airsnort-0.2.4a'
make: *** [all-recursive-am] Error 2
[jano@localhost airsnort-0.2.4a]$ airsnort




Bare synd jeg ikke skjønner bæra
Noen som forstår hva jeg gjør galt?

Sandor
`./autogen.sh' må kjøres som root for at det skal bli fullt installert ser det ut som.

Hvis ikke kan du lese README eller/og INSTALL filen som burde følge med. og se om du kan ta:

Kode

$ ./configure
$ make
# make install
Sist endret av lynzh; 16. august 2004 kl. 22:48.
Installer Gentoo. Skriv emerge airsnort. That's it...
Trådstarter
25 0
Har prøvd det og men med samme resultat... Lurer på om OS'et har noen mangler mht drivere og slikt ovenfor Airsnort. Noen som vet om en distro (utenom Knoppix) som kommer ferdig med Airsnort?

Sandor

edit: Gentoo... - Skal sjekke
"urpmi pakke"
google etter urpmi how-to
utenfor ditt vindu
larsforstyrret's Avatar
kanskje tilogmed
man urpmi
Vis hele sitatet...
hvis dette er lagt inn vel og merke.
I mandrake bruker man RPM-filer og verktøyet urpmi for å installere programmer, dette er dekt i dokumentasjonen: http://doc.mandrakelinux.com/Mandrak.../Starter.html/
Hvis ikke det står noe annet inne i INSTALL eller README fila -- Når man skal installere fra source er oppskriften som regel enkel:
./configure
make
su -c "make install"
Vis hele sitatet...