|
[+] instalacja biblioteki libnet
4ndr1u - 17-09-2008 21:47
Witam chcę zainstalować bibliotekę libnet. Mam Debiana stable Etch i tutaj podaję link do tej biblioteki, i może mi ktoś powiedzieć jak to zainstalować?
maly - 17-09-2008 21:57
Chodzi Ci o instalację ze źródeł?!
tar -xvzf nazwa_pliku.tar.gz
./configure make make install
fnmirk - 17-09-2008 22:00
Po co takie kombinacje robisz? Debian wszystkie dostępne i wymagane biblioteki instaluje z repozytoriów.
Nie dokończyłeś jednego tematu.
Problem zostałby tam rozwiązany. Wróć tam i podaj jeszcze raz zawartość pliku sources.list.
http://debian.linux.pl/viewtopic.php?p=66251#66251
4ndr1u - 17-09-2008 22:06
eeeh jak zwykle jakis błąd sam zobacz root:/home/andriu94# tar -xvzf libnet.tar.gz Libnet-1.0.2a/ Libnet-1.0.2a/Makefile.in Libnet-1.0.2a/README Libnet-1.0.2a/VERSION Libnet-1.0.2a/acconfig.h Libnet-1.0.2a/acinclude.m4 Libnet-1.0.2a/aclocal.m4 Libnet-1.0.2a/config.guess Libnet-1.0.2a/config.sub Libnet-1.0.2a/configure Libnet-1.0.2a/configure.in Libnet-1.0.2a/ensure-dir.sh Libnet-1.0.2a/install-sh Libnet-1.0.2a/libnet-config.in Libnet-1.0.2a/doc/ Libnet-1.0.2a/doc/CHANGELOG Libnet-1.0.2a/doc/CHANGELOG-NEWFUNCTIONS Libnet-1.0.2a/doc/COPYING Libnet-1.0.2a/doc/README Libnet-1.0.2a/doc/TODO-1.0 Libnet-1.0.2a/doc/TODO-1.1 Libnet-1.0.2a/doc/libnet.3 Libnet-1.0.2a/doc/Ancillary/ Libnet-1.0.2a/doc/Ancillary/README.asn.1 Libnet-1.0.2a/doc/Ancillary/README.bpf Libnet-1.0.2a/doc/Ancillary/README.legacy-applications Libnet-1.0.2a/doc/Ancillary/README.libnet-config Libnet-1.0.2a/doc/Ancillary/README.linux Libnet-1.0.2a/doc/Ancillary/README.rawsockets Libnet-1.0.2a/example/ Libnet-1.0.2a/example/Makefile.in Libnet-1.0.2a/example/libnet-example-1.c Libnet-1.0.2a/example/libnet-example-2.c Libnet-1.0.2a/example/libnet-example-3.c Libnet-1.0.2a/example/libnet-example-4.c Libnet-1.0.2a/include/ Libnet-1.0.2a/include/bpf.h Libnet-1.0.2a/include/config.h.in Libnet-1.0.2a/include/gnuc.h Libnet-1.0.2a/include/ifaddrlist.h Libnet-1.0.2a/include/libnet.h Libnet-1.0.2a/include/libnet/ Libnet-1.0.2a/include/libnet/libnet-asn1.h Libnet-1.0.2a/include/libnet/libnet-functions.h Libnet-1.0.2a/include/libnet/libnet-headers.h Libnet-1.0.2a/include/libnet/libnet-macros.h Libnet-1.0.2a/include/libnet/libnet-ospf.h Libnet-1.0.2a/include/libnet/libnet-structures.h Libnet-1.0.2a/lib/ Libnet-1.0.2a/misc/ Libnet-1.0.2a/misc/libnet.s2h Libnet-1.0.2a/ports/ Libnet-1.0.2a/ports/Linux/ Libnet-1.0.2a/ports/Linux/Redhat-RPM/ Libnet-1.0.2a/ports/Linux/Redhat-RPM/libnet.spec Libnet-1.0.2a/ports/OpenBSD-FreeBSD/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/Makefile Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/files/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/files/CVS/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/files/CVS/Root Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/files/CVS/Repository Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/files/CVS/Entries Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/files/md5 Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/patches/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/patches/CVS/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/patches/CVS/Root Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/patches/CVS/Repository Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/patches/CVS/Entries Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/pkg/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/pkg/CVS/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/pkg/CVS/Root Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/pkg/CVS/Repository Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/pkg/CVS/Entries Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/pkg/COMMENT Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/pkg/DESCR Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/pkg/PLIST Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/work/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/work/CVS/ Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/work/CVS/Root Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/work/CVS/Repository Libnet-1.0.2a/ports/OpenBSD-FreeBSD/Libnet/work/CVS/Entries Libnet-1.0.2a/src/ Libnet-1.0.2a/src/CVS/ Libnet-1.0.2a/src/CVS/Root Libnet-1.0.2a/src/CVS/Repository Libnet-1.0.2a/src/CVS/Entries Libnet-1.0.2a/src/libnet_asn1.c Libnet-1.0.2a/src/libnet_build_arp.c Libnet-1.0.2a/src/libnet_build_dns.c Libnet-1.0.2a/src/libnet_build_ethernet.c Libnet-1.0.2a/src/libnet_build_icmp.c Libnet-1.0.2a/src/libnet_build_igmp.c Libnet-1.0.2a/src/libnet_build_ip.c Libnet-1.0.2a/src/libnet_build_ospf.c Libnet-1.0.2a/src/libnet_build_rip.c Libnet-1.0.2a/src/libnet_build_snmp.c Libnet-1.0.2a/src/libnet_build_tcp.c Libnet-1.0.2a/src/libnet_build_udp.c Libnet-1.0.2a/src/libnet_checksum.c Libnet-1.0.2a/src/libnet_error.c Libnet-1.0.2a/src/libnet_hex_dump.c Libnet-1.0.2a/src/libnet_prand.c Libnet-1.0.2a/src/libnet_if_addr.c Libnet-1.0.2a/src/libnet_insert_ipo.c Libnet-1.0.2a/src/libnet_insert_tcpo.c Libnet-1.0.2a/src/libnet_link_bpf.c Libnet-1.0.2a/src/libnet_link_dlpi.c Libnet-1.0.2a/src/libnet_link_nit.c Libnet-1.0.2a/src/libnet_link_pf.c Libnet-1.0.2a/src/libnet_link_snit.c Libnet-1.0.2a/src/libnet_link_snoop.c Libnet-1.0.2a/src/libnet_link_sockpacket.c Libnet-1.0.2a/src/libnet_packet_mem.c Libnet-1.0.2a/src/libnet_port_list.c Libnet-1.0.2a/src/libnet_resolve.c Libnet-1.0.2a/src/libnet_socket.c Libnet-1.0.2a/src/libnet_version.c Libnet-1.0.2a/src/libnet_write_ip.c Libnet-1.0.2a/src/libnet_build_vrrp.c Libnet-1.0.2a/support/ Libnet-1.0.2a/support/bpf-lkm/ Libnet-1.0.2a/support/bpf-lkm/FreeBSD/ Libnet-1.0.2a/support/bpf-lkm/FreeBSD/CVS/ Libnet-1.0.2a/support/bpf-lkm/FreeBSD/CVS/Root Libnet-1.0.2a/support/bpf-lkm/FreeBSD/CVS/Repository Libnet-1.0.2a/support/bpf-lkm/FreeBSD/CVS/Entries Libnet-1.0.2a/support/bpf-lkm/FreeBSD/Makefile Libnet-1.0.2a/support/bpf-lkm/FreeBSD/README Libnet-1.0.2a/support/bpf-lkm/FreeBSD/diff.if_ethersubr.c Libnet-1.0.2a/support/bpf-lkm/FreeBSD/ether_mod.c Libnet-1.0.2a/support/bpf-lkm/FreeBSD/ether_mod_load.c Libnet-1.0.2a/support/bpf-lkm/FreeBSD/4.0-ether.diff Libnet-1.0.2a/support/bpf-lkm/OpenBSD/ Libnet-1.0.2a/support/bpf-lkm/OpenBSD/CVS/ Libnet-1.0.2a/support/bpf-lkm/OpenBSD/CVS/Root Libnet-1.0.2a/support/bpf-lkm/OpenBSD/CVS/Repository Libnet-1.0.2a/support/bpf-lkm/OpenBSD/CVS/Entries Libnet-1.0.2a/support/bpf-lkm/OpenBSD/Makefile.in Libnet-1.0.2a/support/bpf-lkm/OpenBSD/README Libnet-1.0.2a/support/bpf-lkm/OpenBSD/configure.in Libnet-1.0.2a/support/bpf-lkm/OpenBSD/ether_mod-2.4.c Libnet-1.0.2a/support/bpf-lkm/OpenBSD/ether_mod-2.5.c Libnet-1.0.2a/support/bpf-lkm/OpenBSD/ether_mod-2.6.c Libnet-1.0.2a/support/bpf-lkm/OpenBSD/ether_mod-2.7.c Libnet-1.0.2a/support/bpf-lkm/OpenBSD/ether_mod_load.c Libnet-1.0.2a/support/bpf-lkm/OpenBSD/etherspoof-kernel-2.7.diff Libnet-1.0.2a/support/bpf-lkm/OpenBSD/OpenBSD Libnet-1.0.2a/test/ Libnet-1.0.2a/test/Makefile.in Libnet-1.0.2a/test/libnet_test.h Libnet-1.0.2a/test/test-step.sh Libnet-1.0.2a/test/Ethernet/ Libnet-1.0.2a/test/Ethernet/CVS/ Libnet-1.0.2a/test/Ethernet/CVS/Root Libnet-1.0.2a/test/Ethernet/CVS/Repository Libnet-1.0.2a/test/Ethernet/CVS/Entries Libnet-1.0.2a/test/Ethernet/Makefile.in Libnet-1.0.2a/test/Ethernet/arp.c Libnet-1.0.2a/test/Ethernet/get_address.c Libnet-1.0.2a/test/Ethernet/icmp_mask.c Libnet-1.0.2a/test/Ethernet/poink.c Libnet-1.0.2a/test/Ethernet/tcp.c Libnet-1.0.2a/test/ICMP/ Libnet-1.0.2a/test/ICMP/CVS/ Libnet-1.0.2a/test/ICMP/CVS/Root Libnet-1.0.2a/test/ICMP/CVS/Repository Libnet-1.0.2a/test/ICMP/CVS/Entries Libnet-1.0.2a/test/ICMP/Makefile.in Libnet-1.0.2a/test/ICMP/icmp_echo.c Libnet-1.0.2a/test/ICMP/icmp_timestamp.c Libnet-1.0.2a/test/ICMP/icmp_timexceed.c Libnet-1.0.2a/test/ICMP/icmp_unreach.c Libnet-1.0.2a/test/ICMP/ping_of_death.c Libnet-1.0.2a/test/ICMP/silvertongue.c Libnet-1.0.2a/test/IP/ Libnet-1.0.2a/test/IP/CVS/ Libnet-1.0.2a/test/IP/CVS/Root Libnet-1.0.2a/test/IP/CVS/Repository Libnet-1.0.2a/test/IP/CVS/Entries Libnet-1.0.2a/test/IP/Makefile.in Libnet-1.0.2a/test/OSPF/ Libnet-1.0.2a/test/OSPF/CVS/ Libnet-1.0.2a/test/OSPF/CVS/Root Libnet-1.0.2a/test/OSPF/CVS/Repository Libnet-1.0.2a/test/OSPF/CVS/Entries Libnet-1.0.2a/test/OSPF/Makefile.in Libnet-1.0.2a/test/OSPF/ospf_hello.c Libnet-1.0.2a/test/OSPF/ospf_lsa.c Libnet-1.0.2a/test/OSPF/ospf_request.c Libnet-1.0.2a/test/Random/ Libnet-1.0.2a/test/Random/CVS/ Libnet-1.0.2a/test/Random/CVS/Root Libnet-1.0.2a/test/Random/CVS/Repository Libnet-1.0.2a/test/Random/CVS/Entries Libnet-1.0.2a/test/Random/Makefile.in Libnet-1.0.2a/test/Random/hook.c Libnet-1.0.2a/test/Random/prand_trials.c Libnet-1.0.2a/test/TCP/ Libnet-1.0.2a/test/TCP/CVS/ Libnet-1.0.2a/test/TCP/CVS/Root Libnet-1.0.2a/test/TCP/CVS/Repository Libnet-1.0.2a/test/TCP/CVS/Entries Libnet-1.0.2a/test/TCP/Makefile.in Libnet-1.0.2a/test/TCP/syn-flood.c Libnet-1.0.2a/test/TCP/tcp+data+ipopt.c Libnet-1.0.2a/test/TCP/tcp+data.c Libnet-1.0.2a/test/TCP/tcp.c Libnet-1.0.2a/test/UDP/ Libnet-1.0.2a/test/UDP/CVS/ Libnet-1.0.2a/test/UDP/CVS/Root Libnet-1.0.2a/test/UDP/CVS/Repository Libnet-1.0.2a/test/UDP/CVS/Entries Libnet-1.0.2a/test/UDP/Makefile.in Libnet-1.0.2a/test/UDP/udp+data.c Libnet-1.0.2a/test/UDP/udp.c Libnet-1.0.2a/util/ Libnet-1.0.2a/util/Makefile.in Libnet-1.0.2a/util/README Libnet-1.0.2a/util/Get-mac/ Libnet-1.0.2a/util/Get-mac/Makefile.in Libnet-1.0.2a/util/Get-mac/get_mac.c Libnet-1.0.2a/config.sub-new root:/home/andriu94# ./configure bash: ./configure: Nie ma takiego pliku ani katalogu root:/home/andriu94# libnet cd bash: libnet: command not found root:/home/andriu94# cd libnet bash: cd: libnet: Nie ma takiego pliku ani katalogu root:/home/andriu94# cd Libnet root:/home/andriu94/Libnet# ./configure creating cache ./config.cache Beginning autoconfiguration process for libnet-1.0.2a... checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH root:/home/andriu94/Libnet# root:/home/andriu94/Libnet#
LiTE - 18-09-2008 00:31
Nie masz kompilatorów. Zainstaluj build-essential
4ndr1u - 18-09-2008 07:36
Dobrze, a jaką komendą mogę zainstalować tą paczkę kompilatorów? Czy muszę ściągać oddzielnie? Przepraszam za takie pytania ale jestem początkującym.
maly - 18-09-2008 07:45
aptitude install build-essential
http://pl.wikipedia.org/wiki/Aptitude http://debian.linux.pl/viewtopic.php?t=1670 http://czytelnia.ubuntu.pl/index.php...de-vs-apt-get/
4ndr1u - 18-09-2008 13:07
Może mi ktoś powiedzieć w czym problem?
root:/home/andriu94# aptitude install bulid essential Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe Odczyt dodatkowych informacji o stanie Inicjalizacja stanów pakietów... Gotowe Odczyt opisów zadań... Gotowe Budowanie bazy etykiet... Gotowe Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "bulid" Nie znaleziono pakietu "essential". Następujące pakiety mają "essential" w nazwie: build-essential Nie zostaną zainstalowane, uaktualnione ani usunięte żadne pakiety. 0 pakietów uaktualnianych, 0 instalowanych, 0 do usunięcia i 0 nie uaktualnianych. Do pobrania 0B archiwów. Zajęte po rozpakowaniu: 0B. root:/home/andriu94#
ruun - 18-09-2008 13:13
Pakiet nazywa się build-essential (z myślnikiem)
4ndr1u - 18-09-2008 13:23
to teraz mam cos takiego root:/home/andriu94# aptitude install bulid-essential Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe Odczyt dodatkowych informacji o stanie Inicjalizacja stanów pakietów... Gotowe Odczyt opisów zadań... Gotowe Budowanie bazy etykiet... Gotowe Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "bulid-essential" Nie zostaną zainstalowane, uaktualnione ani usunięte żadne pakiety. 0 pakietów uaktualnianych, 0 instalowanych, 0 do usunięcia i 0 nie uaktualnianych. Do pobrania 0B archiwów. Zajęte po rozpakowaniu: 0B. root:/home/andriu94#
maly - 18-09-2008 13:26
to teraz mam cos takiego root:/home/andriu94# aptitude install bulid-essential Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe Odczyt dodatkowych informacji o stanie Inicjalizacja stanów pakietów... Gotowe Odczyt opisów zadań... Gotowe Budowanie bazy etykiet... Gotowe Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "bulid-essential" Nie zostaną zainstalowane, uaktualnione ani usunięte żadne pakiety. 0 pakietów uaktualnianych, 0 instalowanych, 0 do usunięcia i 0 nie uaktualnianych. Do pobrania 0B archiwów. Zajęte po rozpakowaniu: 0B. root:/home/andriu94#
build-essential, a Ty co tam masz wpisane ?! Zobacz. bulid-essential !!
4ndr1u - 18-09-2008 13:27
ok dzięki i przepraszam za problem
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|