Não consigo instalar o Aegis antivírus! [RESOLVIDO]

1. Não consigo instalar o Aegis antivírus! [RESOLVIDO]

Raul Lopes S. Grangeiro
raulgrangeiro

(usa Fedora)

Enviado em 07/07/2010 - 17:48h

Oi, eu sei que todo mundo diz que não precisa instalar antivírus, mas eu tenho dual-boot e seria ótimo ter um antivírus pra escanear minhas partições. O problema é que quase sempre tenho problemas com pacotes de código-fonte. Fiz tudo certinho: baixei ele do superdownloads, depois executei o ./configure, instalei as dependências que foram essas aqui: bison, zlib1g-dev, libbz2-dev bzip2, libmagic-dev, libcurl4-gnutls-dev, libcurl3-dev, libxml2-dev, uuid-dev, gettext, groff; depois de instalado executei o make, aí deus uns erros, depois o make install, e outros erros. Vou colocar aqui o que apareceu em cada um:
> ./configure:

checking for g++... g++
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 g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for library containing strerror... none required
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for wschr... no
checking for wschr in -lw... no
checking for iconv in -liconv... no
checking for gettext in -lintl... no
checking for gettext in -lgettext... no
checking for setsockopt... yes
checking for (atan2) in -lm... yes
checking for regcomp in -lrx... no
checking for gzopen in -lz... yes
checking for BZ2_bzopen in -lbz2... yes
checking for crypt in -lcrypt... yes
checking for magic_file in -lmagic... yes
checking for clu_info in -lclu... no
checking for curl-config... curl-config
checking for curl_multi_perform in -lcurl... yes
checking for xml2-config... xml2-config
checking for xmlTextReaderRead in -lxml2... yes
checking for uuid_hash in -lc... no
checking for uuid_load in -luuid... no
checking for uuid_generate in -luuid... yes
checking for uuid_hash in -luuid... no
checking for Linux /proc/sys/kernel/random/uuid... yes
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking for gmsgcat... no
checking for msgcat... msgcat
checking for groff... groff
checking for roffpp... no
checking for gsoelim... no
checking for soelim... soelim
checking for grefer... no
checking for refer... refer
checking for gawk... gawk
checking for manpath... manpath
checking for locale... locale
checking for locale-gen... locale-gen
checking for wish... /usr/bin/wish
checking for vi... /usr/bin/vi
checking for perl... /usr/bin/perl
checking for gdiff... no
checking for diff... diff
checking for diff... /usr/bin/diff
checking for GNU diff... yes
checking for gpatch... no
checking for patch... patch
checking for patch... /usr/bin/patch
checking for GNU patch... yes
checking for groff -ms macros... -ms
checking for groff -mm macros... -mm
checking for TIOCGWINSZ... sys/ioctl.h
checking for struct winsize... not found
checking for working stdarg.h... no
checking for working mblen... yes
checking bits/c++locale.h usability... yes
checking bits/c++locale.h presence... yes
checking for bits/c++locale.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking curl/multi.h usability... yes
checking curl/multi.h presence... yes
checking for curl/multi.h... yes
checking dce/rpc.h usability... no
checking dce/rpc.h presence... no
checking for dce/rpc.h... no
checking dce/uuid.h usability... no
checking dce/uuid.h presence... no
checking for dce/uuid.h... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking iso646.h usability... yes
checking iso646.h presence... yes
checking for iso646.h... yes
checking libgettext.h usability... no
checking libgettext.h presence... no
checking for libgettext.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking magic.h usability... yes
checking magic.h presence... yes
checking for magic.h... yes
checking for memory.h... (cached) yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking new.h usability... no
checking new.h presence... no
checking for new.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking rxposix.h usability... no
checking rxposix.h presence... no
checking for rxposix.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/clu.h usability... no
checking sys/clu.h presence... no
checking for sys/clu.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking tr1/memory usability... yes
checking tr1/memory presence... yes
checking for tr1/memory... yes
checking for unistd.h... (cached) yes
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking widec.h usability... no
checking widec.h presence... no
checking for widec.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for <new>... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking return type of signal handlers... void
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for an ANSI C-conforming const... yes
checking for long file names... yes
checking for backtrace... yes
checking for clu_info... no
checking for crypt... yes
checking for curl_easy_strerror... yes
checking for curl_multi_strerror... yes
checking for getpgrp... yes
checking for igetspnam... no
checking for initgroups... yes
checking for gettext... yes
checking for gettimeofday... yes
checking for iswctype... yes
checking for lutime... no
checking for magic_file... yes
checking for mbrtowc... yes
checking for memmem... yes
checking for pathconf... yes
checking for prctl... yes
checking for regcomp... yes
checking for rpc_string_free... no
checking for seteuid... yes
checking for setlocale... yes
checking for setresuid... yes
checking for setreuid... yes
checking for sighold... yes
checking for sigrelse... yes
checking for sigprocmask... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strendcpy... no
checking for strlcat... yes
checking for strlcpy... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for strsignal... yes
checking for strtoul... yes
checking for strverscmp... yes
checking for symlink... yes
checking for tcgetpgrp... yes
checking for uuid_create... no
checking for uuid_export... no
checking for uuid_generate... yes
checking for uuid_hash... no
checking for uuid_load... no
checking for uuid_make... no
checking for uuid_to_string... no
checking for uuid_unparse... yes
checking for vsnprintf... yes
checking for wcrtomb... yes
checking for wcslen... yes
checking for wcswidth... yes
checking for wcwidth... yes
checking for xmlReaderForIO... yes
checking whether crypt is declared... yes
checking whether mbrtowc is declared... yes
checking whether wcrtomb is declared... yes
checking whether wcwidth is declared... yes
checking whether wcswidth is declared... yes
checking whether strsignal is declared... yes
checking for wint_t... yes
checking for mbstate_t... yes
checking for working iswprint... yes
checking for appropriate getpgrp argument... empty
checking for pw_comment in struct passwd... no
checking for tm_zone in struct tm... yes
checking for a Bourne shell which understands functions... /bin/sh
checking for owner of aegis library files... 3, 3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/cshrc
config.status: creating lib/profile
config.status: creating etc/libdir.so
config.status: creating common/libdir.cc
config.status: creating etc/compat.2.3
config.status: creating common/config.h
config.status: common/config.h is unchanged

