Nowe posty

xx Dystrybucja pod HP Omen (7)
Dzisiaj o 11:33:05
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
lamp Problem z Linux Lite po instalacji (0)
2024-03-27, 19:50:30
xx Ile pingwinów? (1)
2024-03-27, 08:59:24
xx konfiguracja pale moon (0)
2024-03-24, 21:53:42
xx Plasma 6 w Neonie ssie trochę mniej ... (10)
2024-03-23, 02:38:11
xx problem z instalacja sterowników do karty sieciowej (3)
2024-03-18, 18:10:16
xx Plik abc.001 (1)
2024-03-17, 17:48:27
xx Zlecę dopracowanie programu w MatLab (0)
2024-03-13, 15:28:40
xx Linux Mint 21.3 XFCE brak dźwieku po paru minutach (karta muzyczna zintegrowana) (5)
2024-03-12, 23:07:01

Autor Wątek: Błędy z kompilacją nemesis  (Przeczytany 4671 razy)

  • Gość
Błędy z kompilacją nemesis
« dnia: 2010-06-19, 16:13:16 »
Podczas kompilacji nemesis wyskoczył mnie błąd przy ./configure dość ciekawy:

Cytuj
tomasz@tomasz-laptop:/media/DATA/tomasz/dane/biblioteki,silniki/nemesis-1.4$ sudo su
root@tomasz-laptop:/media/DATA/tomasz/dane/biblioteki,silniki/nemesis-1.4# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for gcc option to accept ANSI C... none needed
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for fabs in -lm... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking for hstrerror in -lresolv... yes
checking for libnet_build_ip in -lnet... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for strings.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking libnet.h usability... yes
checking libnet.h presence... yes
checking for libnet.h... yes
checking for libnet version 1.0.2a... no

   ERROR!  Nemesis will *only* work with libnet version 1.0.2a,
   go get it from
   http://www.packetfactory.net/projects/libnet/


**********************************************
  ERROR: unable to find libnet 1.0.2a (libnet.h)
  checked in the following places
        /usr/local/include
**********************************************

root@tomasz-laptop:/media/DATA/tomasz/dane/biblioteki,silniki/nemesis-1.4# stat /usr/local/include
  File: `/usr/local/include'
  Size: 4096         Blocks: 8          IO Block: 4096   katalog
Device: 805h/2053d   Inode: 106537      Links: 4
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2010-06-19 15:53:48.170627416 +0200
Modify: 2010-06-19 15:40:34.702622657 +0200
Change: 2010-06-19 15:40:34.702622657 +0200
root@tomasz-laptop:/media/DATA/tomasz/dane/biblioteki,silniki/nemesis-1.4#
Plik jest ale configure go nie widzi. Dlaczego?

2) Gdzie można znaleźść stronę domową libnet. Na (chyba ich stronie) libnet.sourceforge.net znalazłem tylko starą wersję 0.10 sic!

Znalazłem już co prawdą nową 1.0.2 ale fakt ten mnie ździwił

darkdancer

  • Gość
Błędy z kompilacją nemesis
« Odpowiedź #1 dnia: 2010-06-19, 23:51:22 »
Robisz stat na /usr/local/include - a to jest systemowy katalog z plikami nagłówkowymi a nie twój "brakujący" plik ale to akurat nieistotne. Configure rzeczywiście melduje, że znalazło plik libnet.h ale nie w wersji 1.0.2a (możliwe, że w nowszej? w repo ubuntu jest wersja 1.1.4 nie wiem jak w innych)