Uma solução gambiarrenta seria criar um link de /usr/include/sys para /usr/include/system, mas eu também não sei se foi algo que tu fez errado na hora do ./configure... ;)
2009/5/28 Sérgio Abrantes Junior <[email protected]>: > Adivinhem o que aconteceu quando tentei compilar o samba-vscam? heheheh > > Peguei o fonte do samba e coloquei o samba-vscam lá dentro e no ./configure > não deu nenhum erro e mostrou: > > checking for magic.h... yes > checking for magic_load in -lmagic... yes > checking whether to use filetype support... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating include/vscan-config.h > ** Configuration summary for samba-vscan 0.3.6b : > Compile samba-vscan for Samba : "3.2.5" > Compile samba-vscan with sources in: ../../../source > Compile samba-vscan backends : oav sophos fprotd fsav trend icap mksd > kavp clamav nai antivir > Use GLOBAL_LIBS : -lmagic > Use libmksd as : builtin > Use libkavdc as : builtin > Now type "make" to build all mentioned backends. > Or "make <backend> {<backend>}" to build only specific backend(s). > On *BSD systems please use GNU make (gmake) instead of BSD make (make). > > > Quando fui executar o make apresentou o seguinte erro: > > Compiling global/vscan-functions.c with -fPIC > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/includes.h:101:31: error: > system/capability.h: No such file or directory > /root/samba-3.2.5/source/include/includes.h:102:24: error: system/dir.h: No > such file or directory > /root/samba-3.2.5/source/include/includes.h:103:28: error: system/filesys.h: > No such file or directory > /root/samba-3.2.5/source/include/includes.h:104:25: error: system/glob.h: No > such file or directory > /root/samba-3.2.5/source/include/includes.h:105:26: error: system/iconv.h: > No such file or directory > /root/samba-3.2.5/source/include/includes.h:106:27: error: system/locale.h: > No such file or directory > /root/samba-3.2.5/source/include/includes.h:107:28: error: system/network.h: > No such file or directory > /root/samba-3.2.5/source/include/includes.h:108:27: error: system/passwd.h: > No such file or directory > /root/samba-3.2.5/source/include/includes.h:109:29: error: > system/readline.h: No such file or directory > /root/samba-3.2.5/source/include/includes.h:110:27: error: system/select.h: > No such file or directory > /root/samba-3.2.5/source/include/includes.h:111:26: error: system/shmem.h: > No such file or directory > /root/samba-3.2.5/source/include/includes.h:112:27: error: system/syslog.h: > No such file or directory > /root/samba-3.2.5/source/include/includes.h:113:29: error: > system/terminal.h: No such file or directory > /root/samba-3.2.5/source/include/includes.h:114:25: error: system/time.h: No > such file or directory > /root/samba-3.2.5/source/include/includes.h:115:25: error: system/wait.h: No > such file or directory > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/includes.h:304: error: expected '=', ',', > ';', 'asm' or '__attribute__' before 'volatile' > In file included from /root/samba-3.2.5/source/include/includes.h:652, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /usr/include/tdb.h:152: error: expected ';', ',' or ')' before '*' token > In file included from /root/samba-3.2.5/source/include/smb.h:598, > from /root/samba-3.2.5/source/include/includes.h:675, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/vfs.h:293: error: expected > specifier-qualifier-list before 'DIR' > In file included from /root/samba-3.2.5/source/nsswitch/winbind_client.h:1, > from /root/samba-3.2.5/source/include/includes.h:714, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/nsswitch/winbind_nss_config.h:45:28: error: > system/filesys.h: No such file or directory > /root/samba-3.2.5/source/nsswitch/winbind_nss_config.h:46:28: error: > system/network.h: No such file or directory > /root/samba-3.2.5/source/nsswitch/winbind_nss_config.h:47:27: error: > system/passwd.h: No such file or directory > In file included from /root/samba-3.2.5/source/include/includes.h:804, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/proto.h:1035: error: expected '=', ',', > ';', 'asm' or '__attribute__' before '*' token > /root/samba-3.2.5/source/include/proto.h:1036: error: expected ')' before > '*' token > /root/samba-3.2.5/source/include/proto.h:1037: error: expected ')' before > '*' token > /root/samba-3.2.5/source/include/proto.h:1038: error: expected ')' before > '*' token > /root/samba-3.2.5/source/include/proto.h:1039: error: expected ')' before > '*' token > /root/samba-3.2.5/source/include/proto.h:1040: error: expected ')' before > '*' token > /root/samba-3.2.5/source/include/proto.h:1298: error: expected ')' before > '*' token > /root/samba-3.2.5/source/include/proto.h:7720: warning: 'struct tm' declared > inside parameter list > /root/samba-3.2.5/source/include/proto.h:7720: warning: its scope is only > this definition or declaration, which is probably not what you want > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:6, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-config.h:77:1: > warning: "PACKAGE_BUGREPORT" redefined > In file included from /root/samba-3.2.5/source/lib/replace/replace.h:32, > from /root/samba-3.2.5/source/include/includes.h:28, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/config.h:2492:1: warning: this is the > location of the previous definition > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:6, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-config.h:80:1: > warning: "PACKAGE_NAME" redefined > In file included from /root/samba-3.2.5/source/lib/replace/replace.h:32, > from /root/samba-3.2.5/source/include/includes.h:28, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/config.h:2495:1: warning: this is the > location of the previous definition > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:6, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-config.h:83:1: > warning: "PACKAGE_STRING" redefined > In file included from /root/samba-3.2.5/source/lib/replace/replace.h:32, > from /root/samba-3.2.5/source/include/includes.h:28, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/config.h:2498:1: warning: this is the > location of the previous definition > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:6, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-config.h:86:1: > warning: "PACKAGE_TARNAME" redefined > In file included from /root/samba-3.2.5/source/lib/replace/replace.h:32, > from /root/samba-3.2.5/source/include/includes.h:28, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/config.h:2501:1: warning: this is the > location of the previous definition > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:6, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-config.h:89:1: > warning: "PACKAGE_VERSION" redefined > In file included from /root/samba-3.2.5/source/lib/replace/replace.h:32, > from /root/samba-3.2.5/source/include/includes.h:28, > from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:4, > from global/vscan-functions.c:15: > /root/samba-3.2.5/source/include/config.h:2504:1: warning: this is the > location of the previous definition > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:8, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-functions.h:6: > error: expected '=', ',', ';', 'asm' or '__attribute__' before 'set_boolean' > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:9, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-fileaccesslog.h:22: > error: expected specifier-qualifier-list before 'pstring' > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-fileaccesslog.h:28: > error: expected ')' before 'fname' > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-fileaccesslog.h:30: > error: expected ')' before 'fname' > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-fileaccesslog.h:31: > error: expected ')' before 'fname' > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-fileaccesslog.h:32: > error: expected ')' before 'fname' > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:12, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-filetype.h:16: > error: expected '=', ',', ';', 'asm' or '__attribute__' before > 'filetype_init' > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-filetype.h:18: > error: expected ')' before 'fname' > In file included from > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-global.h:13, > from global/vscan-functions.c:15: > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-parameter.h:77: > error: expected specifier-qualifier-list before 'BOOL' > /root/samba-3.2.5/examples/VFS/samba-vscan-0.3.6b/include/vscan-parameter.h:105: > error: expected '=', ',', ';', 'asm' or '__attribute__' before > 'do_common_parameter' > global/vscan-functions.c:89: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'set_boolean' > make: *** [global/vscan-functions.po] Error 1 > > > > Segui ins tutos do vivaolinux e procurei por algum slackbild também mas não > encontrei. > Alguma sugestão? > > Sérgio Abrantes > []'s > > 2009/5/27 Gabriel Prestes <[email protected]> >> >> Realmente, tua resposta acrescentou muito. Obrigado. >> >> Att, >> "Direi do Senhor: Ele é o meu refúgio e a minha fortaleza, o meu Deus, em >> quem confio. Não temerás os terrores da noite, nem a seta que voe de dia,nem >> peste que anda na escuridão, nem mortandade que assole ao meio-dia. Mil >> poderão cair ao teu lado, e dez mil à tua direita; mas tu não serás >> atingido. Somente com os teus olhos contemplarás, e verás a recompensa dos >> ímpios." >> _________________________________________ >> Gabriel Prestes >> >> _________________________________________ >> >> >> Fábio Gomes dos Santos escreveu: >> >> Installation Manual: >> >> Please read the INSTALL file from the package. >> >> That's all - havP fun.. >> >> >> Att: Fábio Gomes dos Santos >> >> >> >> Gabriel Prestes escreveu: >> >> >> Alguém aqui usa o HAVP integrado ao Squid? Eu tentei usar e utilizei a >> página de teste para verificar se ele iria bloquear a página e não >> identificou o vírus, entretanto o fluxo passa por ele como um squid >> parent. Segui alguns tutoriais e nada, alguém tem um para indicar? >> Att, >> "Direi do Senhor: Ele é o meu refúgio e a minha fortaleza, o meu Deus, em >> quem confio. Não temerás os terrores da noite, nem a seta que voe de dia,nem >> peste que anda na escuridão, nem mortandade que assole ao meio-dia. Mil >> poderão cair ao teu lado, e dez mil à tua direita; mas tu não serás >> atingido. Somente com os teus olhos contemplarás, e verás a recompensa dos >> ímpios." >> _________________________________________ >> Gabriel Prestes >> >> _________________________________________ >> >> >> >> Guilherme Lima escreveu: >> >> >> Cara, isso sempre depende do hardware. MAS... >> >> É meio lógico que rodar mais processos tais como Dansguardian, ClamAV >> e HAPV em parceria com o Squid gera um delayzinho ou outro. >> >> Como consultor em segurança eu aconselho o uso do conjunto acima, >> pois (vou ser redundante aqui) é de SEGURANÇA que estamos falando. >> Melhore sua máquina e implemente o "Quarteto Fantastico" acima citado >> e durma tranquilo. >> >> PS: Um bom, ou melhor excelente script de firewall eu nem preciso >> citar a importância OK? >> >> Bom trabalho! >> >> 2009/5/25 Herbert Faleiros <[email protected] >> <mailto:[email protected]>> >> >> >> On Mon 25 May 2009 17:57:57 Fábio Gomes dos Santos wrote: >> > havp http://www.server-side.de/ >> > Suporta diversos anti-virus. >> >> Alguém sabe dizer (sem estimativas, isso o site do desenvolvedor >> já dá) qual é >> o impacto dessa aplicação no desempenho do proxy? >> >> E a estabilidade? Alguém usa isso (ou já usou em algum proxy com >> o Squid >> instalado) em larga escala (pré-enterprise)? >> >> -- >> Herbert >> >> >> >> >> -- >> Guilherme de Lima Gontijo >> --------------------------------------- >> Analista de Suporte Técnico >> Consultor de Tecnologia Wireless >> >> Linux User #472210 >> >> Graduando em Redes de Comunicação - CEFET-GO >> --------------------------------------- >> Gtalk: [email protected] <mailto:[email protected]> >> aMSN: [email protected] <mailto:[email protected]> >> Skype: korosso >> >> >> >> >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ GUS-BR - Grupo de Usuários de Slackware Brasil http://www.slackwarebrasil.org/ http://groups.google.com/group/slack-users-br Antes de perguntar: http://www.istf.com.br/perguntas/ Para sair da lista envie um e-mail para: [email protected] -~----------~----~----~----~------~----~------~--~---