> make:

CONFIG_FILES=script/ae-cvs-ci:script/ae-cvs-ci.in CONFIG_HEADERS= /bin/sh \
./config.status
config.status: creating script/ae-cvs-ci
cp script/ae-cvs-ci bin/ae-cvs-ci
chmod a+rx bin/ae-cvs-ci
g++ -I. -g -O2 -I/usr/include/libxml2 -c common/ac/string/memmem.cc
common/ac/string/memmem.cc: In function ‘void* memmem_replacement(const void*, size_t, const void*, size_t)’:
common/ac/string/memmem.cc:185: error: invalid conversion from ‘const void*’ to ‘void*’
make: ** [common/ac/string/memmem.o] Erro 1

> make install:

/usr/bin/install -c bin/ae-cvs-ci /usr/local/bin/ae-cvs-ci
g++ -I. -g -O2 -I/usr/include/libxml2 -c common/ac/string/memmem.cc
common/ac/string/memmem.cc: In function ‘void* memmem_replacement(const void*, size_t, const void*, size_t)’:
common/ac/string/memmem.cc:185: error: invalid conversion from ‘const void*’ to ‘void*’
make: ** [common/ac/string/memmem.o] Erro 1

Alguém pode me ajudar?


  


2. MELHOR RESPOSTA

Perfil removido
removido

(usa Nenhuma)

Enviado em 09/07/2010 - 13:53h


Instalação das dependências:
$ sudo apt-get install build-essential gcc cpp g++ flex bison make zlib1g-dev libbz2-dev bzip2 libxml2-dev libmagic-dev libcurl3-dev uuid-dev libossp-uuid-dev gettext groff

