DHCP no Debian, Não quer funcionar

73. Re: DHCP no Debian, Não quer funcionar

Buckminster
Buckminster

(usa Debian)

Enviado em 09/05/2013 - 22:53h

Você está copiando e colando no terminal?

Se estiver, não o faça, digite os comandos.

E devem estar faltando mais pacotes:
execute
apt-get install gcc make g++ gawk m4 gcc-multilib wget
aguarde instalar
apt-get install openssl*
aguarde instalar

E deixe assim:
./configure --prefix=/usr --includedir=/usr/include --datadir=/usr/share --bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var --sysconfdir=/etc/squid3 --enable-delay-pools --enable-ssl --enable-ssl-crtd --enable-linux-netfilter --enable-eui --enable-snmp --enable-gnuregex enable-default-err-languages=Portuguese --enable-removal-policies --enable-storeio --enable-snmp --enable-basic-auth-helpers="getpwnam,YP,NCSA,MSNT" --enable-external-acl-helpers="ip_user,unix_group,wbinfo_group" --enable-ntlm-auth-helpers="fakeauth,no_check" --enable-removal-policies=heap,lru --enable-auth="basic,digest,ntlm" --enable-digest-auth-helpers="password" --enable-cache-digests --enable-underscores --mandir=/usr/share/man

Ao terminar de digitar essa tripa de parâmetros, tecle enter.
E aguarde.

Depois execute make e aguarde.
Daí execute make install.


  


74. Re: DHCP no Debian, Não quer funcionar

Ronimarcos Gonçalves Silva
TioRoni

(usa Debian)

Enviado em 10/05/2013 - 12:22h

Buckminster escreveu:

Você está copiando e colando no terminal?

Se estiver, não o faça, digite os comandos.

E devem estar faltando mais pacotes:
execute
apt-get install gcc make g++ gawk m4 gcc-multilib wget
aguarde instalar
apt-get install openssl*
aguarde instalar

E deixe assim:
./configure --prefix=/usr --includedir=/usr/include --datadir=/usr/share --bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var --sysconfdir=/etc/squid3 --enable-delay-pools --enable-ssl --enable-ssl-crtd --enable-linux-netfilter --enable-eui --enable-snmp --enable-gnuregex enable-default-err-languages=Portuguese --enable-removal-policies --enable-storeio --enable-snmp --enable-basic-auth-helpers="getpwnam,YP,NCSA,MSNT" --enable-external-acl-helpers="ip_user,unix_group,wbinfo_group" --enable-ntlm-auth-helpers="fakeauth,no_check" --enable-removal-policies=heap,lru --enable-auth="basic,digest,ntlm" --enable-digest-auth-helpers="password" --enable-cache-digests --enable-underscores --mandir=/usr/share/man

Ao terminar de digitar essa tripa de parâmetros, tecle enter.
E aguarde.

Depois execute make e aguarde.
Daí execute make install.


Tem certeza que o caminho é só --prefix=/usr
ou seja, até usr mesmo?


75. Re: DHCP no Debian, Não quer funcionar

Ronimarcos Gonçalves Silva
TioRoni

(usa Debian)

Enviado em 10/05/2013 - 12:25h

TioRoni escreveu:

Buckminster escreveu:

Você está copiando e colando no terminal?

Se estiver, não o faça, digite os comandos.

E devem estar faltando mais pacotes:
execute
apt-get install gcc make g++ gawk m4 gcc-multilib wget
aguarde instalar
apt-get install openssl*
aguarde instalar

E deixe assim:
./configure --prefix=/usr --includedir=/usr/include --datadir=/usr/share --bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var --sysconfdir=/etc/squid3 --enable-delay-pools --enable-ssl --enable-ssl-crtd --enable-linux-netfilter --enable-eui --enable-snmp --enable-gnuregex enable-default-err-languages=Portuguese --enable-removal-policies --enable-storeio --enable-snmp --enable-basic-auth-helpers="getpwnam,YP,NCSA,MSNT" --enable-external-acl-helpers="ip_user,unix_group,wbinfo_group" --enable-ntlm-auth-helpers="fakeauth,no_check" --enable-removal-policies=heap,lru --enable-auth="basic,digest,ntlm" --enable-digest-auth-helpers="password" --enable-cache-digests --enable-underscores --mandir=/usr/share/man

Ao terminar de digitar essa tripa de parâmetros, tecle enter.
E aguarde.

Depois execute make e aguarde.
Daí execute make install.


Tem certeza que o caminho é só --prefix=/usr
ou seja, até usr mesmo?


outra coisa, não é mais para colocar a barra no final?


76. Re: DHCP no Debian, Não quer funcionar

Ronimarcos Gonçalves Silva
TioRoni

(usa Debian)

Enviado em 10/05/2013 - 12:59h

Fiz igual vc me falou, veja o erro no final:

root@debian:/usr/local/squid-3.3.3# ./configure --prefix=/usr/ --includedir=/usr/include --datadir=/usr/share --bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var --sysconfdir=/etc/squid3 --enable-delay-pools --enable-ssl --enable-ssl-crtd --enable-linux-netfilter --enable-eui --enable-snmp --enable-gnuregex --enable-default-err-languages=Portuguese --enable-removal-policies --enable-storeio --enable-snmp --enable-basic-auth-helpers="getpwnam,YP,NCSA,MSNT" --enable-external-acl-helpers="ip_user,unix_group,wbinfo_group" --enable-ntlm-auth-helpers="fakeauth,no_check" --enable-removal-policies=heap,lru --enable-auth="basic,digest,ntlm" --enable-digest-auth-helpers="password" --enable-cache-digests --enable-underscores --mandir=/usr/share/man
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking simplified host os... linux (version )
checking if g++ supports C++0x features without additional flags... no
checking if g++ supports C++0x features with -std=c++0x... yes
checking if g++ supports C++0x features with -std=gnu++0x... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for egrep... /bin/egrep
checking for sh... /bin/sh
checking for false... /bin/false
checking for true... /bin/true
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for ln... /bin/ln
checking for chmod... /bin/chmod
checking for tr... /usr/bin/tr
checking for rm... /bin/rm
checking for cppunit-config... false
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man
checking for ar... /usr/bin/ar
configure: strict error checking enabled: yes
checking whether to use loadable modules... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/fgrep
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... /usr/bin/ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib64 /usr/lib64
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking for library containing dlopen... (cached) -ldl
checking for dlerror... (cached) yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... (cached) no
checking what kind of compiler we're using... gcc
checking for compiler variant... gcc
configure: inlining optimizations enabled: yes
checking for atomic operations support... yes
configure: cbdata debugging enabled: no
configure: xmalloc stats display: no
checking for library containing shm_open... -lrt
checking for DiskIO modules to be enabled... AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped
checking aio.h usability... yes
checking aio.h presence... yes
checking for aio.h... yes
checking for aio_read in -lrt... yes
configure: Native POSIX AIO support detected.
configure: Enabling AIO DiskIO module
configure: Enabling Blocking DiskIO module
configure: Enabling DiskDaemon DiskIO module
checking for pthread_create in -lpthread... yes
configure: Enabling DiskThreads DiskIO module
configure: Enabling IpcIo DiskIO module
configure: Enabling Mmapped DiskIO module
configure: IO Modules built: AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped
checking for available StoreIO modules... aufs diskd rock ufs
configure: Store modules built: aufs diskd rock ufs
configure: Removal policies to build: heap lru
configure: Delay pools enabled
configure: Disabling ESI processor
checking whether to support eCAP... no, implicitly
checking for pkg-config... no
configure: Web Cache Coordination Protocol enabled: yes
configure: Web Cache Coordination V2 Protocol enabled: yes
configure: Kill parent on shutdown hack enabled: no
configure: SNMP support enabled: yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for net/if_arp.h... yes
checking for net/route.h... yes
checking for net/if_dl.h... no
checking for sys/sysctl.h... yes
configure: EUI (MAC address) controls enabled: yes
configure: HTCP support enabled: yes
configure: SSL gatewaying support enabled: yes
configure: Using OpenSSL MD5 implementation: yes
configure: Forw/Via database enabled: no
configure: Cache Digests enabled: yes
configure: Setting COSS membuf size to 1048576 bytes
configure: enabling select syscall for net I/O: auto
configure: enabling poll syscall for net I/O: auto
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking for kqueue... no
configure: enabling kqueue for net I/O: no
configure: enabling epoll syscall for net I/O: auto
checking for library containing epoll_ctl... none required
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking if epoll works... yes
configure: enabling /dev/poll for net I/O: auto
checking for ioctl... yes
checking for write... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
configure: HTTP violations support enabled: yes
configure: FreeBSD IPFW-based transparent proxying enabled: no
configure: IPF-based transparent proxying requested: no
configure: PF-based transparent proxying requested: auto
configure: Linux Netfilter support requested: yes
configure: Linux Netfilter Conntrack support requested: auto
checking for library containing nfct_query... no
checking libnetfilter_conntrack/libnetfilter_conntrack.h usability... no
checking libnetfilter_conntrack/libnetfilter_conntrack.h presence... no
checking for libnetfilter_conntrack/libnetfilter_conntrack.h... no
checking libnetfilter_conntrack/libnetfilter_conntrack_tcp.h usability... no
checking libnetfilter_conntrack/libnetfilter_conntrack_tcp.h presence... no
checking for libnetfilter_conntrack/libnetfilter_conntrack_tcp.h... no
configure: Leak Finder enabled: no
configure: Support for X-Forwarded-For enabled: yes
configure: Support for Ident lookups enabled: yes
configure: Default hosts file set to: /etc/hosts
configure: error: unrecognized argument to --enable-auth: basic,digest,ntlm
root@debian:/usr/local/squid-3.3.3#



