Imposible compilar ettercap..alguien tiene un deb?Uso ubuntu

Iniciado por ken310, 18 Junio 2010, 21:15 PM

0 Miembros y 1 Visitante están viendo este tema.

ken310

Pues llevo toda la tarde intentando instalar el ettercap desde la fuentes y por fin cuando consigo que me haga el bien el ./configure --enable-plugins --enable-debug me dice que

Install directory:  /usr/local


Libraries :

LIBPCAP ................  default
LIBNET .................  default
LIBSSL .................  default
NCURSES ................  default
GTK+ ...................  yes

Functionalities :

Debug mode .............  yes
Plugin support .........  [b]no[/b]
Passive DNS ............  yes
Perl regex in filters ..  yes
Iconv UTF-8 support ....  yes


Y aun asi..si intento precindir de los plugins..e instarlarlos sin ellos (aunque bueno ya se que lo puedo obtener de los repositorios)al hacer el make install me da mas errores!!!  :- >:( >:(

Alguien me puede precompilar un deb,o darme una solucion?El log completo es este

root@Aire:/home/ken310/Escritorio/ettercap-NG-0.7.3# ./configure --enable-plugins --enable-debug
checking whether to enable maintainer-specific portions of Makefiles... no

Configuring ettercap NG-0.7.3...

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 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
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) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking if your compiler supports __VA_ARGS__ in macro declarations... yes
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for library containing dlopen... -ldl
checking for an ANSI C-conforming const... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking which extension is used for loadable modules... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for library containing lt_dlopen... no
checking for dlfcn.h... (cached) yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/types.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for errno.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for ctype.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking for NS_GET32... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pid_t... yes
checking for size_t... yes
checking for an ANSI C-conforming const... (cached) yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for library containing pthread_create... -lpthread
checking whether gcc accepts -pthread... yes
checking for getifaddrs... yes
checking for gettimeofday... yes
checking for vsnprintf... yes
checking for select... yes
checking for poll... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strsignal... yes
checking for strtok_r... yes
checking for uname... yes
checking for daemon... yes

Checking for required libraries...

checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing poll... none required
checking for library containing gzopen... -lz
checking for library containing dn_expand... -lresolv
checking for additional -lresolv needed by dn_expand... not needed

Checking for missing functions...

checking for strlcpy... no
checking for strlcat... no
checking for strsep... yes
checking for memmem... yes
checking for memcmp... yes
checking for basename... yes
checking for getopt_long... yes
checking for strcasestr... yes
checking for scandir... yes
checking for inet_aton... yes
checking for inet_aton in -lresolv... yes

Checking user defined options...

checking if --enable-debug option was specified... yes
checking if --enable-plugins option was specified... not supported
checking for libpcap... yes
checking for pcap_datalink_val_to_description in -lpcap... yes
checking for libnet... yes
checking for libnet_adv_free_packet in -lnet... yes
checking for openssl... yes
checking for libpcre... yes
checking for iconv... yes
checking for library containing iconv... none required
checking for iconv in -lc... yes
checking for iconv in -liconv... no
checking for libiconv in -liconv... no
checking for libncurses... yes
checking if --enable-gtk option was specified... checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK_CFLAGS... -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 
checking for GTK_LIBS... -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lfreetype -lfontconfig -lpango-1.0 -lgmodule-2.0 -latk-1.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 

Writing output files...

configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.mingw
config.status: creating man/Makefile
config.status: creating man/ettercap.8
config.status: creating man/ettercap_curses.8
config.status: creating man/ettercap_plugins.8
config.status: creating man/etterlog.8
config.status: creating man/etterfilter.8
config.status: creating man/etter.conf.5
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating src/os/Makefile
config.status: creating src/interfaces/Makefile
config.status: creating src/interfaces/daemon/Makefile
config.status: creating src/interfaces/text/Makefile
config.status: creating src/interfaces/curses/Makefile
config.status: creating src/interfaces/curses/widgets/Makefile
config.status: creating src/interfaces/gtk/Makefile
config.status: creating include/Makefile
config.status: creating utils/Makefile
config.status: creating utils/etterlog/Makefile
config.status: creating utils/etterfilter/Makefile
config.status: creating plug-ins/Makefile
config.status: creating plug-ins/arp_cop/Makefile
config.status: creating plug-ins/autoadd/Makefile
config.status: creating plug-ins/chk_poison/Makefile
config.status: creating plug-ins/dos_attack/Makefile
config.status: creating plug-ins/dns_spoof/Makefile
config.status: creating plug-ins/dummy/Makefile
config.status: creating plug-ins/find_conn/Makefile
config.status: creating plug-ins/find_ettercap/Makefile
config.status: creating plug-ins/find_ip/Makefile
config.status: creating plug-ins/finger/Makefile
config.status: creating plug-ins/finger_submit/Makefile
config.status: creating plug-ins/gre_relay/Makefile
config.status: creating plug-ins/gw_discover/Makefile
config.status: creating plug-ins/isolate/Makefile
config.status: creating plug-ins/link_type/Makefile
config.status: creating plug-ins/pptp_chapms1/Makefile
config.status: creating plug-ins/pptp_clear/Makefile
config.status: creating plug-ins/pptp_pap/Makefile
config.status: creating plug-ins/pptp_reneg/Makefile
config.status: creating plug-ins/rand_flood/Makefile
config.status: creating plug-ins/remote_browser/Makefile
config.status: creating plug-ins/reply_arp/Makefile
config.status: creating plug-ins/repoison_arp/Makefile
config.status: creating plug-ins/scan_poisoner/Makefile
config.status: creating plug-ins/search_promisc/Makefile
config.status: creating plug-ins/smb_clear/Makefile
config.status: creating plug-ins/smb_down/Makefile
config.status: creating plug-ins/stp_mangler/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands

ettercap has been configured as follow...

==================================================

Install directory:  /usr/local


Libraries :

LIBPCAP ................  default
LIBNET .................  default
LIBSSL .................  default
NCURSES ................  default
GTK+ ...................  yes

Functionalities :

Debug mode .............  yes
Plugin support .........  no
Passive DNS ............  yes
Perl regex in filters ..  yes
Iconv UTF-8 support ....  yes

==================================================





braulio--

Has buscado en los repositorios? A mi en fedora me viene.

/* EDITO */
No vi el post por completo

ken310

Cita de: ctlon en 18 Junio 2010, 22:13 PM
y el make?

Uy,lo siento no lo puse.. :rolleyes: esta aqui..

root@Aire:/home/ken310/Escritorio/ettercap-NG-0.7.3# make install
Making install in man
make[1]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/man'
cd .. && /bin/bash ./config.status man/ettercap.8
config.status: creating man/ettercap.8
cd .. && /bin/bash ./config.status man/ettercap_curses.8
config.status: creating man/ettercap_curses.8
cd .. && /bin/bash ./config.status man/etterlog.8
config.status: creating man/etterlog.8
cd .. && /bin/bash ./config.status man/etterfilter.8
config.status: creating man/etterfilter.8
cd .. && /bin/bash ./config.status man/etter.conf.5
config.status: creating man/etter.conf.5
make[2]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/man'
make[2]: No se hace nada para `install-exec-am'.
test -z "/usr/local/man/man5" || mkdir -p -- . "/usr/local/man/man5"
/usr/bin/install -c -m 644 './etter.conf.5' '/usr/local/man/man5/etter.conf.5'
test -z "/usr/local/man/man8" || mkdir -p -- . "/usr/local/man/man8"
/usr/bin/install -c -m 644 './ettercap.8' '/usr/local/man/man8/ettercap.8'
/usr/bin/install -c -m 644 './ettercap_curses.8' '/usr/local/man/man8/ettercap_curses.8'
/usr/bin/install -c -m 644 './etterlog.8' '/usr/local/man/man8/etterlog.8'
/usr/bin/install -c -m 644 './etterfilter.8' '/usr/local/man/man8/etterfilter.8'
make[2]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/man'
make[1]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/man'
Making install in share
make[1]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/share'
make[2]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/share'
test -z "/usr/local/etc" || mkdir -p -- . "/usr/local/etc"
/usr/bin/install -c -m 644 'etter.conf' '/usr/local/etc/etter.conf'
test -z "/usr/local/share/ettercap" || mkdir -p -- . "/usr/local/share/ettercap"
/usr/bin/install -c -m 644 'etter.dns' '/usr/local/share/ettercap/etter.dns'
/usr/bin/install -c -m 644 'etter.fields' '/usr/local/share/ettercap/etter.fields'
/usr/bin/install -c -m 644 'etter.filter' '/usr/local/share/ettercap/etter.filter'
/usr/bin/install -c -m 644 'etter.filter.examples' '/usr/local/share/ettercap/etter.filter.examples'
/usr/bin/install -c -m 644 'etter.filter.kill' '/usr/local/share/ettercap/etter.filter.kill'
/usr/bin/install -c -m 644 'etter.filter.ssh' '/usr/local/share/ettercap/etter.filter.ssh'
/usr/bin/install -c -m 644 'etter.finger.mac' '/usr/local/share/ettercap/etter.finger.mac'
/usr/bin/install -c -m 644 'etter.finger.os' '/usr/local/share/ettercap/etter.finger.os'
/usr/bin/install -c -m 644 'etter.mime' '/usr/local/share/ettercap/etter.mime'
/usr/bin/install -c -m 644 'etter.services' '/usr/local/share/ettercap/etter.services'
/usr/bin/install -c -m 644 'etter.ssl.crt' '/usr/local/share/ettercap/etter.ssl.crt'
/usr/bin/install -c -m 644 'etterfilter.cnt' '/usr/local/share/ettercap/etterfilter.cnt'
/usr/bin/install -c -m 644 'etterfilter.tbl' '/usr/local/share/ettercap/etterfilter.tbl'
/usr/bin/install -c -m 644 'etterlog.dtd' '/usr/local/share/ettercap/etterlog.dtd'
/usr/bin/install -c -m 644 'ettercap.png' '/usr/local/share/ettercap/ettercap.png'
make[2]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/share'
make[1]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/share'
Making install in include
make[1]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/include'
make[2]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/include'
make[2]: No se hace nada para `install-exec-am'.
make[2]: No se hace nada para `install-data-am'.
make[2]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/include'
make[1]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/include'
Making install in include
make[1]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/include'
make[2]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/include'
make[2]: No se hace nada para `install-exec-am'.
make[2]: No se hace nada para `install-data-am'.
make[2]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/include'
make[1]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/include'
Making install in src
make[1]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/src'
Making install in os
make[2]: se ingresa al directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/src/os'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include    -g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall -I/usr/include/pcap     -g -O2 -MT libec_os_a-ec_dummy.o -MD -MP -MF ".deps/libec_os_a-ec_dummy.Tpo" -c -o libec_os_a-ec_dummy.o `test -f 'ec_dummy.c' || echo './'`ec_dummy.c; \
then mv -f ".deps/libec_os_a-ec_dummy.Tpo" ".deps/libec_os_a-ec_dummy.Po"; else rm -f ".deps/libec_os_a-ec_dummy.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include    -g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall -I/usr/include/pcap     -g -O2 -MT libec_os_a-ec_linux.o -MD -MP -MF ".deps/libec_os_a-ec_linux.Tpo" -c -o libec_os_a-ec_linux.o `test -f 'ec_linux.c' || echo './'`ec_linux.c; \
then mv -f ".deps/libec_os_a-ec_linux.Tpo" ".deps/libec_os_a-ec_linux.Po"; else rm -f ".deps/libec_os_a-ec_linux.Tpo"; exit 1; fi
cc1: warnings being treated as errors
ec_linux.c: In function 'disable_ip_forward':
ec_linux.c:44: error: ignoring return value of 'fscanf', declared with attribute warn_unused_result
ec_linux.c: In function 'restore_ip_forward':
ec_linux.c:71: error: ignoring return value of 'fscanf', declared with attribute warn_unused_result
make[2]: *** [libec_os_a-ec_linux.o] Error 1
make[2]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/src/os'
make[1]: *** [install-recursive] Error 1
make[1]: se sale del directorio `/home/ken310/Escritorio/ettercap-NG-0.7.3/src'
make: *** [install-recursive] Error 1



Ayudadme porfavor!me estoy volviendo ya loco  :xD

luinuz

Podrias retocar el codigo donde falla para corregirlo. No es dificil si sabes programar un poquito en c, simplemente revisa la llamada a fscanf en el fichero ec_linux.c, lineas 44 y 71.

En caso que pases de tocar el codigo, usa la version svn (o git en su defecto).