Descompacte, compile e instale:
$ tar -zxvf aegis-4.24.tar.gz
$ cd aegis-4.24/
$ ./configure
$ make && sudo make install

Porém, na hora do 'make' dá erro, todas as depend&#7869;ncias foram satisfeitas, mas ainda assim...

-------------------------------------------------------------------------------------------

Porque você não baixa o pacote .deb pronto?

$ wget http://archive.ubuntu.com/ubuntu/pool/universe/a/aegis-virus-scanner/aegis-virus-scanner_0.1.1-1_all...
$ sudo dpkg -i aegis-virus-scanner_0.1.1-1_all.deb
$ sudo apt-get -f install


Desse modo funciona, chame o programa com:

$ sudo aegis-virus-scanner

Na interface dele, clique em 'About', depois em 'Update Virus Definition' e quando surgir a tela do terminal, digite; yes

* Testado no Ubuntu Lucid Lynx, não esqueça que se resolver, finaliza os tópicos!


3. Re: Não consigo instalar o Aegis antivírus! [RESOLVIDO]

Raul Lopes S. Grangeiro
raulgrangeiro

(usa Fedora)

Enviado em 08/07/2010 - 02:21h

Alguém?


4. não é tão fácil em Debian/Ubuntu

Perfil removido
removido

(usa Nenhuma)

Enviado em 09/07/2010 - 12:26h


Compilar programas em Debian/Ubuntu é às vezes muito mais difícil do que por exemplo no Arch Linux ou no Gentoo!

* A primeira coisa a fazer no Debian/Ubuntu: é ler o Readme pra saber quais as dependências do pacote que se quer compilar.

* Não querendo quebrar a cabeça, tente com o auto-apt:

http://www.vivaolinux.com.br/dica/Facilite-sua-vida-com-o-autoapt/
http://www.vivaolinux.com.br/dica/Resolvendo-dependencias-autoapt

Ou vá pro Arch Linux brincar com o pacman, packer, yaourt e o AUR (sem comparação).

Muitos dizem que Arch e Gentoo são difíceis, mas .... , pra compilar pacotes são excelentes!



5. Re: Não consigo instalar o Aegis antivírus! [RESOLVIDO]

Raul Lopes S. Grangeiro
raulgrangeiro

(usa Fedora)

Enviado em 09/07/2010 - 12:59h

Legal, estou tentando com o auto-apt, mas ele tá instalando um monte de coisas e eu não sei porque. Será que o auto-apt está errando aqui?

Se puder dê uma olhada no arquivo que tento compilar, ese possível me auxilie a instlar esse pacote.
Link.: http://www.superdownloads.com.br/download/180/aegis/

Agradeço desde já a ajuda!


6. Re: Não consigo instalar o Aegis antivírus! [RESOLVIDO]

Raul Lopes S. Grangeiro
raulgrangeiro

(usa Fedora)

Enviado em 09/07/2010 - 17:26h

Muito obrigado edps, mas só por curiosidade, como você conseguiu instalar esse antivírus? Você leu o BUILDING ou fez como? Eu agradeceria muito se você me respondesse essa pergunta porque aprendendo a instalar pacotes de código-fonte ficaria muito mais fácil usar linux.


7. como...

Perfil removido
removido

(usa Nenhuma)

Enviado em 09/07/2010 - 18:15h


raul, o que fiz foi ler a saída de:

$ ./configure

todas as dependências são listadas. Porém mesmo tendo instalado, já no hora do make dá erro.

Por isso te passei o passo pra instalar o .deb.

Agora já pode marcar como resolvido os 3 tópicos que você abriu, não é mesmo?







8. Re: Não consigo instalar o Aegis antivírus! [RESOLVIDO]

Raul Lopes S. Grangeiro
raulgrangeiro

(usa Fedora)

Enviado em 09/07/2010 - 19:24h

Tá legal amigo, marcarei, desculpe ter chateado vocês escrevendo 3 tópicos, mas na verdade só foram 2, um deles é uma dúvida particular.

Valeu mesmo pela ajuda, desculpe qualquer coisa.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts