Faz isso :
tar -zxvf squid-x.x.x.tar.gz # substitua pela sua versão do squid.
/opt/squid-x.x.x/
make clean
./configure --prefix=/usr/local/squid --with-included-ltdl
make
make install

Em 7 de novembro de 2014 10:01, Sérgio Abrantes Junior <
sergioabran...@gmail.com> escreveu:

> Bom dia pessoal,
>
> Estou instalando o squid com suporte a https.
> O pacote pré-compilado não está habilitado com o suporte.
> Para a compilação estou usando os fontes do apt-build.
> #apt-build source squid3
>
> Baixo o fonte e adiciono em rules o seguinte:
>
> --enable-ssl \
> --enable-ssl-crtd \
>
> Instalei as dependências com apt-get build-dep squid, e instalei também os
> pacotes ssl-cert e libssl-dev.
>
> Depois disso apt-build install squid3
>
> Ele gera um erro na compilação final:
>
> make[2]: Saindo do diretório `/var/cache/apt-build/build/squid3-3.1.20/lib'
> Making distclean in compat
> make[2]: Entrando no diretório
> `/var/cache/apt-build/build/squid3-3.1.20/compat'
>  rm -f testPreCompiler
> test -z "testHeaders" || rm -f testHeaders
> rm -rf .libs _libs
> test -z "libcompat.la" || rm -f libcompat.la
> rm -f "./so_locations"
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -rf ./.deps
> rm -f Makefile
> make[2]: Saindo do diretório
> `/var/cache/apt-build/build/squid3-3.1.20/compat'
> Making distclean in .
> make[2]: Entrando no diretório `/var/cache/apt-build/build/squid3-3.1.20'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> test -z "include/stamp-h include/stamp-h[0-9]*" || rm -f include/stamp-h
> include/stamp-h[0-9]*
> rm -f include/autoconf.h include/stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> make[2]: Saindo do diretório `/var/cache/apt-build/build/squid3-3.1.20'
> rm -f config.status config.cache config.log configure.lineno
> config.status.lineno
> rm -f Makefile
> make[1]: Saindo do diretório `/var/cache/apt-build/build/squid3-3.1.20'
> rm -f debian/stamp-autotools
> rmdir --ignore-fail-on-non-empty .
> rmdir: falhou em remover ".": Argumento inválido
> make: [makefile-clean] Erro 1 (ignorado)
> for i in ./libltdl/config/config.guess ./cfgaux/config.guess
> ./libltdl/config/config.sub ./cfgaux/config.sub  ; do \
>                 if test -e $i.cdbs-orig ; then \
>                         mv $i.cdbs-orig $i ; \
>                 fi ; \
>         done
> dh_clean
> rm -f debian/stamp-autotools-files
> # nothing to do
> Error while building squid3!
> Sorry, no package to install.
>
>
> Alguém consegue instalar sem erro?
> O que fizeram?
>
> Até!
>
> Sérgio Abrantes
>



-- 
Atenciosamente,
Rodrigo Silva
"Servo do Reino de Deus.
 Servo, do Rei e Líder  Jesus Cristo de Nazaré."

Responder a