Boa tarde srs: Estou tentando instalar o ocsinventory num servidor freebsd 6.2, no entanto não consigo compilar. Ele ainda não está no ports, então tenho q instalar na mão.
Qdo dou um ./configure surge o primeiro Warning checking sys/mount.h presence... yes configure: WARNING: sys/mount.h: present but cannot be compiled configure: WARNING: sys/mount.h: check for missing prerequisite headers? configure: WARNING: sys/mount.h: see the Autoconf documentation configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/mount.h: proceeding with the preprocessor's result configure: WARNING: sys/mount.h: in the future, the compiler will take precedence configure: WARNING: ## -------------------------------------------------- ## configure: WARNING: ## Report this to bfleisch (at) users.sourceforge.net ## configure: WARNING: ## -------------------------------------------------- ## checking for sys/mount.h... yes checking sys/param.h usability... yes Logo o make nao funciona al/include -I/usr/local/include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DFREEBSD -DBSD -g -O2 -MT agent-drives.o -MD -MP -MF ".deps/agent-drives.Tpo" -c -o agent-drives.o `test -f 'drives.c' || echo './'`drives.c; then mv -f ".deps/agent-drives.Tpo" ".deps/agent-drives.Po"; else rm -f ".deps/agent-drives.Tpo"; exit 1; fi drives.c: In function `bsd_info_drives': drives.c:139: error: syntax error before "else" drives.c:144: error: `fss' undeclared (first use in this function) drives.c:144: error: (Each undeclared identifier is reported only once drives.c:144: error: for each function it appears in.) drives.c: At top level: drives.c:152: error: syntax error before '}' token drives.c:103:1: unterminated #ifdef *** Error code 1 Stop in /root/ocs-unix-agent-0.6. *** Error code 1 Stop in /root/ocs-unix-agent-0.6. Procurei na net mais nd que solucionasse, ao q tudo indica devo compilar o mount.h, mais nem ideia de como. Um pouco sobre o ocs: O ocs é um excelente software de inventario de máquinas 1000 x superior ao cacic tanto em instalação quanto em funcionamento, recomendaria a todos aqueles que trabalhem em grandes redes e necessitem de inventário, usei por alguns meses em um servidor debian e gostei ;) http://ocsinventory.sourceforge.net/ -- Giancarlo Rubio ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd