[FUG-BR] Compilar squid no PFSense

bigu em grupoheringer.com.br bigu em grupoheringer.com.br
Sábado Junho 25 09:24:28 BRT 2011


Beleza, também posso fazer isso em um mesmo FreeBSD (versao e  
plataforma)? Vi algo sobre o pkg_create (criar binario), neste caso eu  
compilo o source normalmente, mas ao inves de dar uma "make install"  
eu usaria o pkg_create? Nao sei bem como funciona. Eu ja fiz isso  
muitas vezes no slackware...no free também é assim?

Abracos
Citando William David Armstrong - FUGBr <fugbr em biosystems.ath.cx>:

> Baixa o pfsense developer  instala e compila gerando os packages  
> depois de gerar os pakages vc pode usar um scp ou sftp pra copiar os  
> pakages pro seu alvo e usar o pkg_add. Fiz assim por muito tempo pra  
> por o squid +squidguard juntos nas primeiras versões do pfsense
>
>
> --
> - = - = - = - = - = - = - = - = - = -
> <----.      Of course it runs                William David Armstrong
> <----|==========================   Bio Systems Security Networking
> <----'                  FreeBSD           MSN / GT  biosystems  gmail . com
> http://biosystems.ath.cx:8080/  http://biosystems.broker.freenet6.net/
> --------------------------------------
>
> Em 24/06/2011, às 21:49, Danilo Egea <daniloegea em yahoo.com.br> escreveu:
>
>> Compila ele em um FreeBSD de mesma versão e arquitetura e depois  
>> joga ele pra lá.
>>
>> O pfSense vem bem enxuto, sem os headers e tal...
>>
>> Abraço
>>
>> Enviado por Samsung Mobile
>>
>> Fabiano Carlos Heringer <bigu em grupoheringer.com.br> escreveu:
>>
>>> Pessoal, eh possivel compilar do source alguma aplicacao no pfsense?
>>>
>>> To tentando compilar o squid que tive que alterar um .c , mas nao
>>> compila...nao tem outro jeito?
>>>
>>> Da erro direto:
>>>
>>> # ./configure
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> checking for a thread-safe mkdir -p... cfgaux/install-sh -c -d
>>> checking for gawk... no
>>> checking for mawk... no
>>> checking for nawk... nawk
>>> checking whether make sets $(MAKE)... make: not found
>>> no
>>> checking whether to enable maintainer-specific portions of Makefiles... no
>>> 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 ISO C89... unsupported
>>> checking for style of include used by make... make: not found
>>> make: not found
>>> none
>>> checking dependency style of gcc... make: not found
>>> make: not found
>>> make: not found
>>> make: not found
>>> none
>>> checking whether gcc and cc understand -c and -o together... yes
>>> checking build system type... i386-unknown-freebsd8.1
>>> checking host system type... i386-unknown-freebsd8.1
>>> checking for pkg-config... /usr/local/bin/pkg-config
>>> Store modules built: ufs
>>> Removal policies built: lru
>>> Auth scheme modules built: basic
>>> unlinkd enabled
>>> checking for egrep... -E: not found
>>> /usr/bin/egrep
>>> checking how to run the C preprocessor... /lib/cpp
>>> configure: error: C preprocessor "/lib/cpp" fails sanity check
>>> See `config.log' for more details.
>>>
>>>
>>> Abracos
>>>
>>> -------------------------
>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


Mais detalhes sobre a lista de discussão freebsd