77. Re: DHCP no Debian, Não quer funcionar

Buckminster
Buckminster

(usa Debian)

Enviado em 10/05/2013 - 16:05h

Roni,
Repita o mesmo procedimento digitando a tripa toda, sem barra, mas retire esse argumento: --enable-auth="basic,digest,ntlm"
Ele não está sendo reconhecido.

Veja a última linha do erro:
configure: error: unrecognized argument to --enable-auth: basic,digest,ntlm

unrecognized argument << argumento não reconhecido.


78. Re: DHCP no Debian, Não quer funcionar

Ronimarcos Gonçalves Silva
TioRoni

(usa Debian)

Enviado em 10/05/2013 - 16:16h

Buckminster escreveu:

Roni,
Repita o mesmo procedimento digitando a tripa toda, sem barra, mas retire esse argumento: --enable-auth="basic,digest,ntlm"
Ele não está sendo reconhecido.

Veja a última linha do erro:
configure: error: unrecognized argument to --enable-auth: basic,digest,ntlm

unrecognized argument << argumento não reconhecido.


OK, quando rodei o comando make, deu esse erro no final, prossigo assim mesmo?

-lcrypt -lssl -lcrypto -lm -lnsl -lresolv -lrt -ldl -ldl
libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -std=c++0x -g -o basic_ncsa_auth basic_ncsa_auth.o crypt_md5.o ../../../lib/.libs/libmisccontainers.a ../../../lib/.libs/libmiscencoding.a -L/usr/local/squid-3.3.3/compat -lcompat-squid -lcrypt -lssl -lcrypto -lm -lnsl -lresolv -lrt -ldl
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
make[3]: ** [basic_ncsa_auth] Erro 1
make[3]: Saindo do diretório `/usr/local/squid-3.3.3/helpers/basic_auth/NCSA'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/usr/local/squid-3.3.3/helpers/basic_auth'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/local/squid-3.3.3/helpers'
make: ** [all-recursive] Erro 1



79. Re: DHCP no Debian, Não quer funcionar

Ronimarcos Gonçalves Silva
TioRoni

(usa Debian)

Enviado em 10/05/2013 - 16:55h

Buck, o que faço?

Já estou quase desistindo...


80. Re: DHCP no Debian, Não quer funcionar

Buckminster
Buckminster

(usa Debian)

Enviado em 10/05/2013 - 17:01h

TioRoni escreveu:

Buck, o que faço?

Já estou quase desistindo...


Repita mais uma vez desde o ./configure, mas retire esse argumento: --enable-ssl-crtd


81. Re: DHCP no Debian, Não quer funcionar

Ronimarcos Gonçalves Silva
TioRoni

(usa Debian)

Enviado em 10/05/2013 - 17:09h

Buckminster escreveu:

TioRoni escreveu:

Buck, o que faço?

Já estou quase desistindo...


Repita mais uma vez desde o ./configure, mas retire esse argumento: --enable-ssl-crtd


Erro ao rodar o make, tiro esses que deu erro também?

sl -lcrypto -lm -lnsl -lresolv -lrt -ldl
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
make[3]: ** [basic_ncsa_auth] Erro 1
make[3]: Saindo do diretório `/usr/local/squid-3.3.3/helpers/basic_auth/NCSA'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/usr/local/squid-3.3.3/helpers/basic_auth'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/local/squid-3.3.3/helpers'
make: ** [all-recursive] Erro 1


82. Re: DHCP no Debian, Não quer funcionar

Buckminster
Buckminster

(usa Debian)

Enviado em 10/05/2013 - 17:12h

Retira esse: --enable-basic-auth-helpers="getpwnam,YP,NCSA,MSNT"


83. Re: DHCP no Debian, Não quer funcionar

Ronimarcos Gonçalves Silva
TioRoni

(usa Debian)

Enviado em 10/05/2013 - 17:19h

Buckminster escreveu:

Pode tirar, são argumentos adicionais.


Tirei o --enable-basic-auth-helpers="getpwnam,YP,NCSA,MSNT"
mas continuou dando o mesmo erro:

sl -lcrypto -lm -lnsl -lresolv -lrt -ldl
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
make[3]: ** [basic_ncsa_auth] Erro 1
make[3]: Saindo do diretório `/usr/local/squid-3.3.3/helpers/basic_auth/NCSA'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/usr/local/squid-3.3.3/helpers/basic_auth'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/local/squid-3.3.3/helpers'
make: ** [all-recursive] Erro 1



84. Re: DHCP no Debian, Não quer funcionar

Buckminster
Buckminster

(usa Debian)

Enviado em 10/05/2013 - 17:22h

Retira esses também:
--enable-ntlm-auth-helpers="fakeauth,no_check"

--enable-digest-auth-helpers="password"






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts