Responder 
 
Avaliação do Tópico:
  • 0 Votos - 0 Média
  • 1
  • 2
  • 3
  • 4
  • 5
erro ao compilar LDAP para SQUID
01/11/2007, 16:07
Resposta: #1
erro ao compilar LDAP para SQUID
preciso configurar um proxy autenticado, estou tentando usar LDAP mas quando tento compilar dar este problema ai:

servdebian:/downloads/squid-2.5.STABLE12/helpers/basic_auth/LDAP# make

source='squid_ldap_auth.c' object='squid_ldap_auth.o' libtool=no \
depfile='.deps/squid_ldap_auth.Po' tmpdepfile='.deps/squid_ldap_auth.TPo' \
depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g -O2 -Wall -c `test -f squid_ldap_auth.c || echo './'`squid_ldap_auth.c
squid_ldap_auth.c:88:18: error: lber.h: Arquivo ou diretório não encontrado
squid_ldap_auth.c:89:18: error: ldap.h: Arquivo ou diretório não encontrado
squid_ldap_auth.c:102: error: ‘LDAP_SCOPE_SUBTREE’ undeclared here (not in a function)
squid_ldap_auth.c:106: error: ‘LDAP_DEREF_NEVER’ undeclared here (not in a function)
squid_ldap_auth.c:112: error: ‘LDAP_NO_LIMIT’ undeclared here (not in a function)
squid_ldap_auth.c:119: error: expected ‘)’ before ‘*’ token
squid_ldap_auth.c:173: error: expected ‘)’ before ‘*’ token
squid_ldap_auth.c:178: error: expected ‘)’ before ‘*’ token
squid_ldap_auth.c:183: error: expected ‘)’ before ‘*’ token
squid_ldap_auth.c:191: error: expected ‘)’ before ‘*’ token
squid_ldap_auth.c:196: error: expected ‘)’ before ‘*’ token
squid_ldap_auth.c:214: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
squid_ldap_auth.c: In function ‘main’:
squid_ldap_auth.c:313: error: ‘LDAP’ undeclared (first use in this function)
squid_ldap_auth.c:313: error: (Each undeclared identifier is reported only once
squid_ldap_auth.c:313: error: for each function it appears in.)
squid_ldap_auth.c:313: error: ‘ld’ undeclared (first use in this function)
squid_ldap_auth.c:315: error: ‘LDAP_PORT’ undeclared (first use in this function)
squid_ldap_auth.c:375: error: ‘LDAP_SCOPE_BASE’ undeclared (first use in this function)
squid_ldap_auth.c:377: error: ‘LDAP_SCOPE_ONELEVEL’ undeclared (first use in this function)
squid_ldap_auth.c:405: error: ‘LDAP_DEREF_ALWAYS’ undeclared (first use in this function)
squid_ldap_auth.c:407: error: ‘LDAP_DEREF_SEARCHING’ undeclared (first use in this function)
squid_ldap_auth.c:409: error: ‘LDAP_DEREF_FINDING’ undeclared (first use in this function)
squid_ldap_auth.c:534: warning: implicit declaration of function ‘open_ldap_connection’
squid_ldap_auth.c:535: warning: implicit declaration of function ‘checkLDAP’
squid_ldap_auth.c:536: warning: implicit declaration of function ‘squid_ldap_errno’
squid_ldap_auth.c:536: error: ‘LDAP_INVALID_CREDENTIALS’ undeclared (first use in this function)
squid_ldap_auth.c:538: warning: implicit declaration of function ‘ldap_unbind’
squid_ldap_auth.c:542: warning: implicit declaration of function ‘ldap_err2string’
squid_ldap_auth.c:542: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
squid_ldap_auth.c:546: error: ‘LDAP_SUCCESS’ undeclared (first use in this function)
squid_ldap_auth.c: At top level:
squid_ldap_auth.c:588: error: expected ‘)’ before ‘*’ token
make: ** [squid_ldap_auth.o] Erro 1
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
01/01/2010, 10:00
Resposta: #2
Re: erro ao compilar LDAP para SQUID
parece que faltou o pacote de desenvolvimento http://packages.debian.org/lenny/libldap2-dev

"Na caixa dizia: Requer MS Windows ou superior, então eu instalei Debian/GNU
Linux!"

.
Antes de postar use a busca e veja o Wiki.
Busca do FD
Wiki do FD
Visitar o website do usuário Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
Responder 


Ir ao Fórum:


Usuários visualizando este tópico: 1 Visitantes

Entre em Contato | Fórum Debian | Voltar ao Topo | Voltar ao Conteúdo | Modo Leve (Arquivo) | Feeds RSS